How does the external keyboard work? - Windows Mobile Software Development

Hi there,
I would like to know if there's anyone outside who connected a self build keyboard to a XDA? How does the Keyboad communicate via RS232?
Does someone know something about building a converter: PS2 to RS232 ?
What kind of information does the XDA need to notice that there's a keyboard connected?
I could try to use a simple AVR-Processor programmed to convert the signals. Building the Hardware should not be the problem but understanding the data transfer protocoll is difficult.
Any datasheet out there?

Related

AT commands and PPC?

Hello All,
Is it possible to send AT commands directly to PPC and If Yes How?
Thanks & Regards,
Usha
Send AT commands from where? From the serial port of an attached computer? In that case, use the Wireless modem feature present in the latest ROMs: the Qtek 4.16.52 ROM, O2 XDA 4.17.03 or our own XDA-developers Special Edition ROM v1.1 (based on O2's 4.17.03 with lots of extras).
Hi
Do you want to have connections both through the gprs and dial-up to an isp from within your stand-alone XDA. In other words using the pocket internet explorer you want choose between GPRS and Dial-Up connection.
GPRS is expensive for large downloads and Dial-Up is expension for extended connections with low activity.
Cheers
Ian Bennetts
Thanks for the replies, but.,
Hello again,
XDA developer Peter Poelman
Yes, I want to send AT commands from the serial port of an attached computer. Will you please elaborate on the wireless modem feature(remember I am new to PPC) and how do I send AT commands such as CSIM, CRSM using Hyper Terminal to XDA?
Ian Bennetts
No Ian, I am not interested in 'having connections through the gprs and dial-up to an isp from within the stand-alone XDA'. As I have mentioned above, I am interested in talking to SIM with AT interface and want to know how its done.
Thanks & Regards,
Usha
Hmmm, talking to the SIM...
First of all: modern ROMs for the XDA come with an application installed in 'Programs' called 'Wireless Modem'. It allows you to 'disconnect' the internal phone application and talk to the modem directly from a connected PC, using either wired RS-232 or infrared. Contrary to the built-in connectivity, this seems to somehow be limited to 9600, as recently reported in another thread here.
But as far as talking to the SIM: I'm not sure whether these commands are implemented, and you'd need to figure out for yourself if the modem will do what you want. I'm not aware of anyone that has talked to the SIM through the Wireless Modem app.
Do let us know how things turn out...
At least on the SPV, I'd say that only restricted SIM commands are exposed through the RIL, which makes the complexity of the call pretty useless (ie we can't do more than what's exported in cellcore, no raw APDU exchanges) - I may be a total newbie at handsets design but I'd have expected (in my dreams) to have SIM1: being a handle to access the card reader and not some virtualization above the RIL :roll:
note that I'm not completly satisfied by this and still investigating - I'd really like a full SIM control, I can be satisfied with envelopes for the moment, but the more the better :wink:

Sipix A6 Printer Driver Update for 2003

Hello,
Has anyone been able to find an updated driver for this IR printer?
or atleast a fix! the program keep saying now, unable to open COM:1
i noticed tho, that IR port is COM:3
maybe someone can find a way to fix it?
help!
PS: Sipix no longer make these printers, and dont offer support.
i wonder if that means we can disassemble that code, in order to
keep using there obsolete product.
Have you tried unchecking beams in settings/connections/beams.
yes i did.
if i set the xda to autoreceive, it detects the printer!
but the software itself is messed up.
i strongly beleive its either the COM1/3 thingie,
or a protocol setup.
for example, this printer ONLY prints on XP if
its set to 11500 speed AND hardware handshake!
im thinkink of building a serial cable... it may not be IR printer no more, but i can still print (i hope)
no luck, anyone?

Bluetooth API?

Hey,
i want to start programming an app for my HD2 which should connect one of my bluetooth devices by starting it. I only know a bit about programming under desktop-windows. Where do I find a reference for the programmers api on WM6.5 / where can i look for the commands i need?
//Edit: The functions i found in the MSDN are for connecting - communicating - closing in this way, but i only want to connect a profile (serialport for tmc) and end.
Hope you can help. Thanks.
125
Found the 32Feet.net SDK but still i can't get the procedures i need.
Nobody with information on programming bluetooth apps?
Somebody must have down something similiar in the past or?
These?:
http://www.codeproject.com/KB/windows/BluetoothDevicesDiscovery.aspx
http://www.mobile-soft-dev.blogspot.com/2010/03/c-wrapper-for-nearby-bluetooth-devices.html
Thanks for the links. Ok that is how to enumerate the devices and i could do a connection over winsock, but still i can't find information on not really do a connection but only pair the bt device so other applications can use it afterwards. Damn
(More Information: App should be used on WIDCOMM stack to connect tmc and start navigation after that to get rid of the annoying selector window which disappears to quick)

TMC to USB Port (for Chinese GPS)

Dear All,
I would like to share my experience in this TMC project.
Recently I bought a Chinese GPS 100 unit to connect to my JVC KD AVX40
This has an av out in 320x240 and JVC has an AV in.
You can control the unit via touchpad.
It works correctly to my unit so I decided to get a TMC for this product.
This unit has One USB port which is in Host mode.
So Put a normal USB hub on it and it worked well with Pendrive and External Mouse
Next step, I got a FTDI USB to Rs232 device.
It has FTDI 232BM chip for UART connection it's very important to use chip like this , because of the windows ce driver
I've opened it and I removed chip called SP213EHCA.
In every RS232 there are 2 chips on the board. One is for USB to UART , and the second is for Uart To Rs232.
Because the every TMC receiver uses TTL communication which is working on 3.3v I need to "convert" the unit to USB to UART TTL only.
Obviously you can build a small circuit for this communication, but for myself it was easier to use this solution.
After I removed the Rs232 chip.
Datasheet Page 5 for picture of the pin outs.
You can download it from the FTDI website
The Tmc Receiver pin out is :
Pin definition:
Pin1 Vcc: 5V +- 10%
Pin2 TX: 3.3V TTL level, TMC data output.
Pin3 RX: 3.3V TTL level, receive commands.
Pin4 GND <-- It's not ground It's 5V !!!
Pin5 GND (for mini-USB only)
I soldered a mini USB mother type connector to the chip legs:
PIN2 goes to chip leg 24
PIN3 goes to chip leg 25
PIN5 goes to chip leg 17
So after this I connected the Royaltek TMC unit to my "hacked Rs232" board.
I put the "hacked rs232" to hub and I used a USB mini usb cable for power the tmc unit, so I connect the cable to hub and after that to the tmc.
After this I used this driver for windows ce 5.0
You can download it from the ftdi web site
I have to use mortscript which copy a self made reg file to the registry and copy the ftdi dll to /windows/ folder
Reg:
REGEDIT4
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\1027_24577]
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\1027_24577\Default]
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\1027_24577\Default\Default]
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\1027_24577\Default\Default\FTDI_DEVICE]
"DLL"="ftdi_ser"
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\Default\Default\255]
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\Default\Default\255\FTDI_DEVICE]
"DLL"="ftdi_ser"
[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\FTDI_DEVICE]
"Index"=dword:00000001
"InitialIndex"=dword:00000001 <--- This is for which com port to use 1...9
"Dll"="ftdi_ser"
"Prefix"="COM"
"Version"="1.0.2.11"
"ActiveSyncSetting"=dword:0003e880
"LatencyTimer"=dword:00000010
"DeviceArrayIndex"=dword:00000000
This reg file is directly uses COM PORT 1 (It was free in my device )
After this I created a very small circuit which holds the usb power for 20sec
parallely my reg and driver is installing in this time.
When I reached 20sec My Hive based Windows Registry will recognize the FTDI device and there are no pop up meassegas appear ....
IGO recognized the TMC device hardware
The reason I write this how to , because I read so many forums ,and web pages to find a solution for this , but i didn't find anything.
GNS is providing a TMC receiver for CAR PC but with a prolific based USB to UART chip, and the ARM based cpu is not understanding the driver
Ough I forget the tmc receiver what used:
Royaltek RTA-3000
Have a nince day I hope that I could help to someone
guika said:
Dear All,
Snip, snip
Have a nince day I hope that I could help to someone
Click to expand...
Click to collapse
I got the same JVC stereo, how can I unlock for multizone DVD? Thank!
If i understand it correctly that you mean, you want to unlock the dvd region limitation.
I didn't unlocked it, but the main problem, that the unlock lock status is came from the dvd FW, which is not possible to reach it, via this unit. I searched for the web, and JVC also, for some FW update. There isn't any. So from my side i say it's not possible in easy way.
I have tested this solution and since half year aho its working fine under -20 to +50 so it is a solution.
Sent from my GT-I9000 using XDA App
Compatibility
Also tested with FT2232H
This soultion is working , only bug that because of the dual uart the windows device pop up a notification for the second uart driver.
Also working.
Not working with Moxa chip.
Not working with Prolific PL-2303. ( Because the driver for the chip is not going to get open com port in wince 5 :S )
It seems that the only solution is the FTDI chip.
I've made a test with bluepanter and Wayteq and a very old Blaupunkt.
Solution is worked when I changed the usb mode to Host in wince.
It's seems for the blepanter and the wayteq it make not so much sense bacuse you could buy their original accessories.
For the blaupunkt is okay.
Also this could be okay for the 1-2 din chinese gps. Needs to be tested.
Reception improving
I had issue with the tmc reception.
So the solution is make a fm Y cable, and share the outdoor antenna to the head unit and to the tmc receiver.
After the installation, I realised that the reception was not so good, because I miss calculated with the phantom power to my roof antenna, after the phantom power installation everything went fine.
I got reception where I never had it before. TMC news downloading time improved as well.
Take care with the phantom power because it could kill the TMC receiver, use only one way adapter !
hi,
many many thanks for you thread...i had some questions...
i have bought an Dynavin DVN-MC2000 and this unit is without TMC but it have an GPS-In Mother-Usb cable...i think this goes directly to the wince5.0 system.
Where did you buy your RT-3000 and do you have the complete name of the FTDI Modul?!
Maybe we can develop a solution together i could make fotos from my open DVN-MC2000 if it helps
Maybe a ohoto would be great.
I bought the tmc unit in hungary in an avarage shop.
About ftdi i had one in my work desk. But it doesnt matter the meaing is it should any type which is supporting from the wince ftdi driver side. See ftdi web.
Sent from my GT-I9000
Hello all!!
I've been reading the post and I have to congratulate you, very interesting!
If you do not mind I'll use this thread because I want to ask you a question, I haven´t found any response in any expert forum.
I have a problem with my car radio. It is a chenese radio with GPS and TMC integrated.
From the beginning the TMC worked correctly but It had problems with the GPS. It didn´t work properly (may be the driver was wrong or it was bad installed on the WIN CE5). The provider din´t give me a solution and I found a forum in France. There someone sent me an European WIN CE 5 ROM with the GPS installed a working properly. The problem is that this guy didnt have any ROM with the TMC driver integrated and now I dont have it installed.
My actual state is: WIN CE + GPS HW (installed and working) + TMC HW (not insalled)
My question is:
How could I install the TMC in my radio WIN CE5? The HW exists but my WIN CE 5 does not have the drivers and of course the IGO can not find it.
Thank you very much!
pd: sorry about my english!!!
elmike1980 said:
Hello all!!
I've been reading the post and I have to congratulate you, very interesting!
If you do not mind I'll use this thread because I want to ask you a question, I haven´t found any response in any expert forum.
I have a problem with my car radio. It is a chenese radio with GPS and TMC integrated.
From the beginning the TMC worked correctly but It had problems with the GPS. It didn´t work properly (may be the driver was wrong or it was bad installed on the WIN CE5). The provider din´t give me a solution and I found a forum in France. There someone sent me an European WIN CE 5 ROM with the GPS installed a working properly. The problem is that this guy didnt have any ROM with the TMC driver integrated and now I dont have it installed.
My actual state is: WIN CE + GPS HW (installed and working) + TMC HW (not insalled)
My question is:
How could I install the TMC in my radio WIN CE5? The HW exists but my WIN CE 5 does not have the drivers and of course the IGO can not find it.
Thank you very much!
pd: sorry about my english!!!
Click to expand...
Click to collapse
From the first i need to know what kind of tmc chip do you have. Royaltek/GNS and after that we can get closer to the problem. Qhit the upper sokution you can put in the driver if we will figure out the chip manufacturel.
Sent from my GT-I9000
I am sure that the integrated chip is GNS tipe.
The only thing that can hapen if we install a wrong driver is that it would not work, wouldnt it?
But the other things would work good...
thank you!
elmike1980 said:
I am sure that the integrated chip is GNS tipe.
The only thing that can hapen if we install a wrong driver is that it would not work, wouldnt it?
But the other things would work good...
thank you!
Click to expand...
Click to collapse
Generally yes.
But first. You will need to do some test. I will post it later. Because right now in this days i have a lot to do. I wont forget your problem so i will post it here what to check first to start your problem solving....
Sent from my GT-I9000
thank you very much!
I will wait for your answer.
regards.
please dont forget me!!
bye!
Dony worry i wont
Sent from my GT-I9000 using XDA App
Hello Guika,
Where did you get your Chinease GPS 100? can you send me the link?
Thanks,
cjean said:
Hello Guika,
Where did you get your Chinease GPS 100? can you send me the link?
Thanks,
Click to expand...
Click to collapse
http://www.car-audio.hu/?base=items&filter=cat&type=item&catid=0&cid=141&id=714
Sent from my GT-I9000
elmike1980 said:
thank you very much!
I will wait for your answer.
regards.
Click to expand...
Click to collapse
I found something maybe from your IGO8 folder is missing one file called gpstmc.dll
Check this forum
http://www.mobilepassion.org/viewtopic.php?t=2355
I will check it.
Anyway I think that I need the driver for TMC receiver. I have the HW but it is not installed. Do you know were could I find TMC drivers for Win CE 5? with them the problem would be solved-install and the IGO would take it automatically (I had it installed the first time, but the GPS didnt work).

[Q] External GPS Transmitter - non BT

Ok so I am starting to work on creating some apps with Android. Without giving away my idea I just want to describe basically what I need just to see if it even exists or I'd have to find a way to make one.
So what I need it a GPS unit that can be remote from my handset (I'll be using my Nook Color for dev in this case). Now normally you'd say, ok just use a bluetooth one, however I need its range to be far beyond what BT would provide. so I need something that would transmit signal over maybe RF to some sort of receiver that then I can hopefully connect to the USB port (or via blutotth) on the Nook or whatever other device. I need its range to be about a mile or so. Anyone know of something that exists like this?
If I were to build the device myself I would really only need it to transmit data every time the GPS unit crosses over a specific set of coordinates. This is why how it operates dictates how I will program this thing.
Any other suggestions of how to do this or ideas on if something like this even exists?

Categories

Resources