summaryrefslogtreecommitdiff
path: root/shared-module/bleio/Service.h
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2018-12-27 00:04:04 -0500
committerDan Halbert <halbert@halwitz.org>2018-12-27 00:04:04 -0500
commit4167bf5b241eec4e5a04c36d7f7c66d43a8bb921 (patch)
treececbe776d11edf3eaefba602a1c6a1e15dfd6059 /shared-module/bleio/Service.h
parentf5b15c9b4d05e1c49bdc9ea76b27a87cf5808462 (diff)
wip: advertising works, but not connection
Diffstat (limited to 'shared-module/bleio/Service.h')
-rw-r--r--shared-module/bleio/Service.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared-module/bleio/Service.h b/shared-module/bleio/Service.h
index ff506d3f3..540749793 100644
--- a/shared-module/bleio/Service.h
+++ b/shared-module/bleio/Service.h
@@ -28,14 +28,14 @@
#define MICROPY_INCLUDED_SHARED_MODULE_BLEIO_SERVICE_H
#include "common-hal/bleio/UUID.h"
-#include "shared-module/bleio/Device.h"
typedef struct {
mp_obj_base_t base;
uint16_t handle;
bool is_secondary;
bleio_uuid_obj_t *uuid;
- bleio_device_obj_t *device;
+ // May be a LocalPeripheral, RemotePeripheral, etc.
+ mp_obj_t *device;
mp_obj_t char_list;
uint16_t start_handle;
uint16_t end_handle;