I want to make a local use Spark implementation, I already have a version working that uses the cloud, but the area has intermittent internet access, so I want to cut out the cloud side of things.
I think I’ll make a server/client type of relationship, but am unsure how I should do it. Should I make the core a server, or make the core a client, with a server app on a mobile phone? I just want to have the two components, not to have a third gadget doing the serving. The environment where I’ll deploy already has a WIFI network in place.
I’ve never successfully made a server and client, so will have to start really basic. I haven’t been able to find a server example that I could make work yet.
The data to be transmitted is low volume. I want to have confirmation of connection, an on/off state sent, and a speed signal sent. The on off needs to be pretty realtime, within a second or so, and when active, it will then send the speed info, for about 4 minutes or so.