PDA

View Full Version : TomTom Bluetooth GPS Serial Port Programming - .Net CF 2.0


EssAitch
9th November 2006, 09:39 AM
Hi all,

I'm writing an app for the PocketPC platform which needs to communicate with a TomTom bluetooth GPS receiver over the serial (com) port.

Support for serial port comms is good in .Net 2.0 and I can find examples of how to parse the NMEA data. Where I am really in the dark, though, is in how to make the initial connection to the GPS device. Some obvious initial questions are:-

1. How do I discover (at runtime, since I imagine this could change) which com port the TomTom GPS device is using?

2. What comm settings, baud rate, parity, handshaking etc. will I need to use?

3. Once the communication is open, will I need to write anything to the port to initiate a conversation or will I start to get streamed data straight away?

4. Am I right in assuming that the data will be in a standard format (NMEA?) by default?

Any help and advice you could give me would be very much appreciated.

Best regards,




Simon Hudson