This commit is contained in:
hathach committed 2017-12-12 13:23:17 +07:00
1 parent c03844339c
commit 349208cdf1
1 file changed
+5
@@ -94,6 +94,11 @@ void BLEScanner::setRxCallback(rx_callback_t fp)
_rx_cb = fp;
}
void BLEScanner::setStopCallback(stop_callback_t fp)
{
_stop_cb = fp;
}
void BLEScanner::restartOnDisconnect(bool enable)
{
_start_if_disconnect = enable;