You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an enhancement suggestion for the mqtt-bidirectional example. I tried this example but I went too quickly through the "Preparing your IDE" part because I already have PlatformIO installed, so I missed the instruction to set the MQTT_MAX_PACKET_SIZE. This caused my device to be unable to receive any messages via Ditto. It took me long to find the cause of the problem, because I first thought it is a problem of Ditto, not of any library.
There is a better way to correct the MQTT_MAX_PACKET_SIZE than editing the files of the library. You can just call client.setBufferSize(2048); before line 130.
The text was updated successfully, but these errors were encountered:
This is an enhancement suggestion for the
mqtt-bidirectional
example. I tried this example but I went too quickly through the "Preparing your IDE" part because I already have PlatformIO installed, so I missed the instruction to set theMQTT_MAX_PACKET_SIZE
. This caused my device to be unable to receive any messages via Ditto. It took me long to find the cause of the problem, because I first thought it is a problem of Ditto, not of any library.There is a better way to correct the
MQTT_MAX_PACKET_SIZE
than editing the files of the library. You can just callclient.setBufferSize(2048);
before line 130.The text was updated successfully, but these errors were encountered: