nrf5/modules: Expose ubluepy characteristic and peripheral types as external declaration in ublupy header.
This commit is contained in:
parent
09fd2b86d1
commit
7fee0cdde1
@ -72,6 +72,8 @@ p.advertise(device_name="micr", services=[s])
|
|||||||
|
|
||||||
extern const mp_obj_type_t ubluepy_uuid_type;
|
extern const mp_obj_type_t ubluepy_uuid_type;
|
||||||
extern const mp_obj_type_t ubluepy_service_type;
|
extern const mp_obj_type_t ubluepy_service_type;
|
||||||
|
extern const mp_obj_type_t ubluepy_characteristic_type;
|
||||||
|
extern const mp_obj_type_t ubluepy_peripheral_type;
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
UBLUEPY_UUID_16_BIT = 1,
|
UBLUEPY_UUID_16_BIT = 1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user