Hello,
I am currently trying to use the MQTT publisher example to send a message to a locally hosted MQTT broker (I assume I can use a local IPv6 address?). The MQTT broker I'm using is mosquitto, and I have confirmed that it is able to receive messages by using mosquitto_pub and mosquitto_sub.
I have been able to setup the IPv6 interface using 6LoWPAN on a Raspberry Pi, however when I attempt to connect to my MQTT broker I get the error 51460 (NRF_ERROR_NO_MEM | IOT_MQTT_ERR_BASE) in the function mqtt_connect. I assume this indicates that there is insufficient memory to complete the connection.
I'm using the example in SDK v16 and have made very few changes. I have changed things such as the broker address and security settings.
I'm unsure of how to fix this issue, so if someone could point out what I may be doing wrong that would be great.
Thanks for any help,
Matthew