EHS8 Sms | Telit Cinterion IoT Developer Community
February 25, 2018 - 8:39am, 3000 views
Hey there,
I'm moving from a BGS2-W to the EHS8 and have an issue with sending a text message.
I set text mode (CMGF=1) then attempt to send the text with CMGS=021******,$0d (where the xx's are the rest of the phone number). I usually just wait 500ms then send the ascii messge followed by $1d however immediately after the number and $0d I get a "+CMS ERROR: opration not supported",$0d,$0a message from the module.
The module is registered on the home network, is using the sim for storage, can make calls and can receive texts without issue. I have used the sim in a phone and it can send texts fine. I have checked the message centre number and that's also fine.
Any ideas why I can't send SMS's?
Hi,
With EHS5/6/8/ELS61, please use the format with "":
AT+CMGF=1
AT+CMGS="021******" <CR>
>message <CTRL-Z>
Some operators also prefer "+country code phone number"
Best Regards,
Antero
Antero Markkula
Communication and Mechatronics
Enkom Active Oy – www.enkom-active.fi
Upseerinkatu 3 A, 02600 Espoo, Finland
Mobile: +358 400 411368
Office: +358 10 204 0000
Fax: +358 10 204 0010
E-mail: antero.markkula@enkom-active.fi
Ah, that's the trick! So the manual is incorrect? Might be worth updating!
Thanks
Mark
Hello,
Could you point out what exactly is incorrect in the document and which particular document you mean?
For me the description seems quite clear.
Thanks,
Bartłomiej
Hey there,
The manual excludes the speech marks surrounding the phone number. It states:
AT+CMGS=<da>[, <toda>]<CR> Text can be entered. <CTRL-Z>/<ESC>
When you actually need to send:
AT+CMGS=“<da>“[, <toda>]<CR> Text can be entered. <CTRL-Z>/<ESC>
The BGS2-W does not need the speech marks when sending the same command. As the code I am using came from the BGS2 lack of speech marks stopped it working
The document I am referring to is “Cinterion® EHS8 AT Command Set ” section 12.7
Thanks!
Mark
Just for reference, the BGS2-W AT command manual says:
AT+CMGS=<da>[, <toda>]<CR> Text can be entered. <CTRL-Z>/<ESC>
which as you can see, is identical to the EHS8 even though the EHS8 ***** the speech marks to work.
Thank you for this information. You are rignt that quotation marks are misssing.
Best regards,
Bartłomiej