1.1.12.2 WDRV_WINC_NetIfMACAddrGet
Function
WDRV_WINC_STATUS WDRV_WINC_NetIfMACAddrGet ( DRV_HANDLE handle, WDRV_WINC_NETIF_IDX ifIdx, WDRV_WINC_NETIF_INFO_HANDLER pfNetIfInfoCB )
Summary
Get the MAC address of a network interface.
Description
Requests the MAC address of a network interface, to be return via a callback.
Precondition
WDRV_WINC_Initialize should have been called. WDRV_WINC_Open should have been called to obtain a valid handle.
Parameters
handle - Client handle obtained by a call to WDRV_WINC_Open.
ifIdx - Interface index.
pfNetIfInfoCB - Pointer to callback function to receive MAC address.
Returns
WDRV_WINC_STATUS_OK - Callback registered.
WDRV_WINC_STATUS_NOT_OPEN - The driver instance is not open.
WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.
WDRV_WINC_STATUS_REQUEST_ERROR - The request to the WINC was rejected.
WDRV_WINC_STATUS_RETRY_REQUEST - Another request is pending, retry.
Remarks
None.