AKlopper
04-27-2005, 06:56 AM
In my quest to write a Garmin protocol implementation for the M5 as I did for the iQue3600 (which will just happen to function as an NMEA to Garmin protocol converter on any other PPC) I tried out the SerialCSharp sample application from the OpenNETCF Smart Device SDK. My experience was not good.
Irrespective of how large or small the chunks are that you try to read from the serial port, there seems to always be at least a 1 second delay between successvie reads, which results in data being read at a much slower rate than it is being written by the sender. This is probably the reason why WiFiFoFum lags so far behind in its GPS coordinates when used on the M5.
I don't know if this is an issue with COM2 on the M5, or with the serial port class implementation of the SDF SDK. I suspect the latter, but to prove it I am having to go back to C++, which is something I was hoping to avoid. Oh well, at least the install will be smaller...
Irrespective of how large or small the chunks are that you try to read from the serial port, there seems to always be at least a 1 second delay between successvie reads, which results in data being read at a much slower rate than it is being written by the sender. This is probably the reason why WiFiFoFum lags so far behind in its GPS coordinates when used on the M5.
I don't know if this is an issue with COM2 on the M5, or with the serial port class implementation of the SDF SDK. I suspect the latter, but to prove it I am having to go back to C++, which is something I was hoping to avoid. Oh well, at least the install will be smaller...