diff --git a/nrf5/bluetooth/ble_drv.c b/nrf5/bluetooth/ble_drv.c index b66f163cf3..32660cbdc9 100644 --- a/nrf5/bluetooth/ble_drv.c +++ b/nrf5/bluetooth/ble_drv.c @@ -661,6 +661,14 @@ void ble_drv_gatts_event_handler_set(mp_obj_t obj, ubluepy_gatts_evt_callback_t ubluepy_gatts_event_handler = evt_handler; } +void ble_drv_scan_start(void) { + +} + +void ble_drv_scan_stop(void) { + +} + static void ble_evt_handler(ble_evt_t * p_ble_evt) { // S132 event ranges. // Common 0x01 -> 0x0F diff --git a/nrf5/bluetooth/ble_drv.h b/nrf5/bluetooth/ble_drv.h index 9fc80215ed..8e19293c72 100644 --- a/nrf5/bluetooth/ble_drv.h +++ b/nrf5/bluetooth/ble_drv.h @@ -60,4 +60,8 @@ void ble_drv_attr_write(uint16_t conn_handle, uint16_t handle, uint16_t len, uin void ble_drv_attr_notify(uint16_t conn_handle, uint16_t handle, uint16_t len, uint8_t * p_data); +void ble_drv_scan_start(void); + +void ble_drv_scan_stop(void); + #endif // BLUETOOTH_LE_DRIVER_H__