2.4.4.1 Response Code operation

The Response Code operation is used by server to notify the result of operation issued from client.

The OTACP Response Code is variable length and the format is defined in Table 4.1.

Table 4.1: Response Code operation format
Opcode Requirement Size (octets) Description
0x01 M 1 Response Code
Opcode Requirement Size (octets) Description
Request_Opcode M 1 Request Opcode
Result_Code M 1 Result Code
Response_Parameter O Variables Dependent of the Request Opcode

The Result Codes are defined in Table 4.2:

Table 4.2: The result code of OTACP response value
Result Code Definition Description
0x00 Success Response for successful operation.
0x01 Invalid State Response if the requested operation is not valid in the current state of the firmware update process.
0x02 Not Supported Response if unsupported Opcode is received.
0x03 Operation Failed Response if the requested operation failed.
0x04 Invalid Parameter Response if Parameter received does not meet the requirements of the service.
0x05 Unspecified Error The server has encountered an unspecified error.
0x06 Reserved for future use -