adzierzanowski
a55c17dc69
esp32/modnetwork: Add max_clients kw-arg to WLAN.config for AP setting.
This allows the user to configure the maximum number of clients that are
connected to the access point. Resolves #5125 .
5 years ago
Peter Hinch
59746ac14a
docs/library/uos.rst: Improve block devices section, and ioctl ret vals.
5 years ago
Jason Neal
7ef2f65114
docs/library: Add / to indicate positional-only args in library docs.
Removes the confusion of positional-only arguments which have defaults that
look like keyword arguments.
5 years ago
Thorsten von Eicken
1caede927a
docs/library/machine: Document machine.soft_reset() function.
5 years ago
Thorsten von Eicken
bc5c993adf
docs/README: Add short paragraph about using readthedocs.
This adds a short paragraph on how to hook readthedocs.org up. The main
goal is to make people aware of the option, to help with contributing to
the documentation.
5 years ago
Jason Neal
5ef3b6b2d9
docs/library/machine.UART.rst: Detail timeout behaviour of read methods.
Also document existence of "invert" argument to constructor.
5 years ago
Jason Neal
99ed431d28
docs/library/machine.I2C.rst: Use positional-only arguments syntax.
Addresses issue #5196 .
5 years ago
Jason Neal
aec88ddf03
docs: More consistent capitalization and use of articles in headings.
See issue #3188 .
5 years ago
Damien George
1f37194730
all: Bump version to 1.12.
5 years ago
Matt Trentini
7f235cbee9
docs/esp32: Add quickref and full docs for esp32.RMT class.
5 years ago
Damien George
8449e41818
docs/develop: Add documentation on how to build native .mpy modules.
5 years ago
Damien George
e58c7ce3d6
docs/reference: Add documentation describing use of .mpy files.
Including information about .mpy versioning and how to debug failed imports
of .mpy files.
5 years ago
ketograph
04e7aa0563
docs/esp8266/quickref: Add note that machine.RTC is not fully supported.
See issues #3220 and #3710 .
5 years ago
Jim Mussared
f3f7eb48da
docs/library/uos.rst: Clarify why the extended interface exists.
5 years ago
Damien George
b310930dba
docs/library/uos: Add notes and links about littlefs failures.
5 years ago
Damien George
159388f850
docs/library/ubluetooth: Add note about API being under development.
5 years ago
Damien George
381be9a745
docs/reference/filesystem: Add note and example about using filesystem.
5 years ago
Daniel Mizyrycki
50dc5f10a6
docs/reference/filesystem: Fix typo in block device code example.
5 years ago
Damien George
84958a8fe1
extmod/modbluetooth: Allow setting ringbuf size via BLE.config(rxbuf=).
The size of the event ringbuf was previously fixed to compile-time config
value, but it's necessary to sometimes increase this for applications that
have large characteristic buffers to read, or many events at once.
With this commit the size can be set via BLE.config(rxbuf=512), for
example. This also resizes the internal event data buffer which sets the
maximum size of incoming data passed to the event handler.
5 years ago
Damien George
7aeafe2ae9
extmod/modbluetooth: Add optional 4th arg to gattc_write for write mode.
This allows the user to explicitly select the behaviour of the write to the
remote peripheral. This is needed for peripherals that have
characteristics with WRITE_NO_RESPONSE set (instead of normal WRITE). The
function's signature is now:
BLE.gattc_write(conn_handle, value_handle, data, mode=0)
mode=0 means write without response, while mode=1 means write with
response. The latter was the original behaviour so this commit is a change
in behaviour of this method, and one should specify 1 as the 4th argument
to get back the old behaviour.
In the future there could be more modes supported, such as long writes.
5 years ago
Jim Mussared
9a849cc7ca
docs: Add littlefs docs and a filesystem tutorial.
5 years ago
Jim Mussared
f2650be844
docs/library: Add docs for pyb.Flash class.
5 years ago
Jim Mussared
d7dbd267e7
docs/reference: Add docs describing use of pyboard.py.
5 years ago
Damien George
90c524c114
docs: Remove spaces on lines that are empty.
5 years ago
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.
5 years ago
Damien George
d667bc642f
docs/library/ubluetooth: Fix name and link to FLAG_xxx constants.
5 years ago
Jim Mussared
d30b75e8f2
docs/library/machine.SDCard.rst: Fix various typos.
5 years ago
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.
5 years ago
Jim Mussared
1295146a6f
docs/conf.py: Fix path to favicon.ico.
5 years ago
Jim Mussared
ca3d4c84e4
docs/library/ubluetooth: Add docs for gatts_set_buffer.
5 years ago
Damien George
7a24b7f091
docs/library: Add documentation for extended block device protocol.
5 years ago
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.
5 years ago
Jim Mussared
19e87742c4
docs/library/bluetooth: Rename to "ubluetooth".
5 years ago
Damien George
a2eea57b1d
docs/library: Rename "array" module to "uarray".
5 years ago
Volodymyr Shymanskyy
615d6b3c66
docs/wipy/tutorial: Link Blynk examples to the official library.
6 years ago
Mike Causer
a2c4cb484d
docs: Fix spelling in various parts of the docs.
6 years ago
Mike Causer
5a8f392f09
docs/esp8266: Add ntptime usage to esp8266 quickref.
6 years ago
Peter Hinch
c0b3419261
docs/library: Clarify relation between machine and port-specific mods.
6 years ago
Thiago Paes
5463ab6df6
docs/esp8266/tutorial: Make http_get sample function self contained.
6 years ago
Damien George
d1ed73ca8f
docs/library/bluetooth.rst: Fix typo in HR/UART services example.
5 years ago
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.
5 years ago
Jim Mussared
ea315d7d58
docs/library/bluetooth.rst: Explain how to increase char buffer size.
5 years ago
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.
5 years ago
Jim Mussared
a93495b66d
docs/reference/glossary.rst: Add new terms and reduce complexity of old.
5 years ago
Jim Mussared
dc82bee298
docs/library/bluetooth: Add initial BLE documentation.
5 years ago
Jim Mussared
4ddd46e6cf
docs/develop/qstr.rst: Add documentation for string interning.
5 years ago
Damien George
78e0e76b4f
docs/library/pyb.USB_VCP.rst: Add info about id and flow params.
5 years ago
Damien George
cb84e22ac6
docs/library/pyb.rst: Update pyb.usb_mode() to mention VCP+MSC+HID.
5 years ago
Damien George
50636e5296
docs/library/pyb.rst: Update docs for pyb.usb_mode() function.
5 years ago
Damien George
e509da22df
docs/library: Specify new machine.ADC class.
This initial specification is only for the ADC constructor and read_u16()
method.
5 years ago