Minor temporary patch to allow DFU packet callback
Fork of BLE_API by
LinkLossService Class Reference
This service defines behavior when a link is lost between two devices. More...
#include <LinkLossService.h>
Public Member Functions | |
LinkLossService (BLEDevice &bleIn, callback_t callbackIn, AlertLevel_t levelIn=NO_ALERT) | |
void | setCallback (callback_t newCallback) |
Update the callback. | |
void | setAlertLevel (AlertLevel_t newLevel) |
Update Alertness Level. |
Detailed Description
This service defines behavior when a link is lost between two devices.
Service: https://developer.bluetooth.org/gatt/services/Pages/ServiceViewer.aspx?u=org.bluetooth.service.link_loss.xml
Alertness Level Char: https://developer.bluetooth.org/gatt/characteristics/Pages/CharacteristicViewer.aspx?u=org.bluetooth.characteristic.alert_level.xml
Definition at line 28 of file LinkLossService.h.
Constructor & Destructor Documentation
LinkLossService | ( | BLEDevice & | bleIn, |
callback_t | callbackIn, | ||
AlertLevel_t | levelIn = NO_ALERT |
||
) |
- Parameters:
-
ref] ble BLEDevice object for the underlying controller.
Definition at line 42 of file LinkLossService.h.
Member Function Documentation
void setAlertLevel | ( | AlertLevel_t | newLevel ) |
Update Alertness Level.
Definition at line 72 of file LinkLossService.h.
void setCallback | ( | callback_t | newCallback ) |
Update the callback.
Definition at line 65 of file LinkLossService.h.
Generated on Wed Jul 13 2022 06:54:06 by 1.7.2