Description
I've been working on a small device which sends small JPEG photos via MQTT, and it's been giving me difficulty because the messages just never seemed to queue properly whether I'm using Adafruit IO or another MQTT broker (RabbitMQ's MQTT plugin, in this instance).
I put together this code snippet which fails for me 100% of the time on both Adafruit IO+ as well as with RabbitMQ's MQTT plugin: https://gist.github.com/manchicken/36b6d530eec03871f5a5e24834a2266a
Here are the logs I get from RabbitMQ (I don't know how to get comparable logs from Adafruit IO+): https://gist.github.com/manchicken/5fcddcc26c54b72a9705eebfd8bebc3e
(Apologies for the horizontal scrolling, I copied those verbatim from the RMQ logs)
It seems like there's something that happens once you get past 2.833KB which causes the messages to be malformatted.
Versions:
- Board: Raspberry Pi Pico 2W (2350)
- CircuitPython firmware version: adafruit-circuitpython-raspberry_pi_pico2_w-en_US-9.2.1
- Adafruit libraries version: adafruit-circuitpython-bundle-9.x-mpy-20241224
- RabbitMQ version: 3.10.8-1.1+deb12u1
- rabbitmq_mqtt: 3.10.8
Please let me know if there's any additional information that would be helpful.