"short message transfer rejected" m590 device - runtime-error

Im trying to get a M590 circuit to send a GSM/GPRS SMS,
I have communication with the cirtuit using serial communication using PUTTY.exe
on power on the M590 starts up, giving the following printout:
MODEM: STARTUP
+PBREADY
It has registered to the GSM network since
+AT+CSQ ;given as input gives
22,2
+AT+CREG?
+CREG: 0,1
to sen an SMS i enter the following (Ok is the response recieved)
+AT+CMGF=1 ;ie set mode text
OK
+AT+CSCS="GSM" ;ie GSM coding of chars
OK
+AT+CMGS="+46739550618" ; the sending command (my phone ;)
"hii" ctrl-z
... it goes away a while
ERROR

Instead of ctrl z, you can try : push alt then 026 and then release alt. It did work for me.

Related

AT+CGATT? returns "ERROR" from SIM800C module when connected with Arduino

I have used the SoftwareSerial library and Serial interface to communicate between SIM800C and Arduino in serial communication mode.
I gave
AT
AT+CSQ
AT+CGATT?
AT+SAPBR=3,1,"CONTYPE","GPRS"
etc via Serial monitor. When I used it for the first time, these commands worked fine.
But I put the sim back to my android phone to find the correct APN for 2G settings.
After I found out the APN settings, I put the sim back to SIM800C and tried the above commands.
AT and AT+CSQ return OK.
But
AT+CGATT?, AT+SAPBR=3,1,"CONTYPE","GPRS" return ERROR.
Then I try following commands too If someone needs to help me find the answer to this question.
I'm a beginner, so I don't need exactly what these commands mean. So if you need more details to ask me.
My intention is to send data to a website.
AT+CREG?
+CREG: 0,0
OK
at+cgreg?
+CGREG: 0,0
OK
AT+CGATT?
ERROR
AT+COPS=?
+COPS: (1,"Hutchison Lanka (Pvt)","Hutch","41308"),(3,"Mobitel","MOBITEL","41301"),(2,"CELLTEL INFINITI","CELLTEL","41303"),(3,"DIALOG","DIALOG","41302"),,(0-4),(0-2)
First, You're not registreted in the network. Second, do CGATT=1 If you get error wait, because attach can take a time. Even up to 13,5min. Read 3GPP docs about registering to the network and about GPRS attach procedure.

HM10 BLE 4.0 Send AT Commands instead of passing through serial

When I send any commands to the HM10 BLE Bluetooth module, it sends the commands through bluetooth instead of the HM10 module processing the command. For example, I expected to send AT and have the module respond with "OK", but it sends the text "AT" through the bluetooth connection. I have tried sending the command with no bluetooth connection and the same thing happens. I have also tried sending the command via bluetooth instead of the serial connected to the device and I get the same thing.
When HM10 is connected to remote ble device it is in transparent mode. To put it into AT mode you need break connection or not establish it at all.
For breaking connection use reset/break pins. Reset is 12 pin and Break seems to be 23 pin.
It has sense to look IMME parameter of the module (page 32 of datasheet).
IMME Query/Set Module work type
1: When module is powered on, only respond the AT Command, don’t do
anything. Until AT + START, AT+CON, AT+CONNL commands is received.
0: When power on, module will start work immediately Default: 0
Also be carefull with strings endings, usually string doesn't need to be terminated with any symbol at all: AT, but some H11 need the string to end with CRLF: AT\r\n
Maybe (Maybe) your problem because of using clone module, try this solution with upload genuine firmware to your hm-10.
How to flash genuine HM-10 firmware on CC2541
I had problem close from your problem but for me no matter what I send I don't receive anything even to connected device, but after I upload that firmware, and change Module work mode to 1 (AT+MODE1) become able to send command even from connected device.

ESP8266 Wifi Module - prints "ready" but not responding to AT commands

Just received my first ESP8266 wifi module with some excitement. However I've been unable to fully communicate with it. I have connected the module to my computer via a usb to serial cable and I'm power the module via a separate power supply (3.3v).
After powering the module up I receive the following information (via PuTTY or and Arduino serial monitor window):
[Vendor:www.ai-thinker.com Version:0.9.2.4]
ready
I have tried sending various AT commands e.g.
AT+RST
But I get no response. Using ctrl+m and ctrl+j in putty didn't help either.
Please see my youtube video if its helpful:
https://www.youtube.com/watch?v=RvasOuHuWDc
To get AT OK .
1.AT + PRESS ENTER + THEN CTRL +J WILL GIVE OK
2.Then Enter commands to execute
eg AT+GMR ->presss enter then ctrl+j
to get firmware
repeat step 1 for each command.
Make sure that you have putty or the Arduino serial console configured to send both a newline \n and a carriage return \r character. So AT+RST actually ends up being AT+RST\r\n. This took me a bit when I first received my ESP8266 modules. On the Arduino serial console this option is at the bottom of the window. I can see in your video you have it set to no line ending. Hopefully that does it for you.

AT Commands CMGS return ERROR

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.

Is my SIM card faulty or is my provider annoying me?

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.

Resources