Definition: This function writes the given value to the specified attribute.
Syntax
RadioError_t RADIO_SetAttr(RadioAttribute_t attribute, void *value);
Input Parameter
Parameter Name |
Parameter Type |
Description |
---|---|---|
attribute |
RadioAttribute_t |
Structure for attribute list. Refer to Table 1 for a list of defined attribute names. |
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 stopping the continuous transmission |
API Type – Synchronous