add addDescriptor() for Characteristic

This commit is contained in:
hathach committed 2017-10-15 14:23:10 +07:00
1 parent 3b3885108f
commit 418a2f9cc1
9 files changed
+57 -11

No files matched your search

@@ -111,6 +111,9 @@ class BLECharacteristic
virtual err_t begin(void);
// Add Descriptor function must be called right after begin()
err_t addDescriptor(BLEUuid bleuuid, void const * content, uint16_t len, BleSecurityMode read_perm = SECMODE_OPEN, BleSecurityMode write_perm = SECMODE_NO_ACCESS);
ble_gatts_char_handles_t handles(void);
/*------------- Write -------------*/