Other devices can connect to that server and request data from the Photon in that way.
Note this only works locally. It does not work through Particle’s cloud, but if the other devices are on the same LAN as the Photon/Ethernet Overlay then it should work for you. The WizNet W5500 chip this overlay uses supports up to 8 clients if memory serves me correctly so if you have several devices that need to connect you’ll want to make sure those devices connect, get their data, then close the socket.
If you have any other questions please let me know.
I will be powering these from a 24v battery bank, not sure if you have any adapter boards that have 3.3/5v voltage converters on board that you would recommend or not. I can provide a external dc to dc converter if needed.
I picked up 6 of the Ethernet Overlay Shield’s and the smaller bottom boards that allow me to put a Photon and this Ethernet adapter on the same shield.
I’ve never used the TCP Server code before but I have used an Arduino with a different WizNet W5500 ethernet breakout to allow an Arduino to push data over the internet.
Do you have any advice, links, or examples that you could point me to that would provide an example showing the code that would allow somebody to connect and then ask for data that is saved in variables stored on the Photon?
I’m going to keep looking for examples for this regarding the Wiz5500 module but wanted to ask since maybe you have this info in an easy to share format.
I’m going to need to buy 30-40 more of these once these are up and running correctly.