beautypg.com

Subid wb_setuprep message format, Subid wb_loaddatacmd message format, Subid wb_loaddatarep message format – NavCom Sapphire Rev.J User Manual

Page 248: Subid wb_ chkcrccmd message format, Table 95: subid wb_setuprep format, Table 96: subid wb_loaddatacmd format, Table 97: subid wb_loaddatarep format, Table 98: subid wb_chkcrccmd format

background image

Sapphire Technical Reference Manual Rev. J

248

1.208.2.4

SubID WB_SetupRep Message Format

SubID WB_SetupRep is sent from receiver to PC. It is the reply message for WB_ SetupCmd. It
could fail if the file size exceeds the maximum filesize allowed by the receiver (50000 bytes) or if
the filename is too long (96 bytes including “A:\WEB\NCT\” or “A:\WEB\OEM”). Its format is
defined in the table below.

Table 95: SubID WB_SetupRep Format

Field

DataType

Value and Description

Function Type SubID

U08

Enum WB_ BaudRep.

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.5

SubID WB_LoadDataCmd Message Format

SubID WB_LoadDataCmd is used for sending the actual webpages content or images from PC
to receiver. Its format is defined in the table below.

Table 96: SubID WB_LoadDataCmd Format

Field

DataType

Value and Description

Function Type SubID

U08

Enum WB_LoadDataCmd.

Pass or Fail

U08

0. This field is not used for this command

Valid count

U16

Number of data bytes in the data field.

Address

U32

0, reserved

Data

U08[ ]

Webpage chunk data

1.208.2.6

SubID WB_LoadDataRep Message Format

SubID WB_LoadDataRep is sent from receiver to PC. It is the reply message for
WB_LoadDataCmd. It could fail if the number if bytes transmitted in this process exceed the
number of total bytes promised to be transmitted. Its format is defined in the table below.

Table 97: SubID WB_LoadDataRep Format

Field

DataType

Value and Description

Function Type SubID

U08

Enum WB_LoadDataRep.

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.7

SubID WB_ ChkCrcCmd Message Format

SubID WB_ ChkCrcCmd is sent from PC to receiver. It is used to tell receiver that the data
loading process has completed. The PC will generate a CRC based on the previous file loaded
and will then transmit that to the receiver. The receiver will do the same thing with the file that it
received and compare the two CRCs. Its format is defined in the table below.

Table 98: SubID WB_ChkCrcCmd Format

Field

DataType

Value and Description

Function Type SubID

U08

Enum WB_ChkCrcCmd.