1.2.4.21 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

ParamDescription
attributeIdentifier of the Attribute to retrieve value. See DLL_IB_ATTRIBUTE Enum.
indexIndex of element in case Attribute is a table. Otherwise index must be set to '0'.
ibValuePointer 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.