forked from h2zero/esp-nimble-cpp
Add method to get the callbacks from a characteristic.
This is useul to be able to unit/integration test the behavior of a characteristic.
This commit is contained in:
committed by
h2zero
parent
946b971750
commit
9fa9531e50
@@ -65,6 +65,8 @@ public:
|
||||
std::string toString();
|
||||
|
||||
void setCallbacks(NimBLECharacteristicCallbacks* pCallbacks);
|
||||
NimBLECharacteristicCallbacks*
|
||||
getCallbacks();
|
||||
|
||||
void indicate();
|
||||
void notify(bool is_notification = true);
|
||||
|
||||
Reference in New Issue
Block a user