1.2.11.5 WDRV_PIC32MZW_InfoDeviceMACAddressGet Function

WDRV_PIC32MZW_STATUS WDRV_PIC32MZW_InfoDeviceMACAddressGet (

DRV_HANDLE handle,

uint8_t *const pMACAddress

)

C

Summary

Retrieves the MAC address of the PIC32MZW.

Description

Retrieves the current working MAC address.

Precondition

WDRV_PIC32MZW_Initialize should have been called. WDRV_PIC32MZW_Open should have been called to obtain a valid handle.

Parameters

Param

Description

handle

Client handle obtained by a call to WDRV_PIC32MZW_Open.

pMACAddress

Pointer to buffer to receive the MAC address.

Returns

WDRV_PIC32MZW_STATUS_OK - The information has been returned. WDRV_PIC32MZW_STATUS_NOT_OPEN - The driver instance is not open. WDRV_PIC32MZW_STATUS_INVALID_ARG - The parameters were incorrect.

Remarks

None.