Subid nb_baudrep message format, Subid nb_setupcmd message format, Table 42: subid nb_baudcmd format – NavCom Sapphire Rev.J User Manual

Page 74: Table 43: subid nb_baudrep format, Table 44: subid nb_setupcmd format, Table 42)

Advertising
background image

Sapphire Technical Reference Manual Rev. J

74

Table 42: SubID NB_BaudCmd Format

Field

Data

Type

Value and Description

Function Type SubID

U08

Enum NB_BaudCmd.

Pass or Fail

U08

0. This field is not used for this command

Valid count

U16

0. There is no data following the address field

Address

U32

Baud rate PC commands the receiver to change to. The supported
baud rates are: 1200, 2400, 4800, 9600, 19200, 38400, 57600,
115200

1.20.2.4 SubID NB_BaudRep Message Format

SubID NB_ BaudRep is sent from receiver to PC. It is the reply message for
NB_BaudCmd. Its format is defined in Table 43.

Table 43: SubID NB_BaudRep Format

Field

Data

Type

Value and Description

Function Type SubID

U08

Enum NB_ BaudRep.

Pass or Fail

U08

1= pass, 0 = fail.

Valid count

U16

0. There is no data following the address field

Address

U32

If pass, this field is 0.

If fail, this field contains error code Err_InvalidBaud.

The receiver sends out this reply at the original baud rate, then changes the port baud
rate to the value specified in the NB_BaudCmd command.

The PC changes its baud rate after it receives this reply from the receiver. It is
recommended that the PC wait for 10 to100ms before it sends the next command to
allow both the receiver and PC to finish changing baud rate.

1.20.2.5 SubID NB_SetupCmd Message Format

SubID NB_SetupCmd is sent from PC to receiver. It is used for the PC to specify the
minimum and maximum address of the data to be loaded (see Table 44 for the message
format).

Table 44: SubID NB_SetupCmd Format

Field

Data

Type

Value and Description

Function Type SubID

U08

Enum NB_SetupCmd.

Pass or Fail

U08

0. This field is not used for this command

Valid count

U16

4. This is the data size following the address field (in bytes)

Address

U32

Minimum address of the software image data to be loaded

Data

U32

Maximum address of the software image data to be loaded


Advertising