Hi,
You can set m_broker_addr to your mqtt server IP address. Please note that this is an IPv6 address format.
In function app_mqtt_connect(), you can see how mqtt is setup for client.
this mean i need config ipv6 and replace ipv6_addr_t???
Thankss
Yes.
Hi sir,
Just only the way connect MQTT use ipv6???
Thanks
Yes, the Nordic Bluetooth IoT library only supports IPv6.
if your gateway does not support IPv6, you can install an IPv6 and IPv4 tunneling service to transit.
There are some posts you can get more information, for example:
https://devzone.nordicsemi.com/f/nordic-q-a/15055/mqtt-example---about-broker-s-ip/57454#57454
https://devzone.nordicsemi.com/support-private/support/39065