add checkReportForService() helper
This commit is contained in:
1 parent
d7e50b2a25
commit
98bae8d1cb
3 files changed
+14
-1
No files matched your search
@@ -210,6 +210,17 @@ bool BLEScanner::checkReportForUuid(const ble_gap_evt_adv_report_t* report, BLEU
|
||||
return false;
|
||||
}
|
||||
|
||||
bool BLEScanner::checkReportForService(const ble_gap_evt_adv_report_t* report, BLEClientService svc)
|
||||
{
|
||||
return checkReportForUuid(report, svc.uuid);
|
||||
}
|
||||
|
||||
bool BLEScanner::checkReportForService(const ble_gap_evt_adv_report_t* report, BLEService svc)
|
||||
{
|
||||
return checkReportForUuid(report, svc.uuid);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Event Handler
|
||||
* @param evt
|
||||
|
||||
Reference in new issue
Block a user