1.2.5.4 WDRV_PIC32MZW_BSSCON_NOTIFY_CALLBACK Typedef

typedef void (*WDRV_PIC32MZW_BSSCON_NOTIFY_CALLBACK)

C

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

Param

Description

handle

Client handle obtained by a call to WDRV_PIC32MZW_Open.

assocHandle

Association handle.

currentState

Current 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

Param

Description

handle

Client handle obtained by a call to WDRV_PIC32MZW_Open.

status

A 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.