Closed intelligentandgoodlooking closed 3 years ago
I can subscribe to a topic and get a return when the payload is small, but if it goes above around 470 characters, the subscription stops receiving. Must be a buffer size somewhere, but I'm struggling to find it.
found it! Inside aws_iot_config.h #define AWS_IOT_MQTT_RX_BUF_LEN 512 It must contain the topic name also, that's why my payload limit was around 470
#define AWS_IOT_MQTT_RX_BUF_LEN 512
I can subscribe to a topic and get a return when the payload is small, but if it goes above around 470 characters, the subscription stops receiving. Must be a buffer size somewhere, but I'm struggling to find it.