nrf5/modules: Adding new callback type in modubluepy for gatts events.

This commit is contained in:
Glenn Ruben Bakke 2017-02-19 00:09:11 +01:00
parent 29b283f697
commit ac14bb4736
1 changed files with 1 additions and 0 deletions

View File

@ -134,5 +134,6 @@ typedef struct _ubluepy_advertise_data_t {
} ubluepy_advertise_data_t; } ubluepy_advertise_data_t;
typedef void (*ubluepy_gap_evt_callback_t)(mp_obj_t self, uint16_t event_id, uint16_t conn_handle, uint16_t length, uint8_t * data); typedef void (*ubluepy_gap_evt_callback_t)(mp_obj_t self, uint16_t event_id, uint16_t conn_handle, uint16_t length, uint8_t * data);
typedef void (*ubluepy_gatts_evt_callback_t)(mp_obj_t self, uint16_t event_id, uint16_t attr_handle, uint16_t length, uint8_t * data);
#endif // UBLUEPY_H__ #endif // UBLUEPY_H__