|
Kallisto Linux API
Library for interacting with Kallisto devices
|
#include <bluetooth_dispatcher.hpp>

Public Member Functions | |
| virtual void | onNotification (std::string address, std::string service_uuid, std::string characteristic_uuid, const std::vector< unsigned char > &values)=0 |
Protected Member Functions | |
| NotificationListener () | |
| virtual | ~NotificationListener () |
| NotificationListener (NotificationListener const &)=delete | |
| NotificationListener (NotificationListener &&)=delete | |
| void | operator= (NotificationListener const &)=delete |
| void | operator= (NotificationListener &&)=delete |
Callback listener interface for sensor events.
|
protected |
Constructor
|
protectedvirtual |
Destructor
|
protecteddelete |
Remove copy and move.
|
pure virtual |
Called when there is a new notification of the characteristic enabled with enableNotification(UUID, UUID, NotificationListener) call.
| address | The mac address of the device that generated this event. |
| serviceUuid | The UUID of the service that contains the characteristic that generated this event. |
| characteristicUuid | The UUID of the characteristic that generated this event. |
| values | A byte buffer with the new values of the characteristics. |
Implemented in BatteryChargingSensor, BatterySocSensor, and KallistoSensor.