OTA_SERVICE_Transport_RspRecv

C

uint32_t OTA_SERVICE_Transport_RspRecv(void* handle, char* buf, uint32_t bufSize)

Summary

Read command response back.

Description

This function is used to read the response of RNBD for the command issued from host side.

Precondition

None.

Parameters

ParamDescription
handleTransport handle
bufExpected response Buffer pointer
bufSizeResponse buffer data size

Returns

If we successfully receive the expected response message, the size of the message will be returned. However, in the event that we do not, the return value will be zero.

Remarks

None.