nrf5/bluetooth: Adding template functions for service discovery in bluetooth driver.

This commit is contained in:
Glenn Ruben Bakke 2017-03-26 22:59:30 +02:00
parent 0914b34193
commit 06af64a78a
2 changed files with 18 additions and 0 deletions

View File

@ -748,6 +748,18 @@ void ble_drv_connect(uint8_t * p_addr, uint8_t addr_type) {
}
}
void ble_drv_discover_services(void) {
}
void ble_drv_discover_characteristic(void) {
}
void ble_drv_discover_descriptors(void) {
}
#endif
static void ble_evt_handler(ble_evt_t * p_ble_evt) {

View File

@ -85,4 +85,10 @@ void ble_drv_adv_report_handler_set(mp_obj_t obj, ble_drv_adv_evt_callback_t evt
void ble_drv_connect(uint8_t * p_addr, uint8_t addr_type);
void ble_drv_discover_services(void);
void ble_drv_discover_characteristic(void);
void ble_drv_discover_descriptors(void);
#endif // BLUETOOTH_LE_DRIVER_H__