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

@@ -70,7 +70,7 @@ BLEClientCharacteristic::~BLEClientCharacteristic()
void BLEClientCharacteristic::begin(BLEClientService* parent_svc)
{
// Add UUID128 if needed
uuid.begin();
(void) uuid.begin();
// Use the last (discovered) service as parent if not provided
_service = ( parent_svc == NULL ) ? BLEClientService::lastService : parent_svc;