1.3.3.1 WDRV_PIC32MZW_BSSFIND_NOTIFY_CALLBACK Typedef

C

typedef bool (*WDRV_PIC32MZW_BSSFIND_NOTIFY_CALLBACK)

Summary

Callback to signal discovery of a BSS.

Description

When the information about a discovered BSS is requested the driver will use this callback to provide the BSS information to the user.

Parameters

ParamDescription
handleClient handle obtained by a call to WDRV_PIC32MZW_Open.
indexIndex of BSS find results.
ofTotalTotal number of BSS find results.
pBSSInfoPointer to BSS information structure.

Returns

If true is returned the PIC32MZW driver will automatically fetch the next BSS find results which will cause a later call to this callback. If false is returned the PIC32MZW driver will not fetch the next BSS find results, the user must call WDRV_PIC32MZW_BSSFindNext to retrieve them.

Remarks

The callback function must return true or false. true indicates that the user wishes the next BSS information structure be provided. false indicates that the user will call WDRV_PIC32MZW_BSSFindNext to obtain the next BBS information structure.