|
TinyCTS
Bluetooth Current Time Service client and server for Arduino
|
The interface between the desktop classes TinyCTSClient/TinyCTSServer and the Bluetooth stack of the operating system: BlueZ (Linux), CoreBluetooth (macOS) and WinRT (Windows). The functions block until they are done; every OS implements the two classes below. More...
Go to the source code of this file.
Classes | |
| class | tiny_cts::TinyCTSCentral |
| The client side (central role) of the Bluetooth stack of the operating system: finds a device, connects to it and reads or writes the characteristics of its Current Time Service. More... | |
| class | tiny_cts::TinyCTSPeripheral |
| The server side (peripheral role) of the Bluetooth stack of the operating system: offers the Current Time Service (0x1805) with the characteristics Current Time (read, notify, write), Local Time Information (read, write) and Reference Time Information (read), and advertises it. More... | |
| class | tiny_cts::TinyCTSPeripheralHandler |
| The callbacks of a TinyCTSPeripheral: it asks the handler for the value when a client reads a characteristic, and passes on what a client writes. TinyCTSServer implements it. More... | |
| struct | tiny_cts::TinyCTSScanEntry |
| A device that was found by TinyCTSClient::scan(). More... | |
Functions | |
| std::unique_ptr< TinyCTSCentral > | tiny_cts::ctsCreateCentral (const std::string &adapter) |
| std::unique_ptr< TinyCTSPeripheral > | tiny_cts::ctsCreatePeripheral (const std::string &adapter) |
The interface between the desktop classes TinyCTSClient/TinyCTSServer and the Bluetooth stack of the operating system: BlueZ (Linux), CoreBluetooth (macOS) and WinRT (Windows). The functions block until they are done; every OS implements the two classes below.
|
inline |
The client side of this operating system.
| adapter | Linux: hci0 |
|
inline |
The server side of this operating system.
| adapter | Linux: hci0 |