nRF5 SDK is not maintained anymore
More Info: Consider nRF Connect SDK for new designs

MQTT_Simple: getaddrinfo failed -2

I try to connect an nRF9160-DK board to a private MQTT server.

Using DNS I get a failed responce (-2)

When testing with mosquitto_pub/_sub the DNS is functional.

When using the IPv4 address directly the broker is connected.

Using a Telenet IOT SIM, in Belgium.

Who can help me to figure out what is wrong?

Parents Reply Children
No Data
Related