TinyCTS
Bluetooth Current Time Service client and server for Arduino
Loading...
Searching...
No Matches
anonymous_namespace{TinyCTSWinRT.cpp} Namespace Reference

Classes

class  WinCentral
 The client side for Windows: TinyCTSCentral with BluetoothLEAdvertisementWatcher (scan) and BluetoothLEDevice with the GATT classes (connect, read, write). The calls block with .get(). More...
class  WinPeripheral
 The 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. More...

Functions

std::string addressText (uint64_t a)
IBuffer bufferOf (const uint8_t *data, size_t len)
std::vector< uint8_t > bytesOf (IBuffer const &buffer)
guid ctsGuid (uint16_t uuid16)
bool equalsIgnoreCase (const std::string &a, const std::string &b)
void initApartment ()
bool parseAddress (const std::string &s, uint64_t &a)
 "AA:BB:CC:DD:EE:FF" to the number. false if it is not an address.