I put this script in a Hyperterminal console.
AT+CNMI=1,1,0,1,0
OK
AT+CMGL="ALL"
OK
+CMTI: "SM",1
AT+CMGR=1
+CMGR: "REC UNREAD","+33659382587",,"12/08/22,21:42:28+08"
Coco
OK
AT+CMGD=1
My promblem is the console freeze and I get no response when I sent the command AT+CMGD=1
( this command deletes the SMS #1 ), but in my case the delete action doesn't work.
What could be the reason ?
Thanks.
Related
I am trying to send the data using GPRS sim800a but I am getting network error , before executing the AT+SAPBR=1,1.Signal strength will be good but as soon as AT+SAPBR=1,1 is executed, led starts blinking continuously and returns response code 601.I am using putty terminal.
Can anyone please help me how to resolve this issue? Here is the AT commands used and the responses I got
AT
OK
AT+CGATT=1
OK
AT+SAPBR=3,1,"Contype","GPRS"
OK
AT+SAPBR=3,1,"APN","airtelgprs.com"
OK
AT+SAPBR=1,1
OK
AT+HTTPINIT
OK
AT+HTTPPARA="CID",1
OK
AT+HTTPPARA="URL","IP/path:PORT"
OK
AT+HTTPPARA="CONTENT","application/json"
OK
AT+HTTPPARA="USERDATA","'X-M2M-Origin': "S006"\\r\\n 'Content-Type':'application/json;ty=4'\\r\\n 'Cache-Control':'no-cache'\\r\\n 'Accept':'application/json'"
OK
AT+HTTPDATA=30,80000
DOWNLOAD
{
"m2m:cin":{
"con":"FIRE"}
}
ok
AT+HTTPACTION=1
ok
+HTTPACTION:1,601,0
I am trying to execute USSD codes through my GSM modem. When i try USSD command which gives me some option, it is executed but i can't get any operation done from the options.
AT+CMGF=1
OK
AT+CSCS="GSM"
OK
AT+CUSD=1,"*101#",15 (To check balance)
OK
+CME ERROR: 264
AT+CUSD=1,"*17108#",15 (To get a data pack)
OK
CUSD: 1,"1.Datapacks
.Voicepacks
.SMS Packs
.Billing info
ote:
Back:* Top:#",15
AT+CUSD=1,"1"
OK
+CME ERROR: 264
I have a problem with my pl2303 converter. I'm using two of them like this:
LAPTOP <-USB-SERIAL-> <-SERIAL-SERIAL-> <-SERIAL-USB-> RASPBERRYPI
In other words, I'm connecting Raspberry Pi with my laptop using two usb-to-serial converters and having null modem in the middle.
I can communicate through minicom and "visually" it looks fine (all information is sent properly), but when I look into the logs it produces following dmesg output:
[ 343.390610] pl2303 ttyUSB1: pl2303_get_line_request - failed: -32
[ 343.685367] pl2303 ttyUSB1: error sending break = -32
I could live with that as long as everything works fine... but it doesn't. For example, I can't connect with RPi via ser2net. The "other side" simply doesn't get the messages. I suspect that this error is the cause of this problem. I was googling around, but I didn't find any solution. Could somebody help me with it?
Also - when I try to connect via ser2net, one thing breaks. Before that I can to stuff like
cat -v < /dev/ttyUSB0
and
echo "blablabla" > /dev/ttyUSB0
with success. After I try to connect via ser2net, it stops working and only minicom communication is fine.
I am using php version 5.3.10 and asterisk version 1.8.22.0.
I am registering one customer of a2billing in softphone and dialing one number.
In asterisk i am getting below result:
<SIP/myip-0000004c>AGI Tx >> 200 result=1
<SIP/myip-0000004c>AGI Rx << Connection failed
<SIP/myip-0000004c>AGI Tx >> 510 Invalid or unknown command
[Dec 30 07:59:16] ERROR[28331]: utils.c:1343 ast_carefulwrite: write() returned error: Broken pipe
[Dec 30 07:59:16] ERROR[28331]: utils.c:1343 ast_carefulwrite: write() returned error: Broken pipe
-- <SIP/myip-0000004c>AGI Script a2billing.php completed, returning 0
Does anybody have any idea what is the issue?
I am getting correct credential in AGI when it is trying to connect and using those credential i can connect in mysql but from CLI> i am getting connection failed error.
Thanks in advance.
You need to install php5-adodb and libphp-adodb.
I am using a GSM module ACM8060.
When I try to send SMS using AT commands it returns ERROR but when sms sent from a cell phone using the same SIM it sends successfully.
+CREG: 3
AT+CMGS="nnnnnnnnnn"
ERROR
AT+CREG?
+CREG: 1,3
OK
AT+CMGF=0
OK
AT+CMGF=1
OK
AT+CMGS="nnnnnnnnnn"
> hello [pressed ctrlZ here]
ERROR
where nnnnnnnnnn is a 10 digit mobile phone no.
Which setting in the module could be wrongly set. It was working earlier.
And similar in case of TCP at AT+AIPA=1 it is giving ERROR: 301. Again it works with a cell phone. Which setting to look for?
I suggest turning on verbose error codes using ATV1 so you get more information than simply ERROR. You should then receive an error code like +CME ERROR: xxx or +CMS ERROR: xxx where the xxx will be a detailed error code.