beautypg.com

Subid wb_chkcrcrep message format, Subid wb_writecmd message format, Subid wb_writerep message format – NavCom Sapphire Rev.J User Manual

Page 249: Table 99: subid wb_chkcrcrep message format, Table 100: subid wb_writecmd format, Table 101: subid wb_writerep format

background image

Sapphire Technical Reference Manual Rev. J

249

Pass or Fail

U08

0. This field is not used for this command

Valid count

U16

0 or length of error string

Address

U32

0, reserved

Data

U08[ ]

The 2 byte CRC of the file

1.208.2.8

SubID WB_ChkCrcRep Message Format

SubID WB_ChkCrcRep is sent from receiver to PC. It is the reply message for
WB_ChkCrcCmd. This could fail if the CRC does not match, or if the total length of data
transmitted does not equal the promised length. Its format is defined in the table below.

Table 99: SubID WB_ChkCrcRep Message Format

Field

DataType

Value and Description

Function Type SubID

U08

Enum WB_ChkCrcRep.

Pass or Fail

U08

1= pass, 0 = fail.

Valid count

U16

0 or length of error string

Address

U32

0, reserved

Data

U08[ ]

0 or error string

1.208.2.9

SubID WB_WriteCmd Message Format

SubID WB_WriteCmd is sent from PC to receiver. This is sent once all the files have been
loaded and transferred successfully to the receiver. It tells the receiver to start writing the files
into the storage device and if successful, reboot the receiver. Its format is defined in the table
below.

Table 100: SubID WB_WriteCmd Format

Field

DataType

Value and Description

Function Type SubID

U08

Enum WB_WriteCmd.

Pass or Fail

U08

0. This field is not used for this command

Valid count

U16

0

Address

U32

0, reserved

Data

U08[ ]

0 or error string

1.208.2.10

SubID WB_WriteRep Message Format

SubID WB_WriteFRep is sent from receiver to PC. It tells the receiver if the webpages were
written properly to the storage device. If it is a pass, then the receiver will reboot. Its format is
defined in the table below.

Table 101: SubID WB_WriteRep Format

Field

DataType

Value and Description

Function Type SubID

U08

Enum WB_WriteRep.

Pass or Fail

U08

1= pass, 0 = fail.

Valid count

U16

0 or length of error string

Address

U32

0, reserved

Data

U08[ ]

0 or error string