First of all I'll brief you about what I'm doing:
My project includes a device which will act as AP server(Access Point and Server) to which other device can connect and through UDP share some status messages to the AP server. However, number of devices in the vicinity will be quite high, can be more than 100 and all of them will try to connect to AP server simultaneously.
As a AP server, I'm using ESP8266. Since, we know that ESP8266 module has limitation in connecting to client devices(Max 4~5 clients can connect at a time), my first question is how to connect multiple clients to AP server, share some message and then disconnect the connection to allow other clients.
To this question, I'm thinking that if I can disconnect the clients from AP itself using deAuth() once the messages are shared then I can allow other Clients to connect. But there is no AT commands to force a client to disconnect by deAuth or through any other mode. That brings to my main question, how to create custom AT commands in ESP module?
Thanks
EDIT To explain the scenario a bit more, the ESP device will be placed in the SHOP. Users coming in to the SHOP will connect to the ESP module through their mobile App automatically and share some data. Since, random amount of users may come to the shop and if I do not disconnect them from ESP, other users won't be able to share the info.