an alternative GATT/BLE implementation
No Matches

This examples shows, how to define a secondary service and how to include it in an other service.

#include <bluetoe/server.hpp>
#include <bluetoe/service.hpp>
#include <bluetoe/characteristic.hpp>
#include <cstdint>
std::int32_t temperature;
* A server consists of two services, on beeing included to the other
bluetoe::bind_characteristic_value< decltype( temperature ), &temperature >,
> temperature_service;
a very simple device to bind a characteristic to a global variable to provide access to the character...
Definition: characteristic_value.hpp:254
A characteristic is a typed value that is accessable by a GATT client hosted by a GATT server.
Definition: characteristic.hpp:160
Root of the declaration of a GATT server.
Definition: server.hpp:85
a 128-Bit UUID used to identify a service.
Definition: service.hpp:57
a service with zero or more characteristics
Definition: service.hpp:150
provides a characteristic with a fixed, read-only value
Definition: characteristic_value.hpp:345
includes an other service into the defined service
Definition: service.hpp:241
if added as option to a characteristic, read access is removed from the characteristic
Definition: characteristic_value.hpp:47
definition of a secondary service
Definition: service.hpp:227