Need a Windows.CE driver developer - Windows Mobile Development and Hacking General

Hi all,
i need a special device driver that will use existing COM port and emulate another COM port and network card (i got some binary protocol on serial line which holds GPS and IP signal and i want split it in that device driver into virtual COM with NMEA and network card proving IP (Ethernet) interface or maybe another virtual COM with PPP emulation).
Have anyone got experience in such and can estimate effort of such task?
Maybe someone will be interested in a deal of developing such device driver?
Bets regards,
Chris

Look at Gpsgate, it may be what you need.
http://franson.com/gpsgate/

Thanks, it looks interesting - especially their SerialTools (with VPorts). It looks a bit clumsy with its variant datatypes (operating on binary data would be not as pleasant as with simple datatypes) but mayby i will give it a try...
Nevertheless - are there any other suggestions / propositions?

If you go to download site for gpsgate you will get the option to download many other utilities linked to the program, some are 7 day, 14 day or 28 day trials. The option comes via email.

Related

can HTC UNIVERSAL launch GPSPROXY ?.

GPSPROXY....1.15repack/1.15/1.14/1.12d
my virtual com port had set 4/7/8/10/11..at reg...
but ..when i star GPSPROXY..it said .. failed 2 configure regisstry fot virtual COM port driver....
TOOL-----SETTINGS....then ERROR...and auto close.....
how about ur UNIVERSAL?.
can u launch GPSPROXY 1.15?...
how u set ur virtual com?. COM 4 or 8?..or..?..
THX!!!
Do you really need the translation to Garmin format or do you just want to share the GPS by several apps?
(Note: WM5 is capable of sharing the GPS between multiple apps)
Ok, after quite a few months, someone must have succeeded in getting gpsproxy to work on universal.
I haven't!
http://sourceforge.net/projects/gpsproxy/
I always get "failed to load virtualcomport driver" error. Long long time ago, I somehow made it working on virtualcomport=0, but garmin que can't read this port.
Can someone help me on this?
Work perfectly for me. Use the latest version (1.16), set com4 in the first tab to connect to gps( set you gps output port to be com4 also in bluetooth app), set port 8 in the last tab(virtual com port number). Close the prog.
Fire your registry editor,
got to HKEY_LOCAL_MACHINE\drivers\RegisteredDevice and delete BTD_COM8
Soft reset with a software (not the button, or modifications will be lost, or wait 10 minutes before reseting)
Launch gpsproxy again
You sould now see COM8: GPSProxy Virtual com port. If you see Com8:? it will not work. Set com8 in application tab, set your GPS Unit ID and get the best unit you can think of (except it doesn't have integrated gps).
If your gps was set on com8, invert the com 4 and 8 from my instructions.
also note that the gps must be on and in range when you launch the proxy or it will not work (error 55)
Wow man, thanks a lot! After three months, I finally got it working!
Although, I often get "failed to load virtual com port ...", but it seems that soft reset helps.
Thanks again, I owe you one :wink:
You are are the same place than other PDA. The writer of gpsproxy is thinking about a full rewrite to solve this. You will get this error if you turn off the pda without turning off the proxy.
Yeah, I'm following the progress of gpsproxy and version 2.0. I read the whole thread on bargainpda site, but didn't find good solution for my problem. Well, you solved it.
About the error, I close program correctly. First stop and then exit.

Serial RS232 over BT

Hi fellow Xda-devs,
I'm a software engineer.
I do alot with honda ecu software. This goes for programming and datalogging. The problem is honda talks TTL. I have an ttl->usb and ttl->db9 serial.
I really wanna use my app i created for pocket pc. I'm gonna buy a wizard now, i had an qtek s100 first. Both don't support serial port nor usb host stuff. I use a pl-2003 chip for usb->ttl. Which has a pocket pc driver.
I'm think of buying a BT->serial. So i will use BT->Serial->TTL.
This is a link i have found.
http://cgi.ebay.com/100m-Class1-Blu...ryZ44999QQssPageNameZWD1VQQrdZ1QQcmdZViewItem
Please give advice/comments if it will work
CJ
Found a pretty nice device.
RF-BlueSMiRF
http://www.sparkfun.com/shop/index.php?shop=1&cart=564160&cat=1&itemid=400&
BlueTooth to RS232 adapter - Help with strange requirements.
I have also been looking for a bluetooth RS232 device. All of the devices I have found meet my basic requirements. Though, a couple of applications that I planning to develop, provide me with a couple of out of the ordinary requirements:
1) I own a MAS-TECH multimeter which has an RS232 connection for logging reading on a PC. The connection operates at 600 baud (600,n,7,2). All the bluetooth devices I have found only go down to 2400 baud.
2) I also need the device to support baud rate changes on the fly. I would like the AT+IPR baud rate command to change the baud rate of the bluetooth device, once the command has been sent to the destination device. All the bluetooth devices I have found support a range of baud rates, but can only be configured using specific commands or via an application. The worst case I have found is that the device requires a reboot following reconfiguration.
Does anybody know of such a device?
Anybody have any suggestions?

