Definition: This function transmits the data by doing a task post to the
RADIO_TxHandler
.
Syntax
RadioError_t RADIO_Transmit(RadioTransmitParam_t *param);
Input Parameter
Parameter Name |
Parameter Type |
Description |
---|---|---|
|
RadioTransmitParam_t |
A structure for storing the transmit parameters |
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 Transmit state is initiated |
ERR_DATA_SIZE |
Data buffer in transmit request is greater than max size (64) |
API Type – Asynchronous