Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AT command to register to network

Tags:

c#

modem

gsm

I am trying use a ZTE Modem for testing purpose to send and receive sms on c# application. This is the modem I am using. http://www.flipkart.com/zte-mf190-3g-data-card/p/itmdhhrb6jwx9gjs.

I am facing a problem when the software that is comes with the device is open, the device is registered to network as soon I close that software, the light on modem become red.

I thinks that the software comes with device sending a command to modem to register to network, but don't know which

I tried with AT+COPS=0

but no luck.

Any suggestions?

like image 398
Mani Avatar asked Aug 31 '25 18:08

Mani


2 Answers

You can try with

AT+COPS=1,0,"network long alphanumeric name"

this AT command is to try forcing manual connection.

Visit this page for more information http://m2msupport.net/m2msuppor. There you can find also the option to download an AT COMMANDS TESTER, that is really useful.

like image 182
Gustavo Azogue Avatar answered Sep 02 '25 08:09

Gustavo Azogue


You must consider that any 3G device like this will have at least 3 states. Unregistered to network, registered to network (SIM active), connected to internet gateway.

Software must move the device between these states through AT commands, or at the very least hardware signals

As a serial connection, only one piece of software can have control - You must accept the AP interfaces provided by the vendors software, or write your own - You can't depend on the manufacturers software to initiate the connection, and hope you can piggyback on it without the device closing connectivity on exit

like image 30
user2314105 Avatar answered Sep 02 '25 09:09

user2314105



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!