MAC_DRVR_ConfigGet Function

C

size_t MAC_DRVR_ConfigGet(
    DRV_HANDLE  hMac,
    void *      configBuff,
    size_t      buffSize,
    size_t *    pConfigSize
    );

Returns

  • number of bytes copied into the supplied storage buffer

Description

This function will get the current MAC driver configuration and store it into a supplied buffer.

Remarks

None

Preconditions

  • MAC_DRVR_Initialize() should have been called.

  • MAC_DRVR_Open() should have been called to obtain a valid handle.

Parameters

ParametersDescription
hMacHandle identifying the MAC driver client
configBuffPointer to a buffer to store the configuration. Can be NULL if not needed
buffSizeSize of the supplied buffer
pConfigSizeAddress to store the number of bytes needed for the storage of the MAC configuration. Can be NULL if not needed