Hello sir, I have a problem with IP address. I am using a sim card with static IP address and I can see the address with "AT+SAPBR=2,1" command. After GPRS connection I am creating a TCP server with "AT+CIPSERVER=..." command. Then, I am asking the IP address of TCP Server with "AT+CIFSR" and the module shows me a LOCAL IP Address !!! Why? Can you help me if have any idea? Thanks in advance! Best regards.
i have a simcard with static IP inserted into SIM900 and i can not write arduino code to make sim900 act as a tcp server to receive data from socket test i need an urgent help please ????
Hello Ravi, I have the same problem with my equipment and some SIM providers in Spain (not all, only virtual ones). Did you find a solution? Javi Regards,
after installing firmware i m trying to get a OK command by sending AT command through arduino to sim908 but i m not able to get a response??? please help me ???
+sharad bansal first check if you can get response from terminal software. And may be the baud rate of the module is set to auto baud mode. So always send a capital AT as first command
I need to send data from server to my h/w device via Sim900. How do i do that? Sending via SIM900 was pretty straightforward, but i am difficulty receiving data. Can you plz guide me on how to proceed?
You cannot directly send data from server to module. The module has to initiate communication and the server can respond to it. Using SIM900 as TCP server is difficult due to network limitations. I have explained it in this video why it is so. You can make the module poll the server for data repeatedly.
Yes i agree. Making module a TCP server is a huge process. So how do u suggest I poll data from server? In my scenario, I am sending data repeatedly from my device to Server. Only in case of abnormality, the server shall send back data to device. I earlier used AT+CIPSEND command to send. To poll data from server is there different command? If not then how should i make the approach?
If you are sending data from server back. You can store the message for each device in a database and return it to device whenever it connects to server for sending data. Just reply back on the TCP connection like i have showed on the Socket test demo
Thanks Ravi. I did try socket test making my system as server and module as client, but i am getting TCP CLOSE error. Also to add, what actually happening is server shall ping "Device1 you have 4 messages", and based on client/device response availability it shall send the messages. ie from client prospestive 1.get ping from server 2.response to ping 3.get message data from server Please advice. Thanks so much.
Hey, Sorry if i am disturbing you, but i found a way. AT+QINDI and AT+QIRD works for data receive and retrieve for M95 GSM module. Can you help me find the equivalent AT for SIM900? Thanks so much
is it possible (as TCP/IP server) using SIM7600E?
Hello sir, I have a problem with IP address. I am using a sim card with static IP address and I can see the address with "AT+SAPBR=2,1" command.
After GPRS connection I am creating a TCP server with "AT+CIPSERVER=..." command. Then, I am asking the IP address of TCP Server with "AT+CIFSR" and the module shows me a LOCAL IP Address !!!
Why? Can you help me if have any idea?
Thanks in advance!
Best regards.
i have a simcard with static IP inserted into SIM900 and i can not write arduino code to make sim900 act as a tcp server to receive data from socket test i need an urgent help please ????
In socket test software while connecting from my ip address is shows connection refeuse please help in that
It means socket is not open on other end.
Dont forget to share and Subscribe :)
@@RaviPujar How to open socket on other end
Hello sir.....Is it possible to create OPC UA client using simcom GSM Modem integreated with STM uC .
Hi Ravi, i have a question. after making GPRS connection do you keep the connection alive always or it will be alive when sending TCP packets only?
It depends, if there is long gap to send packets, tcp connection is closed because servers timeout after a while.
@@RaviPujar what's your recommendation or best practice?
Thank you for the tutorial. I have a question, connection tpc from client to server is aprox 4 seconds, how i can do it faster?
Thank you por reply.
Hi Johnny, Thanks for the appreciation. Its 2G network limit. And also the server response delay adds to it.
Hello Ravi,
I have the same problem with my equipment and some SIM providers in Spain (not all, only virtual ones).
Did you find a solution?
Javi
Regards,
I use a intermediate server. Its just not possible with the current networks.
Thanks for watching . Dont forget to share and subscribe :)
Sir, can we somehow transmit the aprox GPS coordinates obtained?
How do you want to transmit?
Approx GPS coordinates means network location?
how are you getting the response ok by sending AT command?
i m having this problem
+sharad bansal AT what part you are getting the problem? After loading the firmware?
after installing firmware i m trying to get a OK command by sending AT command through arduino to sim908
but i m not able to get a response???
please help me
???
+sharad bansal first check if you can get response from terminal software. And may be the baud rate of the module is set to auto baud mode. So always send a capital AT as first command
can you send me sample code how to set the module to auto baud rate ad after that i will try to to get response.Please
+sharad bansal just enter command AT+IPR=0
hello sir, can i use SIM800?
For what Mithun? as TCP server.?
SIM900 and SIM800 both are same when it comes to this issue. The problem is on network side not on module side.
can you give me the guide AT file that you show in the video?
Do you mean the SIM900 TCP IP application note?
+Ravi Pujar yes ! please
Here it is
researchdesignlab.com/projects/SIM900_AN_TCPIP_V100.pdf
thank you so much
Please Raji,
Can you make a video about user GPIO PWM with SIM900?
Thank you that.
Hi Edson,
Sure will try to do .
Thank you for watching and Dont forget to Subscribe :)
I need to send data from server to my h/w device via Sim900. How do i do that? Sending via SIM900 was pretty straightforward, but i am difficulty receiving data. Can you plz guide me on how to proceed?
You cannot directly send data from server to module. The module has to initiate communication and the server can respond to it. Using SIM900 as TCP server is difficult due to network limitations. I have explained it in this video why it is so. You can make the module poll the server for data repeatedly.
Yes i agree. Making module a TCP server is a huge process. So how do u suggest I poll data from server? In my scenario, I am sending data repeatedly from my device to Server. Only in case of abnormality, the server shall send back data to device. I earlier used AT+CIPSEND command to send. To poll data from server is there different command? If not then how should i make the approach?
If you are sending data from server back. You can store the message for each device in a database and return it to device whenever it connects to server for sending data. Just reply back on the TCP connection like i have showed on the Socket test demo
Thanks Ravi. I did try socket test making my system as server and module as client, but i am getting TCP CLOSE error.
Also to add, what actually happening is server shall ping "Device1 you have 4 messages", and based on client/device response availability it shall send the messages.
ie from client prospestive
1.get ping from server
2.response to ping
3.get message data from server
Please advice. Thanks so much.
Hey, Sorry if i am disturbing you, but i found a way. AT+QINDI and AT+QIRD works for data receive and retrieve for M95 GSM module. Can you help me find the equivalent AT for SIM900? Thanks so much
you are the men...