1.3.4.3 WDRV_PIC32MZW_BSSCON_NOTIFY_CALLBACK Typedef

C

typedef void (*WDRV_PIC32MZW_BSSCON_NOTIFY_CALLBACK)

Summary

Callback to notify the user of a change in connection state.

Description

When the connection state changes this callback enable the driver to signal the user about that event and reason.

Parameters

ParamDescription
handleClient handle obtained by a call to WDRV_PIC32MZW_Open.
assocHandleAssociation handle.
currentStateCurrent connection state.

Returns

None.

Remarks

None.

Summary

Pointer to a generic status callback function.

Description

This defines a generic status function callback type which can be passed into certain functions to receive feedback.

Parameters

ParamDescription
handleClient handle obtained by a call to WDRV_PIC32MZW_Open.
statusA status value.

Returns

None.

Remarks

The value of the status passed to the function is dependant on the function used to register the callback. See WDRV_PIC32MZW_OTAUpdateFromURL, WDRV_PIC32MZW_SwitchActiveFirmwareImage, WDRV_PIC32MZW_HostFileRead and WDRV_PIC32MZW_HostFileErase.