hi guyz!
im currently working in GPS based project using ARM9(AT91RM9200)..
following is d output i get from GPS receiver...
UBlox
$GPRMC,162254.00,A,3723.02837,N,12159.39853,W,0.820,188.36,110706,,,A*74
$GPVTG,188.36,T,,M,0.820,N,1.519,K,A*3F
$GPGSA,A,2,25,01,22,,,,,,,,,,2.56,2.36,1.00*02
$GPGSV,4,1,14,25,15,175,30,14,80,041,,19,38,259,14,01,52,223,18*76
$GPGSV,4,2,14,18,16,079,,11,19,312,,14,80,041,,21,04,135,25*7D
$GPGSV,4,3,14,15,27,134,18,03,25,222,,22,51,057,16,09,07,036,*79
$GPGSV,4,4,14,07,01,181,,15,25,135,*76
$GPGLL,3723.02837,N,12159.39853,W,162254.00,A,A*7C
$GPZDA,162254.00,11,07,2006,00,00*63
in the 1st line
$GPRMC,162254.00,A,3723.02837,N,12159.39853,w
i need to collect only
3723.02837
12159.39853
these latitude and longitude values....
plz tell how to extract only these two datas from the 1st whole line..
please tell that c routine alone...
Gps receiver rxd,txd pins are connected to ARm rxd,Txd
thro Portb usart1
With Thanks in Advance
Digital
im currently working in GPS based project using ARM9(AT91RM9200)..
following is d output i get from GPS receiver...
UBlox
$GPRMC,162254.00,A,3723.02837,N,12159.39853,W,0.820,188.36,110706,,,A*74
$GPVTG,188.36,T,,M,0.820,N,1.519,K,A*3F
$GPGSA,A,2,25,01,22,,,,,,,,,,2.56,2.36,1.00*02
$GPGSV,4,1,14,25,15,175,30,14,80,041,,19,38,259,14,01,52,223,18*76
$GPGSV,4,2,14,18,16,079,,11,19,312,,14,80,041,,21,04,135,25*7D
$GPGSV,4,3,14,15,27,134,18,03,25,222,,22,51,057,16,09,07,036,*79
$GPGSV,4,4,14,07,01,181,,15,25,135,*76
$GPGLL,3723.02837,N,12159.39853,W,162254.00,A,A*7C
$GPZDA,162254.00,11,07,2006,00,00*63
in the 1st line
$GPRMC,162254.00,A,3723.02837,N,12159.39853,w
i need to collect only
3723.02837
12159.39853
these latitude and longitude values....
plz tell how to extract only these two datas from the 1st whole line..
please tell that c routine alone...
Gps receiver rxd,txd pins are connected to ARm rxd,Txd
thro Portb usart1
With Thanks in Advance
Digital