Need some USB HOST driver dev help

I have a problem that I hope some of the code gurus here can help me with. I have an HTC PDA that was codenamed Colorado. The Colorado is actually the Dell Axim X50 series. I have a thread on Aximsite http://www.aximsite.com/boards/showthread.php?t=140071 where I am trying to add a USB host hardware interface to the PDA. I have done quite a bit of hardware reverse engineering of the X50v device (I'm a old-time hardware hacker) and have been able to bring out the PXA270 USB host port1 interface to the outside world via two unused pins on the sync connector.
I originally noticed that the X50v A02 ROM had the OHCI driver included, so I rolled back to that release on my test PDA and have been attempting to get the interface operational. In my quest, I have determined that I need the usbd.dll driver as well as any client device drivers for HID, mass storage, etc.
I've used a number of the great utilities I've found on this site (thank you very much) to grab a copy of the Axim ROM and pull it apart. I consider myself great at working on hardware but my software skills have become rusty over the years (hey - I started by building this system a 'few' years ago: http://www.sol20.org/ )
What do I need?
I would appreciate getting some guidance on how to dissassemble the ohci.dll module so I can see if in fact, it was designed for the X50 or if it was left in by accident by HTC as the later ROM updates for the X50 series had the ohci.dll module replcaed with one named peripheral.dll which was about 1/5th the size.
Also, I'm wondering if either the ohci or usbd drivers require the irq and/or the membase of the PXA270 USB host port1 interface and if so, how do I determine those.
My original idea was to use a simple 2 port hub to bring out the interface. Unfortunately, I recently discovered that a hub requires a hub client driver. Because of that, I will settle on getting a USB flash memory key to interface directly as the drivers are already available. One of the problems I have is interfacing the 3v USB host lines on the PDA to the 5v data signals that may be present on the client device. The PXA270 USB host lines are already terminated on the PCB with 15K resistors. All that is needed is a transient protection chip and/or port driver chip.
I have installed the free Microsoft WinCE dev environments which I thought contained the source for the generic ohci driver, but I can't find it anywhere so I guessing it's not included in the free dev s/w.
Although this is only my 2nd post here, I do hope to be able to contribute technical information going forward. What I'm doing on the Aximsite is quite advanced as far as hardware hacking goes and I hope to be able to simplify it so a few others can 'play'.
Thanks in advance for any help and I wish everyone here a great New Year!
Wow. Well this is a bit over my head, but does sound great.
I will try pointing you toward a couple of useful tools:
1st is IDA probably the most powerful disassembler for ARM code. The free evaluation works fine, but won't save and closes about every 30 min. Still should do the trick if you just want to look at the code.
2nd to get sample driver code, you need Platform Builder. Not sure if that is what you downloaded, but try the provided link. Evaluation version contains all the source code MS is willing to give, it just has some limitations on ROM compilation (which you should not care about).
The only problem is, it's a real b*** to install. Takes hours even if you have a goo internet connection.
Hope this helps.
Thanks for the quick reply.
Do you know if there is anyone who knows a little on how the low level device drivers actually interact with the hardware ports?
Also, I assume that with just the ohci and usbd drivers, if the port is actually activated by pulling one of the data lines high, I should get the popup box asking for the name of the device driver. correct?
how to determine I/O base offset?
In trying to reverse engineer the ohci driver for a couple for the HTC units, I need to figure out where the I/O register base starts.
Are there any memory dump utils, like dumprom, that would indicate that?
I've installed platform builder and want to try compiling the standard ohci driver, but I need to know how to determine the start of the I/O registers on a given WM2003SE platform.
Any assistance would be greatly appreciated.
thanks

Controller for TIACXWLN

Hello all.
Experimental version of custom mode controller for TIACXWLN built-in adapters
is located at http://winm-soft.atspace.com
Who is interested may test it...
Hello AlexB.
I was trying to run your program on hermes with WM6 which according to wiki is equipped with TI chipset, I found references in registry to TIACXWLN drivers but unfortunately your custom mode controller don't want to work all I've got is "Cannot process memory block!........" after choosing yes "Cannot read configuration! It is possible device is off." but the wlan device is actually on. I'll send you my *.dmp files maybe you can manage to make it work on hermes.
I had been toying around with the custom mode driver and have had little success thus far. Another thread was started and I have since taken great interest in trying to achieve promiscuous packet sniffing on my Tytn. I believe the problem may lie within either the custom driver, tiacxwln.dll or the hardware itself.
A little more information...
Mode controller works (attempt) directly with adapter (ACX100, PCMCIA!!!), not with the driver (standard, not patched). Program extracts an address of adapter registers window from TIACXWLN driver (TIACXWLN1 device object) and next it enables some packet filters, executes commands and etc...
I have no new ideas now why it works badly on such built-in adapter (device process commands with success status)...
On Dell I receive all packets but sometimes only...
Alex is it possible for you to patch internal driver to use promiscuous mode and don't bother with custom controller?
The custom mode controller is probably the best way to go about activating promiscuous scanning, since it's affect can be made temporary. If this mode of packet scanning were always enabled, I believe it would not allow one to associate with an access point.
I've attached the dump files that were generated after the unsuccessful execution of tiacxwln_ctrl.. perhaps the author or someone else can derive a solution .
Hi, Alex.
I was looking for your tiacxwln_ctrl custom controller on your web site, http://winm-soft.atspace.com/ but I could only find TNETWLN and WCF-11 files. Has it been moved, or deleted? I'd like to try it on my HTC 8525 with WM6.
Walt
I've received a private request for the file that AlexB developed and had posted on his site winm-soft (it's no longer available) which is mentioned above.. it will not enable promiscuous scanning on the Hermes. I repeat, it is broken, it does not work. AlexB did a great job creating this hack, however I don't believe that it was ever intended to work with the 8525. If AlexB would be so kind as to provide his source then perhaps we would have a decent starting point to enable this feature, however anyone who would be interested in doing this would find 3 perhaps not so obvious hurdles.
1: The TIACXWLN.DLL driver needs to be hacked to enable monitor mode.
2: A program capable of capturing and storing .pcap files would be necessary at this point as the only program that I'm aware of capable of sniffing out weak keys is airsnort which only accepts pcap dumps.
3: The pcap file would be huge. ie - could quite possibly take up 1gb or more of a micro sd card.
Just my $.02. Comments are welcome. Now onto the file. Enjoy!
Hi everybody,
The TIACXWLN controller was developed (beta/gamma...) for Dell X51 PDA and program worked bad and it is discarded! That program got some pointers (parameters) from context parameters of standard tiacxwln driver... Standard driver in Dell and driver in HTCs are different... Some experience of controller development was used to make TNETWLN controller (also TexasInstr adapter)... All controllers try to enable only promiscuous mode (not monitor mode).
As yet there are no TIACXWLN promiscuous mode ideas and devices...
Now some ideas for TNETW1251 (with SDIO) exist.
Thanks for the clarification.
Alex, I don't understand your reluctance to release source code, unless you based it upon "inside knowledge" of someone's copyrighted code, in which case I understand completely. If (and I fit into this category myself from time to time) you are simply embarrassed by code that "worked bad and it is discarded!" then maybe you could release it to a small group of coders who would be able to make it work without a lot of public exposure.
My personal interest is simple. I have a Zaurus C3200 that I use to sniff out rogue access points on the networks I am responsible for. It's big and clunky, and only works on 802.11b networks, so I don't carry it all the time, whereas I *always* have my 8525 with me, and it will work on b/g.
As far as WEP cracking goes, with ARP injection you can get aircrack to find a key with files of around 1-2MB in size, so the pcap files would not be too big. Of course, as I understand it, you *would* need monitor mode for packet injection to work.
IMHO this is a valuable development work that should continue. I just wish I had the skills and time to do more myself!
Walt
About sources
Main idea of contollers is working in special modes in parallel with vendor driver/software (without patching and etc.). All information, command structures and register constants was extracted from: http://acx100.sourceforge.net/
Who is intersted in building of new TIACXWLN driver should analize these sources. There are many commands and constants in these sources but controller used only Packet Filter command. All that the controller needed was address of mapped window of registers (it was stored in vendor driver context)... TIACXWLN adapter on Dell X51v processed these asynchronous commands with success (by response) but vendor driver was as post-processor any commands...
Commands are used by controller (details see in Linux driver (acx_struct.h)):
1) ACX1xx_CMD_INTERROGATE (IE_RXCONFIG)
2) ACX1xx_CMD_CONFIGURE (IE_RXCONFIG, RX_CFG1_RCV_PROMISCUOUS)
...
Hi, thanks to Lancealot for upload this file.
I install this controll driver in my HTC Universal (Universal have Wi-Fi chip from same corporation as TyTN: tiacxwln).
But this controll utility is not work on my UNiversal :-(
That setings promiscous mode, so Universal is freezed :-(
Anybody have any ideas ?
* Please excusive my for my bad english, thanks.
Hi Alex
I hv Sedna and have the discvussed Wi Fi driver..My problem is that it connects to wi fi router (g) but I cannot surf..most of the times I have to on/off and it works, but after long periods it disconnects.I hope this will solve the problem, also if u can suggest any guidance,I will b greatful
AlexB does your sniffer allow you to capture wifi traffic in all channels?
Hi,
Sniffer captures "adapter driver <-> protocols stack" packets...
Standard driver of WiFi adapter returns packets only after connecting to some network therefore sniffer gets traffic from one network on some channel... In promiscuous mode adapter gives user packets with foreign destination address.

Serial Port for Athena t-mobile ameo

I cant find a pinout for the 16pin plug and was wondering where I can find it, but I dont think that would help me anyway.
I have a requirement for a Standard Serial port (RS232 type not USB).
Does anyone have any experience/advice on how to do this?
Do USB to serial adapters work?
Is there a mini SD to Serial port that anyone makes?
Any other ideas?
Thanks in advance
Jon
Have a look at something like this http://www.roalan.com/Bluetooth Wireless Serial RS232 Converter.htm you will have to code your own application for the phone to make use of it, I have used a similar device with my Athena - Mike
Thanks,
I am trying to avoid a wireless conection. What I am trying to do is use the Athena as a moving map for a glider. To do this I need to make use of an external GPS NMEA source. The software I am using works fine on a pda that has a std com port, I am hoping for a 'quick fix' to try it on the athena.
will this work, I havent looked for drivers yet tho!
http://www.roalan.com/USB to Serial RS232 RS422 RS485 Converter.htm
Cheers
Jon
I have to ask the obvious question though, why not use the internal GPS receiver in the phone? - if the application software you have isn't capable of switching the internal GPS on (some struggle with this) use Fransons GPS Gate to activate the inbuilt receiver and configure the ports, I would expect the inbuilt GPS to work quite well in a glider to be honest, and it does output NMEA data - what mapping application are you trying to use?
USB / RS232 converters are not the way forwards though, the mini USB port on the device is not a true USB port, it will not work with this sort of hardware, even if it did the converters generally don't work well as they don't use standard RS232 voltage levels - Mike
A good question. The external NMEA source contains additional sentances for things like accurate air speed and vertical speed that comes from a flight computer making measurements of the air. This is used for some of the calculations on the PDA. The software I will probably use is called SeeYou http://www.naviter.si/products/seeyou-mobile.php. There are several others, but this seems to work best in Landscape which is how I want it.
The internal GPS works fine with the software just to give map position.
I have managed to get it working by emulating a NMEA output over Bluetooth from a PC. I will try something like the Bluetooth to serial adapter and see what happens!
Cheers
Jon

Categories

Resources