This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

MQTT trouble (mqtt_simple & asset_tracker)

Hello,

I am working on a custom PCB with nrf9160 capable of getting good signal (tested using 'at_client' sample) and all is well on the hardware.

I am currently working on sending and receiving messages using mqtt and I am facing issues mostly because I am new to LTE devices.

I have 2 issues which possibly relate to each other:

1. I have uploaded 'asset_tracker' onto my PCB and I get error -111. I think this is due to certifications required to connect to nrf cloud. Please confirm or correct me.

2. I tried using 'mqtt_simple' but compiler cannot find reference to  'net_addr_ntop(family, src, dst, size);' in 'socket.h'. How can I fix this issue?

Thank you

Related