summaryrefslogtreecommitdiff
path: root/shared-bindings
diff options
context:
space:
mode:
Diffstat (limited to 'shared-bindings')
-rw-r--r--shared-bindings/bleio/CharacteristicBuffer.c3
-rw-r--r--shared-bindings/bleio/Device.c6
-rw-r--r--shared-bindings/bleio/UUID.c2
-rw-r--r--shared-bindings/bleio/__init__.c3
4 files changed, 9 insertions, 5 deletions
diff --git a/shared-bindings/bleio/CharacteristicBuffer.c b/shared-bindings/bleio/CharacteristicBuffer.c
index 74ca609f0..d28cd54cf 100644
--- a/shared-bindings/bleio/CharacteristicBuffer.c
+++ b/shared-bindings/bleio/CharacteristicBuffer.c
@@ -42,7 +42,8 @@
//|
//| :param bleio.Characteristic characteristic: The characteristic to monitor
//| :param int buffer_size: Size of ring buffer that stores incoming data coming from client.
-//| Must be >= 1.
+//| Must be >= 1.
+//|
STATIC mp_obj_t bleio_characteristic_buffer_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *pos_args) {
mp_arg_check_num(n_args, n_kw, 1, 2, true);
bleio_characteristic_buffer_obj_t *self = m_new_obj(bleio_characteristic_buffer_obj_t);
diff --git a/shared-bindings/bleio/Device.c b/shared-bindings/bleio/Device.c
index cf5eb6873..cbad9fb7e 100644
--- a/shared-bindings/bleio/Device.c
+++ b/shared-bindings/bleio/Device.c
@@ -52,10 +52,10 @@
//| When a device is created without any parameter passed to the constructor,
//| it will be set to the Peripheral role. If a address is passed, the device
//| will be a Central. For a Peripheral you can set the `name`, add services
-//| via `add_service` and then start and stop advertising via `start_advertising`
-//| and `stop_advertising`. For the Central, you can `bleio.Device.connect` and `bleio.Device.disconnect`
+//| via `add_service` and then start and stop advertising via `bleio.Device.start_advertising`
+//| and `bleio.Device.stop_advertising`. For the Central, you can `bleio.Device.connect` and `bleio.Device.disconnect`
//| to the device, once a connection is established, the device's services can
-//| be accessed using `services`.
+//| be accessed using `bleio.Device.services`.
//|
//| Usage::
//|
diff --git a/shared-bindings/bleio/UUID.c b/shared-bindings/bleio/UUID.c
index 2b42ab05c..703bc1c65 100644
--- a/shared-bindings/bleio/UUID.c
+++ b/shared-bindings/bleio/UUID.c
@@ -50,7 +50,7 @@
//| - a buffer object (bytearray, bytes) of 16 bytes in little-endian order (128-bit UUID)
//|
//| :param int/buffer value: The uuid value to encapsulate
-
+//|
STATIC mp_obj_t bleio_uuid_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *pos_args) {
mp_arg_check_num(n_args, n_kw, 1, 1, false);
diff --git a/shared-bindings/bleio/__init__.c b/shared-bindings/bleio/__init__.c
index e23efe36c..42bd093f1 100644
--- a/shared-bindings/bleio/__init__.c
+++ b/shared-bindings/bleio/__init__.c
@@ -57,9 +57,12 @@
//| AddressType
//| AdvertisementData
//| Adapter
+//| Broadcaster
//| Characteristic
+//| CharacteristicBuffer
//| Descriptor
//| Device
+//| Peripheral
//| ScanEntry
//| Scanner
//| Service