u-blox ZED-F9P Interface Description - Manual
Advance Information
5.11 UBX-LOG (0x21)
Logging Messages: i.e. Log creation, deletion, info and retrieval.
Messages in the LOG class are used to configure and report status information of the logging and batching
features.
5.11.1 UBX-LOG-CREATE (0x21 0x07)
5.11.1.1 Create Log File
Message
UBX-LOG-CREATE
Description
Create Log File
Firmware
Supported on:
• u-blox 9 with protocol version 27
Type
Command
Comment
This message is used to create an initial logging file and activate the logging subsystem.
UBX-ACK-ACK or UBX-ACK-NAK are returned to indicate success or failure.
This message does not handle activation of recording or filtering of log entries (see UBX-
CFG-LOGFILTER).
Header Class ID Length (Bytes) Payload Checksum
Message Structure
0xB5 0x62 0x21 0x07 8
see below
CK_A CK_B
Payload Contents:
Byte Offset Number
Format
Scaling Name Unit Description
0 U1 - version - The version of this message. Set to 0
1 X1 - logCfg - Config flags (see graphic below)
2 U1 - reserved1 - Reserved
3 U1 - logSize - Indicates the size of the log:
0 (maximum safe size): Ensures that logging will
not be interrupted and enough space will be left
available for all other uses of the filestore
1 (minimum size):
2 (user defined): See 'userDefinedSize' below
4 U4 - userDefinedSi
ze
bytes Sets the maximum amount of space in the
filestore that can be used by the logging task.
This field is only applicable if logSize is set to
user defined.
Bitfield logCfg
This graphic explains the bits of logCfg
UBX-18010854 - R04 Advance Information Page 93 of 259