nrf5/modules: Expose ubluepy characteristic and peripheral types as external declaration in ublupy header.

This commit is contained in:
Glenn Ruben Bakke 2017-02-22 19:10:18 +01:00
parent 09fd2b86d1
commit 7fee0cdde1
1 changed files with 2 additions and 0 deletions

View File

@ -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_service_type;
extern const mp_obj_type_t ubluepy_characteristic_type;
extern const mp_obj_type_t ubluepy_peripheral_type;
typedef enum {
UBLUEPY_UUID_16_BIT = 1,