Bluenet
5.7.0
Bluenet, firmware for nRF52 smart home devices
|
#include <cs_MicroappService.h>
Public Member Functions | |
MicroappService (const UUID &uuid) | |
void | createCharacteristics () |
![]() | |
Service () | |
virtual | ~Service () |
Default empty destructor. More... | |
void | init (Stack *stack) |
Initialize the service: register it at the softdevice. More... | |
void | setUUID (const UUID &uuid) |
Set the UUID. More... | |
Stack * | getStack () |
const UUID & | getUUID () const |
uint16_t | getHandle () |
tuple< CharacteristicBase * > | getCharacteristics () |
virtual void | createCharacteristics ()=0 |
void | onBleEvent (const ble_evt_t *event) |
void | onConnect (uint16_t connectionHandle, const ble_gap_evt_connected_t &event) |
void | onDisconnect (uint16_t connectionHandle, const ble_gap_evt_disconnected_t &event) |
bool | onWrite (const ble_gatts_evt_write_t &event, uint16_t gattHandle) |
void | onTxComplete (const ble_common_evt_t *event) |
void | addCharacteristic (CharacteristicBase *characteristic) |
Add a single characteristic to the list @characteristic Characteristic to add. More... | |
void | updatedCharacteristics () |
![]() | |
BaseClass () | |
bool | isInitialized (uint8_t i=0) |
void | setInitialized (uint8_t i=0) |
void | setUninitialized (uint8_t i=0) |
Additional Inherited Members | |
![]() | |
enum | condition_t { C_SERVICE_INITIALIZED } |
MicroappService::MicroappService | ( | const UUID & | uuid | ) |
|
virtual |
Implements Service.