1.1.30.10 WDRV_WINC_REGDOMAIN_CALLBACK Typedef

C

typedef void (*WDRV_WINC_REGDOMAIN_CALLBACK)
(
    DRV_HANDLE handle,
    uint8_t index,
    uint8_t ofTotal,
    bool isCurrent,
    const WDRV_WINC_REGDOMAIN_INFO *const pRegDomInfo
);

Description

This defines a function pointer to a regulatory domain callback which will receive information about a single domain.

Parameters

ParametersDescription
handleClient handle obtained by a call to WDRV_WINC_Open.
indexIndex with a grouping of regulatory domains.
ofTotalTotal number of domain within a grouping.
isCurrentIs this domain the currently active one.
pRegDomInfoPointer 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.