5/23/2017 1:24 AM | |
Posts: 37 Rating: (3) |
Hi,
Today I was trying the Adafruit MQTT library. I had to modify the library , because it didn't compile for the Galileo but then it worked. You don't need the local IP-address or MAC-address in the sketch, actually the whole "Ethernet" class is not needed for the IOT2000/Galileo because the interface it is already configured by the linux OS. Just use the EthernetClient class (and the "EthernetClient.h" header). See also the example I uploaded in another posting (just TCP, no MQTT).
That's exactly how it works. /update: in the attachment you will find a MQTT example including the Adafruit MQTT library adapted to the IOT2000/Galileo. Michael AttachmentGalileoMQTTTest-170523b.zip (519 Downloads) |
Last edited by: turner42 at: 5/23/2017 9:09:43 AMLast edited by: turner42 at: 5/23/2017 9:21:47 AM |
|
This contribution was helpful to1 thankful Users |
5/26/2017 8:30 PM | |
Joined: 2/14/2017 Last visit: 4/17/2023 Posts: 59 Rating: (9) |
I have the debugger working with Eclipse NEON. |
This contribution was helpful to1 thankful Users |
Follow us on