Do you have a need to use MQTT via IPv6?
Now it's ready to use.
"The WIZnet arduino-mqtt - IPv6 Branch"
WIZnet Ethernet LibraryThe WIZnet arduino-mqtt IPv6 branch requires the WIZnet Ethernet Library IPv6 branch.
DownloadGo to the WIZnet arduino-mqtt Github and choose the IPv6 branch.
If you don't want to use any git client, you can choose Download ZIP.
No sign-in required and no sign-up required.
Copy an arduino-mqtt-IPv6.zip downloaded and paste to Arduino User Library directory.
Extract an arduino-mqtt-IPv6.zip and rename to arduino-mqtt. The directory name must be arduino-mqtt.
The following is tree view after extracted and renamed.
Now you can run the Arduino IDE and just Choose File -> Examples -> MQTT -> W6100EthernetShield.
You can see the W6100EthernetShield of WIZnet arduino-mqtt.
After Upload, you can see the network information messages via Serial Monitor.
This W6100EthernetShield example connects to test.mosquitto.org via IPv6. And it publishes to topic of W6100. It also subscribes topic of W6100.
You also subscribe it at any place via web browser.
Run web browser and access HIVEMQ Web Socket Client.
Set Connection Host, Port
- Host : test.mosquitto.org
- Port : 8080
And Connect
Finally, you can subscribe W6100 topic.
And you can see the message from test.mosquitto.org which W6100EthernetShield published.
Comments