1.1.20.11 WDRV_WINC_REGDOMAIN_CALLBACK
Function
Summary
Pointer to a regulatory domain callback.
Description
This defines a function pointer to a regulatory domain callback which will receive information about a single domain.
Parameters
handle - Client handle obtained by a call to WDRV_WINC_Open.
index - Index with a grouping of regulatory domains.
ofTotal - Total number of domain within a grouping.
isCurrent - Is this domain the currently active one.
pRegDomInfo - Pointer to WDRV_WINC_REGDOMAIN_INFO of regulatory domain.
Returns
None.
Remarks
When called in response to WDRV_WINC_WifiRegDomainGet this callback will receive a grouping of 'ofTotal' domain records. An empty grouping is indicated by pRegDomain being blank (empty or NULL) and ofTotal being zero. When called in response to WDRV_WINC_WifiRegDomainSet this callback will receive either a single group of the request domain as confirmation of application or ofTotal will be zero.
typedef void (*WDRV_WINC_REGDOMAIN_CALLBACK) ( DRV_HANDLE handle, uint8_t index, uint8_t ofTotal, bool isCurrent, const WDRV_WINC_REGDOMAIN_INFO *const pRegDomInfo );