diff --git a/public/BLEDevice.h b/public/BLEDevice.h index d4e54f5..b6fd5d4 100644 --- a/public/BLEDevice.h +++ b/public/BLEDevice.h @@ -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) {