rahol
Junior Member level 3
- Joined
- Sep 13, 2012
- Messages
- 31
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Location
- gujarat/india
- Activity points
- 1,484
hello everyone,
I am working on CortexM4F120H5Q controller and i went to send data ( Longitude - E/W and Latitude - N/S only) from one Controller to another via GPS. my GPS data output is in accordance to NMEA 0183 and my GPS Reciever gives output in GPGGA data format.
my output comes like in this format $--GGA,hhmmss.ss,llll.ll,a,yyyyy.yy,a,x,xx,x.x,x.x,M,x.x,M,x.x,xxxx*hh<CR><LF>.. this is just the example .
my problem is that ,i am receiving the whole data as mention above, but i only want to fetch Longitude - E/W and Latitude - N/S. so how can i extract only this particular info. from the whole data.,and i also want to stored that fetched data in particular variable.
Rx pin of GPS reciever is connected with Tx pin of controller. via UART protocol. i am getting output on GPSCockpit Terminal.
thanxs in advance
Regards
-raghu(rahol)
I am working on CortexM4F120H5Q controller and i went to send data ( Longitude - E/W and Latitude - N/S only) from one Controller to another via GPS. my GPS data output is in accordance to NMEA 0183 and my GPS Reciever gives output in GPGGA data format.
my output comes like in this format $--GGA,hhmmss.ss,llll.ll,a,yyyyy.yy,a,x,xx,x.x,x.x,M,x.x,M,x.x,xxxx*hh<CR><LF>.. this is just the example .
my problem is that ,i am receiving the whole data as mention above, but i only want to fetch Longitude - E/W and Latitude - N/S. so how can i extract only this particular info. from the whole data.,and i also want to stored that fetched data in particular variable.
Rx pin of GPS reciever is connected with Tx pin of controller. via UART protocol. i am getting output on GPSCockpit Terminal.
thanxs in advance
Regards
-raghu(rahol)