I'm trying to establish a PPP connection using pppd and AT Commands. This usually works fine with a SIM card of my local provider. However, I received a card from a friend that is living in Germany and I wanted to give it a try from Switzerland but I have a very strange behavior.
First I cannot activate the error message (AT+CMEE), I always get the error message "ERROR" despite I activated the full verbose previously (AT+CMEE=2). This commands works with my local provider SIM card ...
Then if I check the network status:
AT+CGREG?
+CGREG: 1,3
Believing the "3", this means "Registration denied".
When I try to attach or detach, I always have an error without more explanation (Despite AT+CMEE=2):
AT+CGATT=0
ERROR
AT+CGATT=1
ERROR
AT+CGATT?
+CGATT: 0
OK
I can send SMS with AT commands! Putting the SIM card in a phone, I cannot establish any call!
So is it possible to send SMS without the need to register to the network? Is it possible that error message reporting is deactivated on the SIM card? I'm wondering if this is a problem of configuration, a problem of the SIM card or a problem of provider...
Edit
If this could help someone. I tried to send an SMS when I'm detached from the network with my working SIM card, it works! Believing this website I guess my friend didn't pay the bill or my local network provider refuses me to use its network ...
Probably roaming of circuit switched data (GSM) is allowed. And roaming of GPRS service is not allowed.
AT+CGREG? returns status of GPRS registration.
AT+CREG? returns status of network registration (GSM/UMTS).
Try command:
AT+CREG?
It probably will return 5 (Registered, roaming).
SMS message sending works because it does not need GPRS. Attach and +CGREG stuff are all for GPRS.
Related
I need help at my GSM-Project. Somehow I am not able to connect to the Network. I already checked if I forgot something, but I don't think so. The LTE- and GPS-Antenna are connected correctly to the board and a valid SIM(my own for testing, without PIN) is inserted. I did manage to receive a Message and get some GPS-Informations(which had a little deviation). The "NET" indicator LED keeps flashing fast, which tells me that the module hasn't logged in to the Network, but I couldn't it explain to myself.
Here is a link to the module's Manual:
SIM7600E-H-4G-HAT-Manual
Try the AT+CREG? command to check the status of network registration.
So recently I've been working on some kind of project that uses arduino and esp8266 to make an HTTP get request from a basic website that I created. But somehow I messed things up while sending AT commands using the arduino Serial monitor. Now I doesn't accept any AT command and as soon as I open the Serial monitor I always get this message :
220---------- Welcome to Pure-FTPd [privsep] ----------
220-You are user number 19 of 500 allowed.
220-Local time is now 13:29. Server port: 21.
220-This is a private system - No anonymous login
220 You will be disconnected after 3 minutes of inactivity.
I'm just want to be able to communicate with it using its AT commands again .
Any help would be much appreciated :)
I am using Prolink PSH300 HSUPA GSM Modem connect to my laptop and using tera term to test the connect.
First I entered AT it will response me OK
AT
OK
AT+CMGF=1
OK
AT+CMGS="+6581XXXXXX" (then I pressed enter error was returned)
ERROR
Sometime it won't return me error but just hang there no > return.
Could anybody advise me what to do?
In your port initialization I would suggest you add these two lines-
port.DiscardOutBuffer();
port.DiscardInBuffer();
These will do a PurgeComm native WIN32 call, that will be resetting the hardware flow control lines.
Also add DtrEnable/RtsEnable = true lines to before opening the port connection.
Scenario: My nokia mobile conected to pc over bluetooth link.
commands: at (result ok), at+Cmgf=1(ok), but at+cmgs="mob.no">"hello"ctrl+z (result +cms error 500). I solved it by making a small change to extra initialisation setting in bluetooth modem. How, i explain here.
conrol panel -> phone and modem -> selected the blue tooth modem -> click properties. In the dialog window that opens goto advance tabs and change the existing extra initialisation commands: from whatever existed to any of the following as mentioned in the website below:
cksaheb.blogspot.in/2011/03/extra-initialization-command-for-gprs.html. My problem for sending sms solved.
I have the same problem. you must check antena connection.
Your GSM can't fine the network.
I want to send some pictures for a sever with a GPRS Module. At first i had a sim900 module and I could send data with it with these AT commands:
at+cgatt=1;+cstt="myapn";+ciicr;
at+cipstart="tcp","ip","port"
As I said with these commands I could send some data to my test server. But it encountered some problems and i've changed it with a Siemens MC55 GPRS Modem. But I can't run these commands any more for connecting to my server and i get ERROR.
How can I fix this problem?
AT data connection commands are inherently different from modem to modem. Do you have a copy of the user manual? The user manual is extremely good for the MC55i!
As a side note execute:
AT+CMEE=1
To improve the error reporting so that you get real error codes and not just ERROR
I have one GSM Modem Series 900. I want to test it for sending and receiving message to mobile. I can connect with this modem, but when I put my SIM Card and I type AT command like here:
AT: Status "OK"
AT+CPIN?: Status "+CPIN: PH-NET PIN"
AT+CPIN="xxxx": Status "Error"
I don't know why it can't connect with the SIM Card. So do you any solution to help me on this problem?
Thanks,
Sopolin
HI,
Check the end of this thread:
http://www.mail-archive.com/smartphones-standards#linuxtogo.org/msg00052.html
It seems that your modem is locked on a network, you´ll have to unlock it.
Is it second-hand or does it come from another country?
It seems that there are a lot of answers just searching for "+CPIN: PH NET PIN"