FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
739 views 5 comments
by

we´d like to use the  TRB142 for a existing SMS Application with RS232

we need the comands AT+CMGR=1, AT+CMGF=1, AT+CMGS="+49...."

does the TRB142 support these comands?

e.g. for  AT+CMGR=1 we do not get the correct response

AT+CMGR=1

OK

should be e.g. for empty memory 1

AT+CMGR=1

+CMGR: 0,,0

OK

pleas let us know if there is solution

EC25&EC21_AT_Commands_Manual 125 / 239 

1 Answer

0 votes
by anonymous

Hello,

TRB142 does support these AT commands. Which device firmware version and modem firmware version you are using? I was able to send messages using these commands:

gsmctl -A AT+CMGR=1

gsmctl -A AT+CMGF=1

gsmctl -A AT+CMGS="+3706...."

Regards.

by

who in the the world is using ..... gsmctl -A ???  ....   we cannot use gsmctl -A  .... !!!!

does it work with pure AT+CMGR=1 

otherwiese it is not posible to use this modem for our Applications 

by anonymous
Hello,

It works with pure AT commands to if you are using serial connection and serial client.

Regards.
by

yes we are using a RS232 connection and a terminal program - the raction is:

AT+CMGR=1
OK

this ist wrong...

should be 

AT+CMGR=1
+CMGR: 0,,0
OK

is there a setting wrong?? 

by anonymous
Hello,

I could not reproduce your issue, have you tried using AT+CMGF=1 first to instruct the modem to operate in SMS text mode?

Regards.
by

yes in text mode

if SMS in memory1 the answer is ok:

AT+CMGR=1

+CMGR: "REC UNREAD","+4915012345678",,"14/07/09,19:06:47+08"

1234 OFF

OK

--> correct!

but if memory 1 is empty - the (AT+CMGD=1)

then for 

AT+CMGR=1

answer should be 

+CMGR: 0,,0

OK

the answer is a single - OK

--> not correct!

this is the problem if the +CMGR: 0,,0 is not in the answer we cannot use the Modem for our applications 

 (you can compare with all common modems -  Siemens modem TC35, BGS2T, .... ) 

--> pleas let us know if there is a solution