SpresenseのArduinoサンプルスケッチにGNSSトラッカーのコードがあったので、手直ししたら割と簡単にUARTにログ吐き出すことが出来た。
Please specify the operation mode. 0:Run positioning. Output NMEA text. set mode : 0 ; Satellite system(GPS/GLONASS/SBAS/QZSS_L1CA/QZSS_L1S) SatelliteSystem=GPS+GLONASS+QZSS_L1CA ; Output NMEA message to UART(TRUE/FALSE) NmeaOutUart=TRUE ; Output NMEA message to file(TRUE/FALSE) NmeaOutFile=TRUE ; Output binary data to file(TRUE/FALSE) BinaryOut=FALSE ; Positioning interval sec(1-300) IntervalSec=1 ; Positioning active sec(60-300) ActiveSec=60 ; Positioning sleep sec(0-240) SleepSec=0 ; Uart debug message(NONE/ERROR/WARNING/INFO) UartDebugMessage=NONE ; EOF $GPGGA,000003.00,,,,,0,00,,,,,,,*4B $GPRMC,000004.00,V,,,,,,,,,,,,,0601-20,,,N,*7D $GPVTG,,T,,M,,N,,K,N,*00 $GPGGA,000006.00,,,,,0,00,,,,,,,*4E $GPRMC,000007.00,V,,,,,,,,,,,,,0601-20,,,N,*7E $GPVTG,,T,,M,,N,,K,N,*00 $GPGGA,000009.00,,,,,0,00,,,,,,,*41 $GPRMC,000010.00,V,,,,,,,,,,,,,0601-20,,,N,*78 $GPVTG,,T,,M,,N,,K,N,*00