1.2.5.34 ADP_MacGetRequest Function

C

void ADP_MacGetRequest (
    uint32_t attributeId,
    uint16_t attributeIndex
);

Summary

This primitive gets the value of an attribute from the MAC information base.

Description

The ADP MAC Get Request primitive allows the upper layer to get the value of an attribute from the MAC information base. The upper layer cannot access directly the MAC layer while ADP is running. Result is provided in the corresponding ADP MAC Get Confirm callback.

Parameters

ParamDescription
attributeIdThe identifier of the MAC IB attribute to read. See MAC_WRP_PIB_ATTRIBUTE
attributeIndexThe index within the table of the specified IB attribute to read

Returns

None.

Example

ADP_MacGetRequest(MAC_WRP_PIB_SHORT_ADDRESS, 0);
// Wait for MAC Get Confirm

Remarks

None.