SeaTrac Serial Command Interface Reference
Page 41
6.3.7.
CST_E (Command Status Codes)
Command Status (CST) Codes are an enumeration (or set of defined constants) that are
commonly used in Response messages sent from the beacon to indicate if a command
executed successfully, or if not, what type of error occurred. CST codes are always transmitted
as a UINT8 type.
Different Response messages may only implement a subset of the constants below, as
appropriate for their function. Further details about the status codes each CID response
provides are discussed in section 7 from page 65.
Value Symbolic
Name
Summary
General Status Codes
0x00
CST_OK
Returned if a command or operation is
completed successful without error.
0x01
CST_FAIL
Returned if a command or operation cannot
be completed.
0x03
CST_EEPROM_ERROR Returned
if
an
error occurs while reading or
writing EEPROM data.
Command Processor Status Codes
0x04
CST_CMD_PARAM_MISSING
Returned if a command message is given that
does not have enough defined fields for the
specified CID code.
0x05
CST_CMD_PARAM_INVALID Returned
if
a
data field in a message does not
contain a valid or expected value.
Firmware Programming Status Codes
0x0A
CST_PROG_FLASH_ERROR Returned
if
an error occurs while writing data
into the processors flash memory.
0x0B
CST_PROG_FIRMWARE_ERROR Returned
if firmware cannot be programmed
due to incorrect firmware credentials or
signature.
0x0C
CST_PROG_SECTION_ERROR Returned if the firmware cannot be
programmed into the specified memory
section.
0x0D
CST_PROG_LENGTH_ERROR
Returned if the firmware length is too large to
fit into the specified memory section, or not
what the current operation is expecting.
Содержание seatrac X100 Series
Страница 2: ......
Страница 6: ...SeaTrac Serial Command Interface Reference Page 6...
Страница 139: ......