Unless you pay your server provider to have a 'fixed IP address', the Modem's IP address is dynamically assigned. Therefore, there is no way to determine what it is from the phone number. It's like asking someone to provide a PC's IP address based on the street address.m_h_heydarchi said:Is there any way to find IP of the phone number?
Is there any services for this purpose?
No service provider that I'm aware of has this service.m_h_heydarchi said:Hi GSM Man
I have a different viewpoint in this case.
Whereas the service provider assigns IPs to clients, it can have a lookup table that contains every IP and phone number. Then we need a command for request the IP of phone number.
But perhaps it hasn't the lookup table or command that provides this service for us.
The 'AT' commands that control the phone and GSM sub-systems of the radio are defined by ITU-T and ETSI standards that all manufacturers follow. However, there is not currently any standard that defines a set of 'AT' commands for GPRS communications. Due to a lack of a standard every manufacturer defines their own proprietary set of commands for controlling GPRS.Symmetry TME said:Here is a basic guide for GPRS connections using Telit modems.
**broken link removed**
IN THE FIRST MODEM I SHOULD HAVE RECEIVED THE STRING BUT I DONT.
Somewhere I am making some mistake... Can anyone please tell.
AT+CGATT=1
AT+CSNS=4
AT+CSTT="Internet","",""
AT+CIICR
AT+CIFSR
AT+CLPORT="TCP","8080"
AT+CIPSERVER
AT+CIPSEND
AT+CIPCLOSE
AT+CIPSHUT
AT+CGATT?
AT+CSNS=4
AT+CSTT="Internet","",""
AT+CIICR
AT+CIFSR
AT+CIPSTART=”TCP”,”188.33.176.204”,”8080”
AT+CIPSEND
AT+CIPCLOSE
AT+CIPSHUT
Thanks alot , I used theses codes and managed to send data from client to server but not from the server to clientBest working way to connect two modems knowing their ip address is:
SERVER:
CLIENT:Code:AT+CGATT=1 AT+CSNS=4 AT+CSTT="Internet","","" AT+CIICR AT+CIFSR AT+CLPORT="TCP","8080" AT+CIPSERVER AT+CIPSEND AT+CIPCLOSE AT+CIPSHUT
Try it. Works for me on my sim300/548Code:AT+CGATT? AT+CSNS=4 AT+CSTT="Internet","","" AT+CIICR AT+CIFSR AT+CIPSTART=”TCP”,”188.33.176.204”,”8080” AT+CIPSEND AT+CIPCLOSE AT+CIPSHUT
Best working way to connect two modems knowing their ip address is:
SERVER:
CLIENT:Code:AT+CGATT=1 AT+CSNS=4 AT+CSTT="Internet","","" AT+CIICR AT+CIFSR AT+CLPORT="TCP","8080" AT+CIPSERVER AT+CIPSEND AT+CIPCLOSE AT+CIPSHUT
Try it. Works for me on my sim300/548Code:AT+CGATT? AT+CSNS=4 AT+CSTT="Internet","","" AT+CIICR AT+CIFSR AT+CIPSTART=”TCP”,”188.33.176.204”,”8080” AT+CIPSEND AT+CIPCLOSE AT+CIPSHUT
First solution is to buy static ip, second solution is to send by SMS actual IP adress. There is no other way :/ But i may be wrong. You should ask your local GSM provider about services providing IP adress knowing only telefone number.IP how can I know my ip. its changing while every try.
so make me solution about it.
First solution is to buy static ip, second solution is to send by SMS actual IP adress. There is no other way :/ But i may be wrong. You should ask your local GSM provider about services providing IP adress knowing only telefone number.
i understand your problem. If you want to build for example GPS vehicle tracking system with GSM modem comunication best solution is to buy static ip. There is no other way to build stable system.with this say I am to tell something for example there is a system that contains 2 different station and 2 of them has gprs modem
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?