BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Public Types | Public Member Functions | Static Public Attributes
BeeeOn::BluetoothDevice Class Reference

#include <BluetoothDevice.h>

Public Types

enum  Status { AVAILABLE, UNAVAILABLE, UNKNOWN }
 

Public Member Functions

 BluetoothDevice (const DeviceID &id)
 
MACAddress mac () const
 
DeviceID deviceID () const
 
Status status () const
 
void updateStatus (const Status &status)
 
bool isClassic () const
 
bool isLE () const
 

Static Public Attributes

static const uint64_t DEVICE_ID_LE_MASK = 0x0001000000000000
 

Detailed Description

This class is used to monitor the presence of Bluetooth devices. Contents identification of the device and status about reachability.

Member Function Documentation

bool BluetoothDevice::isClassic ( ) const
Returns
true if the instance represents a Bluetooth Classic device
bool BluetoothDevice::isLE ( ) const
Returns
true if the instance represents a Bluetooth Low Energy device

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