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
Parameters | Description |
---|---|
hMac | Handle identifying the MAC driver client |
configBuff | Pointer to a buffer to store the configuration. Can be NULL if not needed |
buffSize | Size of the supplied buffer |
pConfigSize | Address to store the number of bytes needed for the storage of the MAC configuration. Can be NULL if not needed |