nrf5/modules: Adding object structure for ubluepy descriptor.
This commit is contained in:
parent
98358e4400
commit
6a374dc5a2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue