Adafruit_CircuitPython_MiniMQTT
                                
                                 Adafruit_CircuitPython_MiniMQTT copied to clipboard
                                
                                    Adafruit_CircuitPython_MiniMQTT copied to clipboard
                            
                            
                            
                        MQTT Client Library for CircuitPython
Update connection code to break out of the retry look when getting either a `Incorrect username/password` or `Unauthorized` response. Noticed in #211, although doesn't fix the original post Tested on...
Hi there, due to issues like #148 and #138 I was wondering if it was possible to implement asyncio support in order to simultaneously process new mqtt events and do...
Troubleshooting this with Tyeth and Justin in Discord. Using Justin's latest on his branch at https://github.com/justmobilize/Adafruit_CircuitPython_MiniMQTT/tree/no-retry-on-unauthorized. I have a PyPortal Titano with latest Nina Firmware and running absolute latest CircuitPython:...
Adafruit CircuitPython 9.0.4 on 2024-04-16; Adafruit PyPortal with samd51j20 Discovered while debugging [a connection issue](https://github.com/adafruit/Adafruit_CircuitPython_AWS_IOT/issues/23#issuecomment-2118323414) with adafruit_aws_iot library. If the `pystack` is exhausted, the MQTT client will continue retrying until...
This was discovered while debugging [a connection issue](https://github.com/adafruit/Adafruit_CircuitPython_AWS_IOT/issues/23#issuecomment-2118250899) with the adafruit_aws_iot library. When the MQTT client is instantiated without the `is_ssl` param for a service that requires ssl, the MQTT...
We have an implementation of MiniMQTT that has been quite stable in CircuitPython 8 but started to display multiple issues when we tested in CircuitPython 9 (9.0.3 and below) on...
The code originally loses timing precision even using time.monotonic_ns because it stores timestamps after using floating point division. If the timestamps are kept as ns integers, and floating point division...
I used the sample code from "https://github.com/adafruit/Adafruit_CircuitPython_MiniMQTT/blob/main/examples/native_networking/minimqtt_adafruitio_native_networking.py" and modified it to connect to HiveMQ. It requires tls, so besides changing wifi and mqtt credentials, I also added the is_ssl =...
This logical change uses `recv_timeout` as receive timeout in ` _sock_exact_recv()`. Casually tested with CPython using the test case supplied in the bug, more testing will follow.
The library tries to use monotonic_ns when available to preserve timing resolution. However, monotonic_ns only preserves resolution when kept as an int. When used in a floating operation, such as...