BlueToe
an alternative GATT/BLE implementation
Loading...
Searching...
No Matches
bluetoe::bas::handler< Handler > Struct Template Reference

pass a handler to the service More...

#include <bluetoe/services/bas.hpp>

Detailed Description

template<typename Handler>
struct bluetoe::bas::handler< Handler >

pass a handler to the service

The handler have to provide a single function with the following name and type:

int read_battery_level();

Use bluetoe::mixin to inject an instance of that handler into the GATT server.


The documentation for this struct was generated from the following file: