Thanks for this info.
So, if I understand correctly, it seems that it could work like this:
- I install my app on the teacher tablet and the 20 student tablets.
- I connect all tablets to the local wi-fi network (just a local router, most often with no Internet connection).
- I run the app on each tablet at least once initially to get the service to start (and to restart at reboot in future)?
- If the service is configured correctly, it will be able to listen as long as the tablet is turned on. (It could be sleeping, awake and locked, awake and unlocked, running the app, running another app, whatever).
- The teacher runs the app on their tablet, and presses a button to start the test.
- The service on each student tablet receives a messsage from the teacher tablet to start the test. (The actual P2P communication is probably best discussed in a separate thread on discovery, TCP sockets, UDP, etc.).
- After the test, the teacher's app tells the student tablets to go back to sleep (or does it just not send any messages, and the student tablets just sleep based on their own inactivity?)
Anything here that I've got wrong so far?
(BTW, this is for provincial schools in Cambodia. Tablets are *magic* for kids and teachers alike. ;^)
Thanks again!