nrf5/bluetooth: Adding template functions for service discovery in bluetooth driver.
This commit is contained in:
parent
0914b34193
commit
06af64a78a
|
@ -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) {
|
||||
|
|
|
@ -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__
|
||||
|
|
Loading…
Reference in New Issue