Re: Sending payload to AWS IOT using MQTT causes an error
Posted: Tue Aug 14, 2018 10:03 pm
According to his initial post he had 892 bytes of stack space available after connecting to the MQTT server. The default is 512 byte for the AWS_IOT_MQTT_TX_BUF_LEN. So if he increased that number to 1000, it does seem he should have some stack free. But definitely increasing to 10000 as he suggested in his previous post would use up all the stack and more if his client variable is created local to the function. All signs point to his client being allocated on the stack.
John A
John A