Answer the question
In order to leave comments, you need to log in
Simultaneous reading of GPS data by multiple programs (Windows CE)?
Good habro-time-of-day to all!
Problem in the following:
There is a navigator on Windows CE.
And there are 2 programs that need to simultaneously read data from GPS (for example, one for navigation, the other for calculating some gps statistics, etc.)
How and with what can this be implemented?
Answer the question
In order to leave comments, you need to log in
There are two options for working with GPS: directly through the COM port and through the GPS Intermediate Driver API.
The recommended option is to use the GPS API available in CE6 , but only if it was compiled into the OS.
If not, WM5 has an implementation of a virtual COM port for GPS, which can already be shared. Whether he is in the CE - I do not know, I have never heard of it. But you can write/find a virtual COM port driver with the same functions and use it.
Usually the GPS receiver sits on the COM port, so it is possible to programmatically make an additional virtual port through the driver that repeats the data from the receiver for the second program. look for "serial port sniffer and analyzer"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question