nrf5/bluetooth: Adding intermediate gattc callback function type in bluetooth driver.

This commit is contained in:
Glenn Ruben Bakke 2017-03-26 22:51:10 +02:00
parent 49cce723a9
commit 025f07dbab
1 changed files with 1 additions and 0 deletions

View File

@ -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);