1.1.19.13 WDRV_WINC_NetIfMACAddrGet
C
WDRV_WINC_STATUS WDRV_WINC_NetIfMACAddrGet ( DRV_HANDLE handle, WDRV_WINC_NETIF_IDX ifIdx, WDRV_WINC_NETIF_INFO_HANDLER pfNetIfInfoCB )
Description
Requests the MAC address of a network interface, to be return via a callback.
Precondition
WDRV_WINC_Initialize
must have been called.
WDRV_WINC_Open
must have been called to obtain a valid handle.
Parameters
Parameters | Description |
---|---|
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 - MAC address request accepted.
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.