1.2.5.12 ADP_SetManagementNotifications Function
C
void ADP_SetManagementNotifications (
ADP_MANAGEMENT_NOTIFICATIONS* pNotifications
);Summary
Sets ADP management notifications.
Description
This routine sets the ADP management notifications. Callback handlers for event notification are set in this function.
Parameters
| Param | Description |
|---|---|
| pNotifications | Pointer to structure with callbacks used to notify ADP management specific events. See ADP_MANAGEMENT_NOTIFICATIONS |
Returns
None.
Example
ADP_MANAGEMENT_NOTIFICATIONS adpNotifications = {
.discoveryConfirm = appDiscoveryConfirm,
.discoveryIndication = appDiscoveryIndication,
.networkStartConfirm = NULL, // not used
.resetConfirm = NULL, // not used
.setConfirm = NULL, // not used
.macSetConfirm = NULL, // not used
.getConfirm = NULL, // not used
.macGetConfirm = NULL, // not used
.routeDiscoveryConfirm = appRouteConfirm,
.pathDiscoveryConfirm = appPathConfirm,
.networkStatusIndication = appNetworkStatusIndication,
.preqIndication = NULL, // not used
.nonVolatileDataIndication = appNonVolatileDataIndication,
.routeNotFoundIndication = appRouteNotFoundIndication,
.bufferIndication = appBufferIndication
};
ADP_SetManagementNotifications(&adpNotifications);Remarks
None.
