BLECharacteristicCallbacks¶
Callbacks that can be associated with a BLE characteristic to inform of events.
詳細情報¶
メンバー¶
~BLECharacteristicCallbacks()¶
BLECharacteristicCallbacks::~BLECharacteristicCallbacks()
onRead()¶
Callback function to support a read request.
void BLECharacteristicCallbacks::onRead(BLECharacteristic *pCharacteristic)
引数
- BLECharacteristic*
pCharacteristic
The characteristic that is the source of the event.
onWrite()¶
Callback function to support a write request.
void BLECharacteristicCallbacks::onWrite(BLECharacteristic *pCharacteristic)
引数
- BLECharacteristic*
pCharacteristic
The characteristic that is the source of the event.
onNotify()¶
Callback function to support a Notify request.
void BLECharacteristicCallbacks::onNotify(BLECharacteristic *pCharacteristic)
引数
- BLECharacteristic*
pCharacteristic
The characteristic that is the source of the event.
onStatus()¶
Callback function to support a Notify/Indicate Status report.
void BLECharacteristicCallbacks::onStatus(BLECharacteristic *pCharacteristic, Status s, uint32_t code)
引数
- BLECharacteristic*
pCharacteristic
The characteristic that is the source of the event. - Status
s
Status of the notification/indication - uint32_t
code
Additional code of underlying errors