BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Public Member Functions
BeeeOn::DBusHciInterface::Device Class Reference

The class represents the Bluetooth Low Energy device and stores necessary data about device such as instance of device, handle of signal and timestamp of last rssi update. Also the class allows to store necessary data (signal handle, pointer to callback) when the device is watched. More...

#include <DBusHciInterface.h>

Public Member Functions

 Device (const GlibPtr< OrgBluezDevice1 > device, const uint64_t rssiHandle)
 
GlibPtr< OrgBluezDevice1 > device () const
 
uint64_t rssiHandle () const
 
void updateLastSeen ()
 
Poco::Timestamp lastSeen () const
 
uint64_t watchHandle () const
 
void watch (uint64_t watchHandle, Poco::SharedPtr< WatchCallback > callBack)
 
void unwatch ()
 
bool isWatched () const
 
std::string name ()
 
MACAddress macAddress ()
 
int16_t rssi ()
 

Detailed Description

The class represents the Bluetooth Low Energy device and stores necessary data about device such as instance of device, handle of signal and timestamp of last rssi update. Also the class allows to store necessary data (signal handle, pointer to callback) when the device is watched.

Constructor & Destructor Documentation

DBusHciInterface::Device::Device ( const GlibPtr< OrgBluezDevice1 >  device,
const uint64_t  rssiHandle 
)
Parameters
rssiHandlehandle of signal on which is connected onDeviceRSSIChanged callback.

The documentation for this class was generated from the following files: