1.2.5.2.5 TCPIP_MAC_ConfigGet Function

C

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

Description

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

Precondtions

The TCPIP_MAC_Initialize() function should have been called. TCPIP_MAC_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.

Returns

  • The number of bytes copied into the supplied storage buffer.

Remarks

None.