summaryrefslogtreecommitdiff
path: root/shared-module/bleio/Service.h
diff options
context:
space:
mode:
authorarturo182 <arturo182@tlen.pl>2018-07-19 20:33:24 +0200
committerarturo182 <arturo182@tlen.pl>2018-10-21 15:50:45 +0200
commit3bd65fbae5d0150139c0ffd4cf02f8c9f547bbf5 (patch)
tree755b3ad140647d5f3dc6f9ec64c8cfa7e150f8ee /shared-module/bleio/Service.h
parentbda734223e75382be048d47fa9331afd7e9cfdce (diff)
nrf: Move the Peripheral class to bleio as Device
This was the last class from ubluepy and so that module is now gone. The Device class offers both Peripheral and Central functionality. See the inline docs for more info.
Diffstat (limited to 'shared-module/bleio/Service.h')
-rw-r--r--shared-module/bleio/Service.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/shared-module/bleio/Service.h b/shared-module/bleio/Service.h
index bd359a41d..1e3f09119 100644
--- a/shared-module/bleio/Service.h
+++ b/shared-module/bleio/Service.h
@@ -27,7 +27,6 @@
#ifndef MICROPY_INCLUDED_SHARED_MODULE_BLEIO_SERVICE_H
#define MICROPY_INCLUDED_SHARED_MODULE_BLEIO_SERVICE_H
-#include "modubluepy.h"
#include "common-hal/bleio/UUID.h"
typedef struct {
@@ -35,7 +34,7 @@ typedef struct {
uint16_t handle;
bool is_secondary;
bleio_uuid_obj_t *uuid;
- mp_obj_t periph;
+ mp_obj_t device;
mp_obj_t char_list;
uint16_t start_handle;
uint16_t end_handle;