ESP8266 "RAW" MQTT messages using the PubSub Library question

here is a code that could help you Send data from cayenne to arduino possible ?! - #2 by shramik_salgaonkar

Thanks for the reference. Upon debugging, I found that the size of the authentication string was 133 bytes, and I needed to change the MQTT_MAX_PACKET_SIZE in pubsubclient.h from the default 128 to 256 to also cater for the length of the topic strings.

1 Like