nrf5/bluetooth: Adding function parameters and return type to service and characteristic discovery template functions.

This commit is contained in:
Glenn Ruben Bakke 2017-03-28 21:20:20 +02:00
parent 06af64a78a
commit 61b825d75e
2 changed files with 6 additions and 6 deletions

View File

@ -748,12 +748,12 @@ void ble_drv_connect(uint8_t * p_addr, uint8_t addr_type) {
}
}
void ble_drv_discover_services(void) {
bool ble_drv_discover_services(ubluepy_service_obj_t * p_service_obj) {
return false;
}
void ble_drv_discover_characteristic(void) {
bool ble_drv_discover_characteristic(ubluepy_characteristic_obj_t * p_char_obj) {
return false;
}
void ble_drv_discover_descriptors(void) {

View File

@ -85,9 +85,9 @@ 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);
bool ble_drv_discover_services(ubluepy_service_obj_t * p_service_obj);
void ble_drv_discover_characteristic(void);
bool ble_drv_discover_characteristic(ubluepy_characteristic_obj_t * p_char_obj);
void ble_drv_discover_descriptors(void);