micropython-lib
micropython-lib copied to clipboard
Core Python libraries ported to MicroPython
The sdcard.py module works, but seems a bit incomplete and slow. After quite a bit of discussion, https://github.com/orgs/micropython/discussions/12687 I have prepared a prototype of a newer scheme for it. It...
- NINA_FW_v1.5.0_W102.bin for the u.blox W102 module or any other generic ESP32 device. - NINA_FW_v1.5.0_Airlift.bin for Adafruit Airlift modules. The two binaries only differ in which pin is used for...
Patch: [urequests.zip](https://github.com/micropython/micropython-lib/files/9778351/urequests.zip) Attachment includes both before/after scripts of the current version of urequests as well as a `diff.patch` file This also includes a copy of this with the patch applied...
When webrepl starts, it prints out the IP address to stdout, however it does this by querying the `network.WLAN` object -- https://github.com/micropython/micropython-lib/blob/master/micropython/net/webrepl/webrepl.py#L105 This should also try `network.LAN` (and not fail...
It is not clear from this page:- https://github.com/micropython/micropython-lib/tree/master/micropython/bluetooth/aioble#passive-scan-for-nearby-devices-for-5-seconds-observer how to use any of that code ``` >>> import l2cap_file_server Traceback (most recent call last): File "", line 1, in File...
I am running a bluetooth service that currently just as a rx service with write and capture both set to true. I am getting in consent results when reloading the...
I keep getting this error, "ImportError: cannot import name 'MQTTModule' from 'bell.avr.mqtt.client'" I don't really know what I'm doing this is my team's first year doing AVR drones and if...
After Python 3.6 there is password-based key derivation function [scrypt](https://docs.python.org/3/library/hashlib.html#hashlib.scrypt) in a default `hashlib` library. It is better suitable for creation of the key for encryption (e.g. AES which is...
platform: `MicroPython v1.21.0 on 2023-10-06; Generic ESP32 module` broker: mosquitto description: got `OSError: -1` after sending 65535 packets Result: > pkcnt 65000 > Traceback (most recent call last): > File...
In some cases, servers may return non-standard URLs like `https://ecard.v.zzu.edu.cn?tid=xxxx` in "Location" line, which could not be properly treated since there are no slashes between hostname and remote path. So...