TinyCTS
Bluetooth Current Time Service client and server for Arduino
Loading...
Searching...
No Matches
TinyCTSBlueZBackend.h File Reference

TinyCTSCentral and TinyCTSPeripheral for Linux: BlueZ over D-Bus (GIO). More...

Go to the source code of this file.

Classes

class  tiny_cts::TinyCTSBlueZCentral
 The client side for Linux: scans, connects and reads or writes the characteristics through BlueZ (org.bluez.Adapter1, Device1 and GattCharacteristic1) with the functions of TinyCTSBlueZ. More...
class  tiny_cts::TinyCTSBlueZPeripheral
 The server side for Linux: exports the Current Time Service as a GATT application and an advertisement on D-Bus and registers them at BlueZ (GattManager1 and LEAdvertisingManager1). BlueZ calls back over D-Bus, so process() has to run the main context of GLib. More...

Functions

std::unique_ptr< TinyCTSCentral > tiny_cts::ctsCreateCentral (const std::string &adapter)
std::unique_ptr< TinyCTSPeripheral > tiny_cts::ctsCreatePeripheral (const std::string &adapter)

Detailed Description

TinyCTSCentral and TinyCTSPeripheral for Linux: BlueZ over D-Bus (GIO).

Function Documentation

◆ ctsCreateCentral()

std::unique_ptr< TinyCTSCentral > tiny_cts::ctsCreateCentral ( const std::string & adapter)
inline

The client side of this operating system.

Parameters
adapterLinux: hci0

◆ ctsCreatePeripheral()

std::unique_ptr< TinyCTSPeripheral > tiny_cts::ctsCreatePeripheral ( const std::string & adapter)
inline

The server side of this operating system.

Parameters
adapterLinux: hci0