linux - minicom: AT+CMGR=n not showing the sms content -


i'm trying send , receive sms via huawei e153s usb hspa dongle connected ubuntu laptop. use minicom emulator make ssh connection. after doing configurations (setting serial ports, etc.) tried @ commands 1 one.

first set modem mode text mode at+cmgf=1. when entered at in terminal gives ok. after sent message mobile using at+cmgs="xxxxxxxxxxx" command problem occurs when tried read sms in sim card inserted dongle. used at+cmgl shows ok in terminal 1 (where opened minicom) , terminal 2 shows

t+cmgl ok 

and when use at+cmgr=1 shows ok in terminal 1 , terminal 2 shows

t+cmgr1 ok 

i tried above commands in ubuntu terminal using ppp such as

chat timeout 1 "" "at+cmgf=1" "ok" > /dev/ttyusb0 chat timeout 1 "" "at+cmgr=1" "ok" > /dev/ttyusb0 

and watched output thruogh terminal (terminal 2) window shows file /dev/ttyusb0 using cat /dev/ttyusb0. (ttyusb0 serial port belongs dongle. returned through wvdialconf)

but give same results same previous ones.

why doesn't show content of message?

i guess first need select message storage (at+cpms=xx), list messages in storage (at+cmgl="all"), , when have valid index of message read (at+cmgr=x).

have @ article: http://www.smssolutions.net/tutorials/gsm/receivesmsat/


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -