try to retrive data my own application.

rajiv.birari's picture

Hello Friends,

I implement GPS logger facilty in my own application using BT-Q1000x device.

I am trying to read row data  from device.Application using dot net code -

                string data = serialPort1.ReadExisting();
                string[] strArr = data.Split('$');
                for (int i = 0; i < strArr.Length; i++)
                    string strTemp = strArr[i];
                    string[] lineArr = strTemp.Split(',');
                    if (lineArr[0] == "GPGGA")

I got row data like this -



$GPRMC,101701.271,V,,,,,0.00,0.00,221209,,,N*45 etc.


Is this right data?

if it is right data then how i can got parameter from this like Latitude,Longitude and required parameter.

Please help me.



mdeweerd's picture

Hi Have a look at this C#


Have a look at this C# code sample.  The NMEA protocol specification has to be bought but there is a free description.

Where can we get your application?