diff options
| author | Dan Halbert <halbert@halwitz.org> | 2019-01-10 21:12:17 -0500 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2019-01-10 21:12:17 -0500 |
| commit | 50ee5ef24cf9830328d349e83364b462d552b715 (patch) | |
| tree | a0c95d9a81a19c92c3d5261bbc91966491b88c5a /shared-bindings/bleio/Peripheral.c | |
| parent | c80b5f4f4c2df7ca5175792ccbf0572c4d937b7e (diff) | |
| parent | 516d7da64173055422230e46173f7d19273a5107 (diff) | |
merge translations; add bleio comments; fix minor sphinx issues in midi
Diffstat (limited to 'shared-bindings/bleio/Peripheral.c')
| -rw-r--r-- | shared-bindings/bleio/Peripheral.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shared-bindings/bleio/Peripheral.c b/shared-bindings/bleio/Peripheral.c index 1027bbb1f..cea44486f 100644 --- a/shared-bindings/bleio/Peripheral.c +++ b/shared-bindings/bleio/Peripheral.c @@ -192,7 +192,8 @@ const mp_obj_property_t bleio_peripheral_name_obj = { //| services are included in the advertisement packets. //| //| :param bool connectable: If `True` then other devices are allowed to connect to this peripheral. -//| :param buf data: If not None, then send data bytes in advertising packets. +//| :param buf data: If `None`, advertise the services passed to this Peripheral when it was created. +//| If not `None`, then send the bytes in ``data`` as the advertising packet. //| STATIC mp_obj_t bleio_peripheral_start_advertising(mp_uint_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) { bleio_peripheral_obj_t *self = MP_OBJ_TO_PTR(pos_args[0]); |
