Skip to content
Discussion options

You must be logged in to vote

I got it working by adding the following to my prj.conf file:
CONFIG_NET_CONFIG_SETTINGS=y
CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.168.0.13"
CONFIG_NET_CONFIG_PEER_IPV4_ADDR="91.121.93.94"
CONFIG_NET_CONFIG_MY_IPV4_GW="192.168.0.1"

CONFIG_NET_CONFIG_MY_IPV4_ADDR should be set to some unused IP address on your local network
CONFIG_NET_CONFIG_PEER_IPV4_ADDR should be set to the IP address of https://test.mosquitto.org/
CONFIG_NET_CONFIG_MY_IPV4_GW should be set to your routers gateway address

Hope this helps someone in the future!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by GeorgePriestner-Eaton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant