5 Replies Latest reply on Aug 19, 2016 9:07 PM by FGT

    Webserver Ethernet(Galileo) Ex., eglibc img., etc.

    FGT

      WebServer example in the Arduino IDE, Ethernet(Galileo) :

      Examples --> Ethernet(Galileo) --> WebServer

       

      WebServer.ino

      1) It works as expected (i.e changing only the MAC address) if the Intel Galileo is turned on without any SD-Linux image

      2) It does not work if the Intel Galileo is booted with the eglibc image (iot-devkit-prof-dev-image-galileo-20160606.zip)

       

      Also, I attach two "simpler" versions of the webserver sketch without MAC usage and without SPI.h usage, taking advantage of function "system" available in Intel Galileo:

      1) WebSrvrNoSD.ino is expected to be used in an Intel Galileo booted without any SD-Linux image

      2) WebSrvrEglibc.ino is expected to be used in an Intel Galileo booted with the eglibc image (iot-devkit-prof-dev-image-galileo-20160606.zip)

       

      Both sketches "serve" HTTP in port 80, and differences are in the setup() function, as expected...

       

      Fernando.