When attempting to connect to an MQTT broker set up on my local machine using the mqtt simple sample code, I get this output:
***** Booting Zephyr OS v1.14.99-ncs1 ***** The MQTT simple sample started LTE Link Connecting ... LTE Link Connected! IPv4 Address found 0x0100007f ERROR: mqtt_connect -60
What does this error code mean? Also, is there a location where I can see what all the error codes mean?
prj.conf for reference:
# General config CONFIG_TEST_RANDOM_GENERATOR=y # Networking CONFIG_NETWORKING=y CONFIG_NET_SOCKETS_OFFLOAD=y CONFIG_NET_SOCKETS=y CONFIG_NET_SOCKETS_POSIX_NAMES=y # LTE link control CONFIG_LTE_LINK_CONTROL=y CONFIG_LTE_AUTO_INIT_AND_CONNECT=n # BSD library CONFIG_BSD_LIBRARY=y # AT Host CONFIG_UART_INTERRUPT_DRIVEN=y CONFIG_AT_HOST_LIBRARY=y # MQTT CONFIG_MQTT_LIB=y CONFIG_MQTT_LIB_TLS=n # Appliaction CONFIG_MQTT_PUB_TOPIC="pubtopic/test" CONFIG_MQTT_SUB_TOPIC="pubtopic/test" CONFIG_MQTT_CLIENT_ID="test-id" CONFIG_MQTT_BROKER_HOSTNAME="127.0.0.1" CONFIG_MQTT_BROKER_PORT=1883 # Main thread CONFIG_MAIN_THREAD_PRIORITY=7 CONFIG_MAIN_STACK_SIZE=4096 CONFIG_HEAP_MEM_POOL_SIZE=1024
Thanks