MyoLinux
Classes | Typedefs
myolinux::gatt Namespace Reference

Contains the GATT client and auxiliary classes. More...

Classes

class  Client
 Class for communication using the GATT protocol. More...
 
class  DisconnectedException
 Exception thrown when the device disconnects. More...
 

Typedefs

using Address = std::array< std::uint8_t, 6 >
 Address of the device. More...
 
using Characteristics = std::map< Buffer, std::uint16_t >
 A dictionary mapping characteristics UUIDs to handles.
 

Detailed Description

Contains the GATT client and auxiliary classes.

Typedef Documentation

§ Address

using Address = std::array<std::uint8_t, 6>

Address of the device.

The address byte sequence is in network order, so it might be in reverse on your arhitecture. To find the address of your device use the Client::discover method or use the bluetoothctl tool.