micropython-lib
micropython-lib copied to clipboard
Core Python libraries ported to MicroPython
The timeserver is hardcoded n ntptime.py: host = "pool.ntp.org" I would prefer to have this configurable, for several reasons: - There might only be a local network where the node...
With the following test script, I am able to publish messages to AWS Cloud for MicroPython version v1.17. However, the same script does not work for MicroPython version 1.19 and...
This PR adds the ability for `mip` to load files from _relative_ source paths given in the `urls` section of `package.json` files. Previously, the only accepted forms for source paths...
Hi, I just answered a Reddit issue where somebody has some very trivial code in a loop, and it runs out of memory after a while, the reddit page is...
mip version 0.2.0 When you specify a `version` to `mip.install()` to reference a particular GitHub branch, this branch is used for _every_ `github:` source in the `package.json`, even those coming...
A call to `.time()` can return a large negative number which results in a rather confusing exception in `.settime()`. This can occur if an application issues NTP requests too frequently:...
In the following snippet we have ```python if parse_headers is False: pass elif parse_headers is True: l = str(l, "utf-8") k, v = l.split(":", 1) resp_d[k] = v.strip() else: parse_headers(l,...
espflash used to implicitely allocate four times per write the ~4k buffer for the data. That caused boards with smaller memory to fail due to memory fragmentation. This change reduces...
@Carglglz I have an application i want to send TLS / SSL packages over websockets using aiohttp on an ESP32. The problem is that the websockets fail after a short...
@Carglglz During the handshake the Sec-WebSocket-Key is send undecoded which results in it being sent with an additional `b''` (like `b'tb4IfqY2SEcIEy0pv0opLQ=='`). If the line: https://github.com/micropython/micropython-lib/blob/583bc0da70049f3b200d03e919321ac8dbeb2eb8/python-ecosys/aiohttp/aiohttp/aiohttp_ws.py#L146 is changed to the following...