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
744 views 2 comments
by
Hi,

I would like to read incoming SMS in PDU mode. (non English). I use the following command to list all incoming SMS:

root@TRB140:~# gsmctl -S -l all

and this is what I get:

Index: 3

Date: 2020-03-17 10:10:24

Sender: +972526726565

Text: ▄▄▄▄

Status: read

------------------------------

or:

root@TRB140:~# gsmctl -S -r 3

Index: 3

Date: 2020-03-17 10:10:24

Sender: +972526726565

Status: read

Text: ▄▄▄▄

Is there a way to list and read incoming SMS in PDU mode?

Thank you.

Michael

1 Answer

0 votes
by anonymous
Hello.
Yes it is possible, I checked and it works.
To read SMS in pdu mode, you must use the command : gsmctl -A AT+QSMSR
More information: 
I used this converter to convert from PDU to text format.
Regards.
by

Hello,

Thank you for your answer. I tried this command:

gsmctl -A AT+QSMSR=?

and got this response: +QSMSR: <index>[,<opmode>]

I tried this command: 

gsmctl -A AT+QSMSR=3

and got the response "OK"

Can you please tell me what am I doing wrong? I don't get the incoming SMS in PDU mode.

Thank you.

Michael

by

Hi,

I am able to read incoming SMS using this command:

"gsmctl -A AT+QSMSL=4

You may close the case.

Thank you.

Michael