I like to control a Particle Photon with an app over the local network. I implemented a webserver (https://www.kasperkamperman.com/blog/particle-photon-rgb-remote-local/) but I think it’s unnecessary overhead. Just sending commands over “raw” tcp will do.
I’m curious what will be a good port and service name for this. Of course you can pick anything, but maybe there are some conventions.
I saw that Evothings used port 23 (telnet).
I’ve found myself the “raw-serial” service in the iana registry with port 2167.