From 5f19113c94331162ea1d7101d29e73ef393129f9 Mon Sep 17 00:00:00 2001 From: Glenn Ruben Bakke Date: Sat, 11 Feb 2017 14:19:08 +0100 Subject: [PATCH] nrf5/modules: Adding ubluepy charactaristic type struct. --- nrf5/modules/ubluepy/modubluepy.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nrf5/modules/ubluepy/modubluepy.h b/nrf5/modules/ubluepy/modubluepy.h index 35bf58d639..f905ac458b 100644 --- a/nrf5/modules/ubluepy/modubluepy.h +++ b/nrf5/modules/ubluepy/modubluepy.h @@ -56,4 +56,11 @@ typedef struct _ubluepy_service_obj_t { ubluepy_uuid_obj_t * p_uuid; } ubluepy_service_obj_t; +typedef struct _ubluepy_characteristic_obj_t { + mp_obj_base_t base; + uint16_t handle; + ubluepy_uuid_obj_t * p_uuid; +} ubluepy_characteristic_obj_t; + + #endif // UBLUEPY_H__