(0)| 5/19/2017 10:11 PM | |
|
Posts: 59 Rating:
|
this command returns the MAC address of the ethernet port:
|
| 5/23/2017 1:24 AM | |
|
Posts: 37 Rating:
|
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 (1178 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 to
|
|
| 5/26/2017 8:30 PM | |
|
Posts: 59 Rating:
|
I have the debugger working with Eclipse NEON. |
This contribution was helpful to
|
|
Follow us on