Other Parts Discussed in Thread: CC1312R, , CC1310
Dear all,
I'm trying to develop my own application using MSP432E401Y LaunchPad. The goal is to achieve communication with CC1312R CoProcessor and MQTT communication so I'm basing on two example projects: mqttclient from MSP432 SDK and MSP432 collector from SDK 15.4 plugin.
My application compiles without any error (I added all necessary libraries), gets IP over DHCP, gets time over SNTP and connects to MQTT broker but immediatly fails with error -5. After digging in headers I found that this error is defined by MQTT_PACKET_ERR_PKT_AVL constant which means I have problems with memory pools. I'm really stuck there, I went through mqttclient example and I think I did everything the same - the error shows that I don't.
Do you have any advices what to check next? I checked both secure and non-secure TCP/IP with the same result.
Regards,
Pawel