OTA_SERVICE_Transport_CloseOta
C
bool OTA_SERVICE_Transport_CloseOta(int state)
Summary
OTA validation status update to RNBD.
Description
This function sends a message to RNBD to inform them about the outcome of the validation process. It returns a boolean value that indicates whether the validation was successful or not.
Precondition
Before invoking this function, it is essential to perform Data Validation (CRC) on the received data. This function anticipates a Validation PASS/FAIL status as a parameter.
Parameters
Param | Description |
---|---|
state | Validation PASS/FAIL |
Returns
Upon sending Validation staus to RNBD, the response message is being read. If a successful response is received, this function will return true; otherwise, it will return zero.
Example
OTA_SERVICE_Transport_CloseOta(PASS);
Remarks
None.