1.2.4.22 DLL_GetRequest Function
C
DLL_RESULT DLL_GetRequest (
DLL_IB_ATTRIBUTE attribute,
uint16_t index,
DLL_IB_VALUE *ibValue
);
Summary
The DLL_GetRequest primitive gets the value of an attribute in the DLL layer Parameter Information Base (IB).
Description
GetRequest primitive is used to get the value of an IB.
Result is provided upon function call return, in the ibValue parameter.
Parameters
| Param | Description |
|---|---|
|
attribute |
Identifier of the Attribute to retrieve value. See DLL_IB_ATTRIBUTE Enum |
|
index |
Index of element in case Attribute is a table. Otherwise index must be set to '0' |
|
ibValue |
Pointer to DLL_IB_VALUE object where value will be returned. See DLL_IB_VALUE Struct |
Returns
Result of get operation as a DLL_RESULT Enum.
Example
DLL_RESULT result;
DLL_IB_VALUE value;
result = DLL_GetRequest(MAC_ADDITIONAL_DELAY_US_IB, 0, &value);
if (result == DLL_RESULT_SUCCESS)
{
/* Read value */
}
Remarks
None.
