RADIO_Receive

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

Table 1. Input Parameter

Parameter Name

Parameter Type

Description

param

RadioReceiveParam_t

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

Table 2. Return Type

Parameter Name

Parameter Type

Description

RadioError_t

ENUM

Enumerated values containing all return types from radio layer

Table 3. Return Values

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