How to change IP for MQTT Publisher sample for online kapua server


Brenton Chetty
 

Hi, I am trying to connect the MQTT_Publisher via qemu to an online Kapua server.

I managed to connect mqtt_pub to a localhost kapua server using the "zeth" interface "./net-setup.sh"

I assume I need to change these 2 lines in prj.conf
"
CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.1"
CONFIG_NET_CONFIG_PEER_IPV4_ADDR="192.0.2.2"
"
If the kapua server is on "http://146.34.8.67:8080/" (altered ip)
1. How do I change my IP values?
2. I am currently compiling with "-- -DOVERLAY_CONFIG=overlay-e1000.conf". Do I need to change this?

With thanks
Brenton

Join devel@lists.zephyrproject.org to automatically receive all group messages.