Creates SIRF propertiary NMEA input message PSRF103
The PSRF103 message incl. checksum and CR, LF
The message PSRF103 sent to the serial port of the SIRF GPS chip controls if and how frequent the NMEA messages GGA, GLL, GSA, GSV, RMC and VTG have to be sent. The format of the message:
$PSRF103,msg,mode,rate,cksumEnable*Checksum\r\nMsg is 0 for GGA, 1 for GLL, 2 for GSA, 3 for GSV, 4 for RMC and 5 for VTG. Mode is 0 for set and 1 for query. Rate the freuqnecy of the message generation in Hz. CksumEnable is 0 fr disabling the checksum generation and 1 for enabling it. Checksum is the nmea checkus as computed in Utils.nmeaChksum(). Examples of PSRF103 messages:
$PSRF103,00,01,00,01*25\r\nquery GGA message with checksum enabled.
$PSRF103,05,00,01,01*20\r\nenable VTG message for 1Hz with checksum enabled. Based on "GPS Protocol Reference Manual", P/N: 980-0330-A, Rev. 1.30, Sectron, http://gpsd.berlios.de/vendor-docs/sirf/
Utils Class | serial Namespace