refactor service discovery
This commit is contained in:
1 parent
dbf858e3f2
commit
0beff63269
6 files changed
+14
-14
No files matched your search
@@ -67,9 +67,9 @@ err_t BLECentralService::begin(void)
|
||||
return ERROR_NONE;
|
||||
}
|
||||
|
||||
bool BLECentralService::discover(uint16_t start_handle)
|
||||
bool BLECentralService::discover(void)
|
||||
{
|
||||
VERIFY( Bluefruit.Central.discoverService(uuid, start_handle) );
|
||||
VERIFY( Bluefruit.Central.discoverService(*this) );
|
||||
_discovered = true;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user