Created: 2 April 2020 | Modified: 2 April 2020
Internet Offload co-Processor, HW TCP/IP chip, best fits for low-end Non-OS devices connecting to Ethernet for the Internet of Things. This is MQTT Example that connecting to test.mosquitto.org via IPv6 and subscribing topic of W6100.
Example Repo : https://github.com/WIZnet-ioLibrary/W6100EVB-MQTT
Hardware Environment
- W6100EVB
- connecting Micro usb.
- connecting Ethernet cable.
Software Environment
In case of used to TrueSTUDIO, It is the same as HTTP Server example.
Run
- Demo Environment & Program
- Windows 10
- Hercules
Demo Result
- Power On and push Reset button to start Program
- Program Run Serial display
- The W6100EVB connects to test.mosquitto.org and subscribes to W6100 topics.
- Run web browser and access HIVEMQ Web Socket Client.
- Set Connection Host, Port
- Host : test.mosquitto.org
- Port : 8080
- And Connect
- Finally, you can publish on W6100 topic.
- And you can see the message from test.mosquitto.org.
Code review
- main.c code flow
- Test packet capture file
- Test packet capture file : W6100EVB-MQTT.zip
Originally published at https://github.com.