1.3.10.4 WDRV_PIC32MZW_RegDomainGet Function

C

WDRV_PIC32MZW_STATUS WDRV_PIC32MZW_RegDomainGet
(
DRV_HANDLE handle,
const WDRV_PIC32MZW_REGDOMAIN_SELECT selection,
const WDRV_PIC32MZW_REGDOMAIN_CALLBACK pfRegDomCallback
)

Summary

Requests information about regulatory domains.

Description

Requests either the currently active regulatory domain or all possible regulatory domains.

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.
selectionType of regulatory domain information to retrieve.
pfRegDomCallbackPointer to callback function to receive the information.

Returns

WDRV_PIC32MZW_STATUS_OK - The request has been accepted.

WDRV_PIC32MZW_STATUS_NOT_OPEN - The driver instance is not open.

WDRV_PIC32MZW_STATUS_INVALID_ARG - The parameters were incorrect.

WDRV_PIC32MZW_STATUS_REQUEST_ERROR - The request to the PIC32MZW was rejected.

Remarks

None.