Kallisto Linux API
Library for interacting with Kallisto devices
|
#include <bluetooth_scan_event_listener.hpp>
Public Member Functions | |
BluetoothScanEventListener () | |
virtual void | onDeviceFound (std::chrono::nanoseconds timestamp, hardware::Kallisto &device)=0 |
virtual void | onDeviceLost (std::chrono::nanoseconds timestamp, hardware::Kallisto &device) |
virtual void | onDeviceScanReport (std::chrono::nanoseconds timestamp, hardware::Kallisto &device, int rssi) |
Protected Member Functions | |
virtual | ~BluetoothScanEventListener () |
Callback listener interface for Scan events.
|
protectedvirtual |
Destructor.
Constructor.
|
pure virtual |
Called when a new device is found.
timestamp | The time at which the event happened in nanoseconds since the epoch. |
device | The device that generated this event. |
|
virtual |
Called when a device disappears.
timestamp | The time at which the event happened in nanoseconds since the epoch. |
device | The device that generated this event. |
|
virtual |
Called when a new advertising packet from the device is received.
timestamp | The time at which the event happened in nanoseconds since the epoch. |
device | The device that generated this event. |
rssi | The RSSI in dBm. |