Nol.A SDK Library 26.11.2
For IoT System Software Development
Loading...
Searching...
No Matches
BLECharacteristicCallbacks Class Reference

Callbacks that can be associated with a BLE characteristic to inform of events. More...

#include <BLECharacteristic.hpp>

Public Member Functions

virtual void onRead (BLECharacteristic *pCharacteristic)
virtual void onWrite (BLECharacteristic *pCharacteristic)

Detailed Description

Callbacks that can be associated with a BLE characteristic to inform of events.

When a server application creates a BLE characteristic, we may wish to be informed when there is either a read or write request to the characteristic's value. An application can register a sub-classed instance of this class and will be notified when such an event happens.

Examples
nordic-nrf52-dk/BLEGATTServer/main.cpp.

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