I got a Garmin eTrex Vista C handheld GPS as a Christmas present. Another cool tool to add to my geeky ski stuff. So far I’ve only used it to navigate to and from a restaurant yesterday lunch time, but it seems to have lots of features that will make it useful on the mountain. The best thing about it? There’s an SDK that you can download to communicate with the device. The SDK is more of a spec and a bit of sample code that shows you how to get a handle on the USB device driver but that’s good enough for me.
As usual, the quality of the code sample is lacking, so step one was to write a controller for the USB device that actually has error handling. That’s nearly done. Step two is to start working through the spec, decoding the messages and dumping out the data flow.