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
OpcodeRequirementSize (octets)Description
0x01M1Response Code
OpcodeRequirementSize (octets)Description
Request_OpcodeM1Request Opcode
Result_CodeM1Result Code
Response_ParameterOVariablesDependent of the Request Opcode

The Result Codes are defined in Table 4.2:

Table 4.2: The result code of OTACP response value
Result CodeDefinitionDescription
0x00SuccessResponse for successful operation.
0x01Invalid StateResponse if the requested operation is not valid in the current state of the firmware update process.
0x02Not SupportedResponse if unsupported Opcode is received.
0x03Operation FailedResponse if the requested operation failed.
0x04Invalid ParameterResponse if Parameter received does not meet the requirements of the service.
0x05Unspecified ErrorThe server has encountered an unspecified error.
0x06Reserved for future use-