u-blox ZED-F9P Interface Description - Manual
Advance Information
5.9.17.2 Port Configuration for UART
Message
UBX-CFG-PRT
Description
Port Configuration for UART
Firmware
Supported on:
•
u-blox 9 with protocol version 27
Type
Get/Set
Comment
This message is deprecated in protocol versions greater than 23.01. Use
,
instead.
See the
Legacy UBX Message Fields Reference
for the corresponding configuration item.
Several configurations can be concatenated to one input message. In this case the payload
length can be a multiple of the normal length (see the other versions of CFG-PRT). Output
messages from the module contain only one configuration unit.
Note that this message can affect baud rate and other transmission parameters. Because
there may be messages queued for transmission there may be uncertainty about which
protocol applies to such messages. In addition a message currently in transmission may be
corrupted by a protocol change. Host data reception parameters may have to be changed
to be able to receive future messages, including the acknowledge message resulting from
the CFG-PRT message.
Header
Class
ID
Length (Bytes)
Payload
Checksum
Message Structure
0xB5 0x62
0x06 0x00 20
see below
CK_A CK_B
Payload Contents:
Byte Offset
Number
Format
Scaling
Name
Unit
Description
0
U1
-
portID
-
Port Identifier Number (see Integration Manual
for valid UART port IDs)
1
U1
-
reserved1
-
2
X2
-
txReady
-
TX ready PIN configuration (see
)
4
X4
-
mode
-
A bit mask describing the UART mode (see
)
8
U4
-
baudRate
Bits/s
Baud rate in bits/second
12
X2
-
inProtoMask
-
A mask describing which input protocols are
active.
Each bit of this mask is used for a protocol.
Through that, multiple protocols can be defined
on a single port. (see
14
X2
-
outProtoMask
-
A mask describing which output protocols are
active.
Each bit of this mask is used for a protocol.
Through that, multiple protocols can be defined
on a single port. (see
16
X2
-
flags
-
Flags bit mask (see
)
18
U1[2]
-
reserved2
-
UBX-18010854 - R04
Advance Information
Page 64 of 259