Say we have hundreds of WiFi clients that pretend to connect to a single router. The firmware on the clients is modifiable.
I'm aware the routers can handle only few dozen of clients at time. Because I need to minimize the period of each client can successfully connect I'm looking for a way to minimize retries.
One thought is:
- on power up each client tries to connect (and then only few actually can)
- after exchange data they say "goodbye" to the server but before disconnect it sends the next connection slot in seconds (i.e. try again after 150 seconds)
- to send a reliable interval, the server should be aware of how many clients are active now, and it cannot know this (the machines are powered on/off as required by users)
- to overcome this we can assume that all devices are active, but of course is not optimized at all!
- in any case, I estimate: 4-5 seconds for connection (best scenario) + 1 second for exchange data + 1 second for disconnection. So if each device keeps busy a slot for, say, 7 seconds and the router can handle 50 clients, in the best scenario 200 clients can be cycled in about 30 seconds... a bit too high for the ideal requirements.