-
Notifications
You must be signed in to change notification settings - Fork 3
Home
taylor edited this page May 13, 2019
·
6 revisions
Welcome to the W6100EVB-MQTT wiki!
Common to Any MCU, Easy to Add-on. Internet Offload co-Processor, HW TCP/IP chip, best fits for low-end Non-OS devices connecting to Ethernet for the Internet of Things. These will be updated continuously.
This is MQTT Example that connecting to test.mosquitto.org via IPv6 and subscribing topic of W6100. And you can publish by your self every 10 seconds when you defined PUBLISH_MYSELF
value as 1
.
- W6100EVB
- connecting Micro usb.
- connecting Ethernet cable.
In case of used to TrueSTUDIO, It is the same as HTTP Server example.
-
Demo Environment & Program
- Windows 10
-
Hercules
- Windows 10
-
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.
- main.c code flow
-Test packet capture file : W6100EVB-MQTT.zip
- Power On and push Reset button to start Program