Is it possible for the Server that can call GSM/GPRS modules on demand basis

sb10

Reputable
Nov 21, 2014
1
0
4,510
I am working with a project on communication between SIM900 GSM module and a server. Project consist of a client device(enabled with gsm/gprs) and a server system. The client can communicate with server on demand but how can the server communicate to a GSM/GPRS module on demand (since the GSM/GPRS module doesn't have a static but only dynamic ip).

Client can poll the server every-time but its not the method what we are looking for but - the Server should call GSM/GPRS modules on demand basis, how we can do that?
 
Solution
This problem is already on my to-solve list. I believe you need to have the remote device open a connection to the server, and keep it open. The server then sends any requests down that connection.
You are pretty much stuck with the client polling. Only the client really knows when its ip changes. The client would in effect have to report in ever time this happens. dynamic dns is the solution used for the more common users but when it is your app it might as well tell the server directly.

Pretty much what you have is a variation of what is solved using DMVPN when you have any-any communication but the end stations may change ip. Since it is impossible to setup any to any vpn tunnels when you have hundreds of nodes that may change at any time. Although this is a special routing method it is the same concept and all the devices report into a central server that then informs everyone else of the ip changes.