Noticed that when I juse large MQTT payloads (i.e. larger than link MTU) writting to recv_buffer causes errors like:
ERROR ====================== PANIC ====================== └─ <mod> @ └─ <invalid location: defmt frame-index: 81>:0 ERROR panicked at /home/andoriyu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rust-mqtt-0.3.0/src/client/raw_client.rs:538:48: range end index 66788 out of range for slice of length 64000</mod>
Index values I was getting made no sense: I knew the exact size of a MQTT notification and it was smaller than 66788. Increasing a recv_buffer would just cause the same error, just after more iterations.
Noticed that when I juse large MQTT payloads (i.e. larger than link MTU) writting to recv_buffer causes errors like:
Index values I was getting made no sense: I knew the exact size of a MQTT notification and it was smaller than 66788. Increasing a recv_buffer would just cause the same error, just after more iterations.