nrf5/bluetooth: Adding empty scan_start and scan_stop function to the bluetooth driver.
This commit is contained in:
parent
ee5ecac7cc
commit
471d6a05da
@ -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
|
||||
|
@ -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__
|
||||
|
Loading…
Reference in New Issue
Block a user