15
/
49
Table 10 Configuring serial port mode
Name
Value
Command
Interfacemode port rxtype txtype resp
Example
Interfacemode COM1 auto auto on
Function
change input/output mode of serial port
Parameter description
port
the serial port number of the board,COM1 and COM2
rxtype
Receive interface mode, see Table 24
txtype
Reserve (auto)
resp
whether response commands
2.2.8
LOG
This command is to requests logs from the receiver.
If the log is synchronous, the trigger is ONTIME, if it’s asynchronous, the trigger is
ONCHANGED. The unit of period is second.
The optional parameter [hold] prevents a log from being removed when the
UNLOGALL command, with its defaults, is issued. To remove a log which was
invoked using the [hold] parameter requires the specific use of the UNLOG command.
To remove all logs that have the [hold] parameter, use the UNLOGALL command
with the held field set to 1.
Table 11 Save current configuration
Name
Value
Command
LOG [port] message [trigger [period]] [hold]
Example 1
LOG COM1 BESTPOS ONTIME 7 HOLD
Function
The above example shows BESTPOS logging to com port 1
at 7 second intervals. The [hold] parameter is set so that
logging is not disrupted by the UNLOGALL command.
Example 2
LOG COM1 BESTPOS ONCE NOHOLD
2.2.9
LOGFILE
This command is used to open and close a log file, saved on SD card. This command is only valid
for BX316 and BX316R boards.