nrf5/modules: Adding object structure for ubluepy descriptor.

This commit is contained in:
Glenn Ruben Bakke 2017-02-18 22:48:48 +01:00
parent 98358e4400
commit 6a374dc5a2
1 changed files with 6 additions and 0 deletions

View File

@ -116,6 +116,12 @@ typedef struct _ubluepy_characteristic_obj_t {
ubluepy_service_obj_t * p_service;
} ubluepy_characteristic_obj_t;
typedef struct _ubluepy_descriptor_obj_t {
mp_obj_base_t base;
uint16_t handle;
ubluepy_uuid_obj_t * p_uuid;
} ubluepy_descriptor_obj_t;
typedef struct _ubluepy_delegate_obj_t {
mp_obj_base_t base;
} ubluepy_delegate_obj_t;