As B4R MQTT library is based on https://github.com/knolleary/pubsubclient , it seems that MQTT_MAX_PACKET_SIZE is hardcoded to 128 bytes in PubSubClient.h (in B4R Libraries/rMQTT Folder)
I suppose that changing to 255 will do the job (NOT Tested !!)
In B4R there is no possibility to use this.
// MQTT_MAX_PACKET_SIZE : Maximum packet size
#ifndef MQTT_MAX_PACKET_SIZE#define MQTT_MAX_PACKET_SIZE 255#endif
In B4R there is no possibility to use this.
// MQTT_MAX_PACKET_SIZE : Maximum packet size
#ifndef MQTT_MAX_PACKET_SIZE#define MQTT_MAX_PACKET_SIZE 255#endif
Maybe I didn't explain correctly; this option is not in B4R IDE;you'll have to find PubSubClient.hfile in B4R Libraries/rMQTT folder (search for it in your HD), and edit this field (actual value 128 and modify to 255 )