Closed Kacp3r3 closed 3 years ago
This gave me a headache, and I had to change the define manually because Arduino uses old version of this library.
This gave me a headache, and I had to change the define manually because Arduino uses old version of this library.
@aentinger maybe it's time to consider merging it, as it seems like a bug and I think we were not the only one who came across this issue. At least it should be mentioned somewhere that if long MQTT messages are cut/truncated then you should check the value of this definition, as this is behavior that is being observed in effect. Thanks!
I will merge this, if @Kacp3r3 drops 33314086e4501d24f91e1202df91bf3ccb6249af from this patch.
As you wish
Memory usage change @ 79f512ff77b32767c267c98cb304d04e452fe167
Board | flash | % | RAM for global variables | % |
---|---|---|---|---|
arduino:megaavr:uno2018 | :small_red_triangle: +8 - +8 | +0.02 - +0.02 | :small_red_triangle: +2 - +2 | +0.03 - +0.03 |
arduino:samd:mkr1000 | :small_red_triangle: +8 - +8 | 0.0 - 0.0 | :small_red_triangle: +4 - +4 | +0.01 - +0.01 |
arduino:samd:mkrwifi1010 | :small_red_triangle: 0 - +8 | 0.0 - 0.0 | :small_red_triangle: +4 - +4 | +0.01 - +0.01 |
arduino:samd:nano_33_iot | :small_red_triangle: +8 - +8 | 0.0 - 0.0 | :small_red_triangle: +4 - +4 | +0.01 - +0.01 |
Maximum size of the tx paylod buffer was fixed value, there should be possibility to extend this value by user, so i added a new member variable with according setter function.