Definition: This function receives the data and stores it in the buffer
pointer space by doing a task post to the RADIO_RxHandler
.
Syntax
RadioError_t RADIO_Receive(RadioReceiveParam_t *param);
Input Parameters
Parameter Name |
Parameter Type |
Description |
---|---|---|
|
|
A structure for storing the receive parameters. |
Using RadioReceiveParam_t
, upper layers can
control time window for receive operation, indefinite receive open or receive stop.
Return Type and Values
Parameter Name |
Parameter Type |
Description |
---|---|---|
|
ENUM |
Enumerated values containing all return types from radio layer |
Return Value |
Reason |
---|---|
ERR_RADIO_BUSY |
Radio is not in IDLE state |
ERR_NONE |
Radio in IDLE state and configuring transceiver to Receive state is initiated |
ERR_INVALID_REQ |
Radio is already in Receive state |
API Type – Asynchronous