Function type, Pass or fail, Valid count – NavCom Sapphire Rev.J User Manual
Page 246: Address, Data

Sapphire Technical Reference Manual Rev. J
246
1.208.1.1
Function Type
Function Type provides a Function/SubID of the command. The following function type subIDs
are defined as enum: (Enums ending with “Cmd” are commands sent from the PC to the
receiver. Enums ending with
“Rep” are replies sent from the receiver to the PC).
Table 91: WEBLOADB Message Function SubID Enum Definition
Value
Enum Name
1
WB_PingCmd
2
WB_PingRep
3
WB_SetupCmd
4
WB_SetupRep
5
WB_LoadDataCmd
6
WB_LoadDataRep
7
WB_ChkCrcCmd
8
WB_ChkCrcRep
9
WB_WriteFCmd
10
WB_WriteFRep
11
WB_EnumLast
1.208.1.2
Pass or Fail
For reply messages, this field indicates if the previous command passed or failed.
For command messages, this field is either not used.
1.208.1.3
Valid Count
This field indicates how many bytes in the data field are valid. However it indicates the size of
the file that is being transferred when sending the file header info from the PC to the receiver in
WB_SetupCmd.
1.208.1.4
Address
Not used, reserved for future use.
1.208.1.5
Data
In WB_LoadDataCmd message, this field contains the data. It has other meanings in other
subID messages. The maximum size of this field is 2048 bytes. If loading through the Ethernet
port using UDP, the maximum size should be less than 1400 bytes. For all the responses from
the receiver to the PC, this field will be left 0 for all passed acknowledgement. However it will be
a null terminated string that specifies the error that occurred in the process.