RADIO_GetAttr

Definition: This function gets the stored value of the specified attribute.

Syntax

RadioError_t RADIO_GetAttr(RadioAttribute_t attribute, void *value);

Input Parameter

Table 1. 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

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 stopping the continuous transmission

API Type – Synchronous