Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
ble/Service.hxx
Go to the documentation of this file.
1
28#ifndef _BLE_SERVICE_HXX_
29#define _BLE_SERVICE_HXX_
30
31#include <cstdlib>
32
33#include "ble/Defs.hxx"
34
35namespace ble
36{
37
40{
41public:
43 {
44 const uint8_t uuidLen_;
45 const uint8_t *uuid_;
47 const uint16_t size_;
48 const uint8_t *value_;
49 };
50};
51
52}
53
54#endif // _BLE_SERVICE_HXX_
GATTPerm
GATT Permisions.
Definition ble/Defs.hxx:85
BLE service definition interface.
const Defs::GATTPerm perm_
permissions
const uint8_t uuidLen_
UUID_LEN_16, UUID_LEN_32, or UUID_LEN_16.
const uint8_t * uuid_
16-bit, 32-bit, or 128-bit UUID pointer
const uint16_t size_
size in bytes
const uint8_t * value_
value pointer