Basically you get the total string into a buffer and use code to extract
what is if interest. I presume the nema spec, better yet part spec, has
the string format. The using string library functions like search, copy,
etc.. pull out the data, still in ASCII, and then use the math conversion
functions to convert ASCII string of a number, like sprintf(), to the equivalent
numeric integer. Time strings, date strings, a little more complicated if delimiting
chars, like ":" are in the string, then bit banging code to pull out the hours,
mins, secs will be needed.
I'm a bit of a noob when it comes to C, how would I get the data into a buffer?
i assume the GPS part has a SPI or I2C or UART interface, so you send a command
to do a read, and read the bytes that form the string into an array.
Start with example project in Creator, start page, link "Find Example project",
to see representative code for doing various serial links as mentioned prior.
You can also google the chip part number and "driver" or "C Code" to see if there
is example code out on the web. It may be for another processor but serial links
are standard interfaces.
If new to C go to youtube or google lessons...., there is tons of resources out
on the web.