TinyCTS
Bluetooth Current Time Service client and server for Arduino
Loading...
Searching...
No Matches
Class List
Here are the classes, structs, unions and interfaces with brief descriptions:
[detail level 123]
 Nanonymous_namespace{TinyCTSCoreBluetooth.mm}
 CCoreBluetoothCentralThe client side for macOS: TinyCTSCentral on top of TinyCTSCBCentral. The functions block until the delegate has set the flag that they wait for. macOS gives the devices an identifier (UUID) instead of the Bluetooth address: it is used as the address
 CCoreBluetoothPeripheralThe server side for macOS: TinyCTSPeripheral on top of TinyCTSCBPeripheral. The requests are answered by the dispatch queue of CoreBluetooth, so process (anonymous_namespace{TinyCTSCoreBluetooth.mm}::CoreBluetoothPeripheral) has nothing to do
 Nanonymous_namespace{TinyCTSWinRT.cpp}
 CWinCentralThe client side for Windows: TinyCTSCentral with BluetoothLEAdvertisementWatcher (scan) and BluetoothLEDevice with the GATT classes (connect, read, write). The calls block with .get()
 CWinPeripheralThe server side for Windows: TinyCTSPeripheral with GattServiceProvider. The events for the read and write requests come from threads of the system, so process() has nothing to do. Windows advertises the name of the computer
 Ntiny_cts
 CTinyCTSBlueZThe functions to talk to BlueZ (all static); the BlueZ client and server use them
 CDeviceA device that BlueZ knows
 CTinyCTSBlueZCentralThe 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
 CTinyCTSBlueZPeripheralThe 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
 CTinyCTSCentralThe 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
 CTinyCTSClientReads the time from a BLE device that offers the Current Time Service (a phone, a watch, a TinyCTSServer, ...). It is also a TinyCTSTimeSource
 CTinyCTSClientBaseThe data of a TinyCTSClient. Use TinyCTSClient, which adds the Bluetooth part
 CTinyCTSClockSourceA software clock: you set the UTC time (from an RTC, a GPS, ...) and it keeps counting with millis(). The time is 0 (not known) until it is set. Read or set it at least once every 49 days (overflow of millis())
 CTinyCTSCurrentTimeThe Current Time characteristic (0x2A2B): 10 bytes with the date and time (Exact Time 256), the day of week, fractions of a second and the reason for the last adjustment
 CTinyCTSLocalTimeInfoThe Local Time Information characteristic (0x2A0F): the time zone and the daylight saving time (DST) offset. Local time = UTC + time zone + DST
 CTinyCTSPeripheralThe 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
 CTinyCTSPeripheralHandlerThe 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
 CTinyCTSReferenceTimeInfoThe Reference Time Information characteristic (0x2A14): where the time of the server comes from, how exact it is and how old
 CTinyCTSScanEntryA device that was found by TinyCTSClient::scan()
 CTinyCTSServerA BLE peripheral that offers the Current Time Service (0x1805) and serves the time of a time source to the BLE clients (phones, watches, boards with a TinyCTSClient)
 CValue
 CTinyCTSServerBaseSettings and values of a TinyCTSServer. Use TinyCTSServer, which adds the Bluetooth part
 CTinyCTSSourceAdapterUses any object with a getTimeMs() method as time source, e.g. the TinyNTPClient of the TinyNTP library:
 CTinyCTSSystemSourceThe UTC time of the system clock (gettimeofday()). Not available on the boards without gettimeofday() (AVR, Uno R4). Times before minValidSeconds (default 2023-11-14) are treated as "clock not set"
 CTinyCTSTimeSourceAbstract base class of the time sources: an object that knows the current UTC time
 CTinyCTSCBCentralThe delegate of CBCentralManager and CBPeripheral (Objective-C): collects the devices that are found, connects to one and keeps the characteristics of its Current Time Service. The delegate methods run on a dispatch queue of their own, so the properties are the flags and results that CoreBluetoothCentral waits for
 CTinyCTSCBPeripheralThe delegate of CBPeripheralManager (Objective-C): adds the service, advertises it and answers the read and write requests with the TinyCTSPeripheralHandler. The delegate methods run on a dispatch queue of their own