BLERemoteCharacteristic::registerForNotify: Permit event registration without updating descriptor. (#4659)

This commit is contained in:
Andrew
2021-01-11 20:44:38 +11:00
committed by GitHub
parent 15db297130
commit 434d02c49f
2 changed files with 4 additions and 4 deletions

View File

@ -46,7 +46,7 @@ public:
uint16_t readUInt16();
uint32_t readUInt32();
float readFloat();
void registerForNotify(notify_callback _callback, bool notifications = true);
void registerForNotify(notify_callback _callback, bool notifications = true, bool descriptorRequiresRegistration = true);
void writeValue(uint8_t* data, size_t length, bool response = false);
void writeValue(std::string newValue, bool response = false);
void writeValue(uint8_t newValue, bool response = false);