nrf5/modules/ubluepy: Adding value data member to the characteristic object. This can hold the value data when gatt client perform a read and value has to be transferred between interrupt and main thread.
This commit is contained in:
parent
c88358d84b
commit
5a7ab4686c
@ -128,6 +128,7 @@ typedef struct _ubluepy_characteristic_obj_t {
|
||||
uint8_t props;
|
||||
uint8_t attrs;
|
||||
ubluepy_service_obj_t * p_service;
|
||||
mp_obj_t value_data;
|
||||
} ubluepy_characteristic_obj_t;
|
||||
|
||||
typedef struct _ubluepy_descriptor_obj_t {
|
||||
|
Loading…
x
Reference in New Issue
Block a user