Jim Mussared
e873d352ad
extmod/modbluetooth: Simplify management of pre-allocated event data.
...
The address, adv payload and uuid fields of the event are pre-allocated by
modbluetooth, and reused in the IRQ handler. Simplify this and move all
storage into the `mp_obj_bluetooth_ble_t` instance.
This now allows users to hold on to a reference to these instances without
crashes, although they may be overwritten by future events. If they want
to hold onto the values longer term they need to copy them.
2019-11-25 17:32:10 +11:00
Damien George
d667bc642f
docs/library/ubluetooth: Fix name and link to FLAG_xxx constants.
2019-11-12 15:15:12 +11:00
Jim Mussared
d30b75e8f2
docs/library/machine.SDCard.rst: Fix various typos.
2019-11-07 14:47:11 +11:00
Jim Mussared
59850c0b83
docs/templates/topindex.html: Replace usage of deprecated defindex.html.
...
defindex.html (used by topindex.html) is deprecated, but topindex.html was
already identical other than setting the title, so just inherit directly
from layout.html.
2019-11-07 14:45:55 +11:00
Jim Mussared
1295146a6f
docs/conf.py: Fix path to favicon.ico.
2019-11-07 14:45:34 +11:00
Jim Mussared
ca3d4c84e4
docs/library/ubluetooth: Add docs for gatts_set_buffer.
2019-10-29 23:11:11 +11:00
Damien George
7a24b7f091
docs/library: Add documentation for extended block device protocol.
2019-10-29 14:17:29 +11:00
Mike Wadsten
f69ef97f24
docs: Move ubluetooth under "MicroPython-specific libraries".
...
CPython does not have a bluetooth module,
so it is not appropriate to call ubluetooth
a Python standard library or micro-library.
2019-10-23 11:43:01 -05:00
Jim Mussared
19e87742c4
docs/library/bluetooth: Rename to "ubluetooth".
2019-10-22 21:58:05 +11:00
Damien George
a2eea57b1d
docs/library: Rename "array" module to "uarray".
2019-10-22 16:40:58 +11:00
Volodymyr Shymanskyy
615d6b3c66
docs/wipy/tutorial: Link Blynk examples to the official library.
2019-10-16 14:20:31 +11:00
Mike Causer
a2c4cb484d
docs: Fix spelling in various parts of the docs.
2019-10-16 14:08:28 +11:00
Mike Causer
5a8f392f09
docs/esp8266: Add ntptime usage to esp8266 quickref.
2019-10-16 14:08:13 +11:00
Peter Hinch
c0b3419261
docs/library: Clarify relation between machine and port-specific mods.
2019-10-16 14:03:44 +11:00
Thiago Paes
5463ab6df6
docs/esp8266/tutorial: Make http_get sample function self contained.
2019-10-16 13:52:04 +11:00
Damien George
d1ed73ca8f
docs/library/bluetooth.rst: Fix typo in HR/UART services example.
2019-10-16 11:23:54 +11:00
Jim Mussared
36502bdfdc
extmod/modbluetooth: Make gap_disconnect not raise when disconnected.
...
Previously it raised OSError(MP_ENOTCONN) if the conn_handle was already
disconnected. Now it returns True/False.
2019-10-15 17:22:53 +11:00
Jim Mussared
ea315d7d58
docs/library/bluetooth.rst: Explain how to increase char buffer size.
2019-10-15 17:22:45 +11:00
Jim Mussared
62e3a966fb
docs/library/bluetooth.rst: Clarify gap_advertise adv_data behavior.
...
Make it clear that the previous adv_data will be reused if it's not set.
And some minor other improvements.
2019-10-15 17:21:32 +11:00
Jim Mussared
a93495b66d
docs/reference/glossary.rst: Add new terms and reduce complexity of old.
2019-10-15 16:36:02 +11:00
Jim Mussared
dc82bee298
docs/library/bluetooth: Add initial BLE documentation.
2019-10-11 14:03:01 +11:00
Jim Mussared
4ddd46e6cf
docs/develop/qstr.rst: Add documentation for string interning.
2019-10-04 17:13:13 +10:00
Damien George
78e0e76b4f
docs/library/pyb.USB_VCP.rst: Add info about id and flow params.
2019-09-26 14:00:21 +10:00
Damien George
cb84e22ac6
docs/library/pyb.rst: Update pyb.usb_mode() to mention VCP+MSC+HID.
2019-09-11 15:17:38 +10:00
Damien George
50636e5296
docs/library/pyb.rst: Update docs for pyb.usb_mode() function.
2019-09-10 13:22:35 +10:00