
78
UBX Class CFG
This class is used to configure the GPS module and output the current configuration
of the GPS module. The module will respond the ACK-ACK message if the request is
proceeded correctly and ACK-NAK message if the request is failed.
CFG – PRT (0x06 0x00)
It’s a poll request. Poll the current configuration for a specific comm. port.
Header ID Data Length Data Checksum
0xB5 0x62 0x06 0x00 1 See below CK_A CK_B
Data
Offset bytes Format Descriptions Notes
0 U1 Port number
CFG – PRT (0x06 0x00)
It’s an I/O message. As an input message, the port configurations for several ports can
be put together into one input sentence. As an output message, the message only
transmits the configuration from one specific comm. port.
Header ID Data Length Data Checksum
0xB5 0x62 0x06 0x00 N*20 See below CK_A CK_B
Data
Offset bytes Format Descriptions Notes
The following data will be repeated N times (number of comm. ports).
0+N*20 U1 Port number
1+N*20 U1 Reserved
2+N*20 U2 Reserved
4+N*20 U4 USART mode Bit mask
Bit[7:6]: character length
00 – 5 bits ; 01 – 6 bits
10 – 7 bits ; 11 – 8 bits
Bit[11:9]: parity
000 – even ; 001 – odd
10X – no ; X1X – reserved
Bit[13:12]
00 – 1 stop bit ; 01 – 1.5 stop bit