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
-
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
1 out of 3
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Raspberry Pi 5: invalid GPIO 9
Troubleshooting • 27 Aug 2024, 13:20 • igo 27 Aug 2024, 13:20 -
Some sensors permanently fail after one/two years
Troubleshooting • 25 Jul 2024, 17:17 • Kokosnoot 25 Jul 2024, 17:17 -
Arduino nano and Uno in same My sensors network with NRF24L01+
Troubleshooting • 26 Jul 2024, 10:30 • DIY89 27 Aug 2024, 09:59 -
Getting system time from the controller
Troubleshooting • 10 days ago • dpcons 6 days ago -
NODs stop responding, but ping works.
Troubleshooting • about 8 hours ago • Marcin about 8 hours ago