1.2.5.78 LBP_SetNotificationsDev Function

C

void LBP_SetNotificationsDev (
    LBP_NOTIFICATIONS_DEV *pNotifications
);

Summary

Sets Device LBP notifications.

Description

This routine sets the Device LBP notifications. Callback handlers for event notification are set in this function.

Parameters

ParamDescription
pNotificationsPointer to structure with callbacks used to notify Device LBP events. See LBP_NOTIFICATIONS_DEV

Returns

None.

Example

LBP_NOTIFICATIONS_DEV lbpNotifications = {
    .adpNetworkJoinConfirm = appLbpJoinConfirm,
    .adpNetworkLeaveConfirm = appLbpLeaveConfirm,
    .adpNetworkLeaveIndication = appLbpLeaveIndication
};

LBP_SetNotificationsDev(&lbpNotifications);

Remarks

This function is part of the Device LBP Module.