I have a GPS unit which outputs serial data. I haven't been able to get it to work with tinyGPS, tinyGPS+, or the code here Arduino Playground - GPS. I have been able to manually get data which looks like this using a basic software serial read.
$GNRMC,041505.00,A,3334.77540,N,11715.41038,W,0.044,,280116,,,A7E
$GNVTG,,T,,M,0.044,N,0.082,K,A37
$GNGGA,041505.00,3334.77540,N,11715.41038,W,1,12,0.82,373.3,M,-32.6,M,,79
$GNGSA,A,3,17,30,07,13,19,28,11,15,08,,,,1.40,0.82,1.1419
$GNGSA,A,3,77,86,67,87,,,,,,,,,1.40,0.82,1.1417
$GPGSV,4,1,15,01,21,090,08,05,00,249,,07,41,108,28,08,06,039,3077
$GPGSV,4,2,15,09,05,165,14,11,29,071,16,13,43,299,29,15,10,319,2379
$GPGSV,4,3,15,17,54,193,31,19,42,196,15,28,64,334,18,30,69,073,207F
$GPGSV,4,4,15,46,49,145,,48,47,207,,51,50,162,4C
$GLGSV,2,1,08,67,18,249,21,68,16,303,,76,33,080,20,77,51,003,226F
$GLGSV,2,2,08,78,16,310,,86,28,035,15,87,63,111,22,88,30,177,*68
I would like to make it so it can recognize a string such as GNRMC and then from that row of data check for a piece of information and then send it back to me. I specifically, for the time being, would like to get the first integer "041505.00" from GNRMC or GNGGA so that I can tell the time using my GPS.
I would appreciate any help as the other parse topics I found only deal with comma part and not the $GNGGA part.