add API for stopScanning()

This commit is contained in:
Rohit Grover 2015-04-27 07:35:10 +01:00
parent 17a74c04d7
commit 8980b6d7d2

View file

@ -858,6 +858,12 @@ BLEDevice::startScanning(Gap::AdvertisementReportCallback_t callback) {
return transport->getGap().startScanning(scanningParams, callback);
}
inline ble_error_t
BLEDevice::stopScanning(void) {
return transport->getGap().stopScanning();
}
inline ble_error_t
BLEDevice::disconnect(Gap::DisconnectionReason_t reason)
{