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:
Glenn Ruben Bakke 2017-04-01 16:36:15 +02:00
parent c88358d84b
commit 5a7ab4686c

View File

@ -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 {