-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: multicoder9/micropython-lib
base: 96e17b6
head repository: micropython/micropython-lib
compare: 68e0dfc
- 18 commits
- 50 files changed
- 10 contributors
Commits on Apr 10, 2025
-
umqtt.simple: Restore legacy ssl/ssl_params arguments.
Commit 35d41db changed the API for using SSL with umqtt, but only did a minor version increase. This broke various uses of this library, eg https://github.com/aws-samples/aws-iot-core-getting-started-micropython Reinstate the original API for specifying an SSL connection. This library now supports the following: - default, ssl=None or ssl=False: no SSL - ssl=True and optional ssl_params specified: use ssl.wrap_socket - ssl=<SSLContext instance>: use provided SSL context to wrap socket Signed-off-by: Damien George <damien@micropython.org>
Configuration menu - View commit details
-
Copy full SHA for 98d0a2b - Browse repository at this point
Copy the full SHA 98d0a2bView commit details -
nrf24l01: Increase startup delay.
According to the datasheet of the NRF240L1 chip, 150 μs startup time is only acceptable when the chip is clocked externally. Most modules use a crystal, which require 1.5 ms to settle. It should be okay to wait more in both cases, for a reliable startup. Signed-off-by: Marcell Pünkösd <punkosdmarcell@rocketmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3e859d2 - Browse repository at this point
Copy the full SHA 3e859d2View commit details -
nrf24l01: Properly handle timeout.
The timeout condition was not handled before. Upon timeout, this caused the chip to stay active until another send command changed it's state. Sometimes when it was unable to transmit the data, it got stuck in the tx fifo causing it to fill up over time, which set the TX_FULL flag in the STATUS register. Since there was no exceptions raised, the user code could not differentiate a successful send or a timeout condition. Signed-off-by: Marcell Pünkösd <punkosdmarcell@rocketmail.com>
Configuration menu - View commit details
-
Copy full SHA for bd1ab77 - Browse repository at this point
Copy the full SHA bd1ab77View commit details -
nrf24l01: Optimize status reading.
The value of the STATUS register is always transmitted by the chip when reading any command. So a R_REGISTER command and the turnaround time can be spared by issuing a NOP command instead. This implementation suggested by the datasheet. This operation is compatible with both nRF24L01 and nRF24L01+. Signed-off-by: Marcell Pünkösd <punkosdmarcell@rocketmail.com>
Configuration menu - View commit details
-
Copy full SHA for c7103bb - Browse repository at this point
Copy the full SHA c7103bbView commit details -
Due to the previous three commits. Signed-off-by: Damien George <damien@micropython.org>
Configuration menu - View commit details
-
Copy full SHA for 221a877 - Browse repository at this point
Copy the full SHA 221a877View commit details -
lora-sx126x: Fix invert_iq_rx / invert_iq_tx behaviour.
This commit fixes a typo and changes a tuple that needs to be mutable to a list (because other parts of the code change elements of this list). Signed-off-by: Damien George <damien@micropython.org>
Configuration menu - View commit details
-
Copy full SHA for f72f3f1 - Browse repository at this point
Copy the full SHA f72f3f1View commit details -
unix-ffi/json: Accept both str and bytes as arg for json.loads().
Same as micropython's internal json lib does. Fixes micropython#985. Signed-off-by: Dominik Heidler <dheidler@suse.de>
Configuration menu - View commit details
-
Copy full SHA for d1a7436 - Browse repository at this point
Copy the full SHA d1a7436View commit details -
unix-ffi/machine: Use libc if librt is not present.
Newer implementations of libc integrate the functions from librt, for example glibc since 2.17 and uClibc-ng. So if the librt.so cannot be loaded, it can be assumed that libc contains the expected functions. Signed-off-by: Bas van Doren <basvdoren@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 42caaf1 - Browse repository at this point
Copy the full SHA 42caaf1View commit details
Commits on Apr 12, 2025
-
requests: Use the host in the redirect url, not the one in headers.
The host in headers extracted from the original url may not be the same as the host in the redirect url. Poping out the host in headers force the code to use the host in the redirect url, otherwise the redirect may fail due to inconsistence of hosts in the original url and the redirect url. Signed-off-by: 黃昕暐 <meebox@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 43ad7c5 - Browse repository at this point
Copy the full SHA 43ad7c5View commit details -
aiohttp: Fix header case sensitivity.
According to RFC https://datatracker.ietf.org/doc/html/rfc7230#section-3.2 header names are case-insensitive. This commit makes sure that the module behaves consistently regardless of the casing of "Content-type" and "Content-Length" (other headers are not considered by the module). Without this fix, the client seems to wait for the connection termination (~10 seconds) prior to returning any content if the casing of "Content-Length" is different. Signed-off-by: FuNK3Y <fun__key@hotmail.com>
Configuration menu - View commit details
-
Copy full SHA for 86df723 - Browse repository at this point
Copy the full SHA 86df723View commit details -
aiohttp: Allow headers to be passed to a WebSocketClient.
This commit will make it possible to add headers to a Websocket. Among other things, this allows making a connection to online MQTT brokers over websocket, using the header entry "Sec-WebSocket-Protocol":"mqtt" in the handshake of the upgrade protocol. Signed-off-by: Damien George <damien@micropython.org>
Configuration menu - View commit details
-
Copy full SHA for 05a56c3 - Browse repository at this point
Copy the full SHA 05a56c3View commit details
Commits on Apr 13, 2025
-
usb-device-cdc: Optimise writing small data so it doesn't require alloc.
Only allocate a memoryview when the (first) write was partial. Signed-off-by: Matthias Urlichs <matthias@urlichs.de>
Configuration menu - View commit details
-
Copy full SHA for 9307e21 - Browse repository at this point
Copy the full SHA 9307e21View commit details
Commits on Apr 14, 2025
-
inspect: Fix isgenerator logic.
Also optimise both `isgenerator()` and `isgeneratorfunction()` so they use the same lambda, and don't have to create it each time they are called. Fixes issue micropython#997. Signed-off-by: Damien George <damien@micropython.org>
Configuration menu - View commit details
-
Copy full SHA for 48bf3a7 - Browse repository at this point
Copy the full SHA 48bf3a7View commit details -
inspect: Add basic unit tests.
Signed-off-by: Damien George <damien@micropython.org>
Configuration menu - View commit details
-
Copy full SHA for 2665047 - Browse repository at this point
Copy the full SHA 2665047View commit details -
inspect: Implement iscoroutinefunction and iscoroutine.
Signed-off-by: Damien George <damien@micropython.org>
Configuration menu - View commit details
-
Copy full SHA for 5b496e9 - Browse repository at this point
Copy the full SHA 5b496e9View commit details
Commits on Apr 24, 2025
-
lora: Fix SNR value in SX126x received packets.
Wasn't being treated as a signed value. Fixes issue micropython#999. Signed-off-by: Angus Gratton <angus@redyak.com.au>
Configuration menu - View commit details
-
Copy full SHA for f8c8875 - Browse repository at this point
Copy the full SHA f8c8875View commit details -
top: Bump the Ruff version to 0.11.6.
With small code fixes to match. Signed-off-by: Angus Gratton <angus@redyak.com.au>
Configuration menu - View commit details
-
Copy full SHA for d887a02 - Browse repository at this point
Copy the full SHA d887a02View commit details -
all: Apply Ruff 0.11.6 reformatting changes.
Signed-off-by: Angus Gratton <angus@redyak.com.au>
Configuration menu - View commit details
-
Copy full SHA for 68e0dfc - Browse repository at this point
Copy the full SHA 68e0dfcView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 96e17b6...68e0dfc