1.3.12.5 WDRV_PIC32MZW_InfoDeviceMACAddressGet Function

C

WDRV_PIC32MZW_STATUS WDRV_PIC32MZW_InfoDeviceMACAddressGet
(
DRV_HANDLE handle,
uint8_t *const pMACAddress
)

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

ParamDescription
handleClient handle obtained by a call to WDRV_PIC32MZW_Open.
pMACAddressPointer 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.