From 025f07dbabd6ff26b865d632013df40f7f8f6b0e Mon Sep 17 00:00:00 2001 From: Glenn Ruben Bakke Date: Sun, 26 Mar 2017 22:51:10 +0200 Subject: [PATCH] nrf5/bluetooth: Adding intermediate gattc callback function type in bluetooth driver. --- nrf5/bluetooth/ble_drv.h | 1 + 1 file changed, 1 insertion(+) diff --git a/nrf5/bluetooth/ble_drv.h b/nrf5/bluetooth/ble_drv.h index c466bea3d9..4fa6f43d1a 100644 --- a/nrf5/bluetooth/ble_drv.h +++ b/nrf5/bluetooth/ble_drv.h @@ -44,6 +44,7 @@ typedef struct { typedef void (*ble_drv_gap_evt_callback_t)(mp_obj_t self, uint16_t event_id, uint16_t conn_handle, uint16_t length, uint8_t * data); typedef void (*ble_drv_gatts_evt_callback_t)(mp_obj_t self, uint16_t event_id, uint16_t attr_handle, uint16_t length, uint8_t * data); +typedef void (*ble_drv_gattc_evt_callback_t)(mp_obj_t self, uint16_t event_id, uint16_t attr_handle, uint16_t length, uint8_t * data); typedef void (*ble_drv_adv_evt_callback_t)(mp_obj_t self, uint16_t event_id, ble_drv_adv_data_t * data); uint32_t ble_drv_stack_enable(void);