forked from h2zero/esp-nimble-cpp
Don't send notifications to un-paired peers when READ_ENC set (#14)
* start security when peer subscribes to secured characteristic * Don't send notifications to non-secure clients
This commit is contained in:
1 parent
afb2f8d4c7
commit
0712f606f1
3 files changed
+28
-6
No files matched your search
@@ -107,7 +107,7 @@ private:
|
||||
~NimBLECharacteristic();
|
||||
|
||||
NimBLEService* getService();
|
||||
uint8_t getProperties();
|
||||
uint16_t getProperties();
|
||||
void setSubscribe(struct ble_gap_event *event);
|
||||
static int handleGapEvent(uint16_t conn_handle, uint16_t attr_handle,
|
||||
struct ble_gatt_access_ctxt *ctxt, void *arg);
|
||||
|
||||
Reference in new issue
Block a user