add API for startScanning()
This commit is contained in:
parent
8d3e092916
commit
17a74c04d7
1 changed files with 5 additions and 0 deletions
|
@ -853,6 +853,11 @@ BLEDevice::stopScan(void) {
|
|||
return transport->getGap().stopScan();
|
||||
}
|
||||
|
||||
inline ble_error_t
|
||||
BLEDevice::startScanning(Gap::AdvertisementReportCallback_t callback) {
|
||||
return transport->getGap().startScanning(scanningParams, callback);
|
||||
}
|
||||
|
||||
inline ble_error_t
|
||||
BLEDevice::disconnect(Gap::DisconnectionReason_t reason)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue