Ethernet Gateway Sketch : How to send back sensors value



  • In the Ethernet gateway Sketch, there is a callback routine writeEthernet with just one command"server.write(writeBuffer);" .
    But i don't understand how to specify IP and port destination and thru which protocol (TCP,HTTP,UDP,..).
    Any idea ?

    Regards


  • Admin

    The gateway acts as a server. You'll have to connect to it from the controller.



  • So, connected less protocol (Http,udp,..) couldn't be used with this basis sketch. As i'm looking for a Http interface with Imperihome , i'm interrested by any idea about how to.

    Thanks


Log in to reply
 

Suggested Topics

  • 3
  • 24
  • 2
  • 10
  • 2
  • 2

30
Online

11.2k
Users

11.1k
Topics

112.5k
Posts