R – Huawei Mobile Connect E170

gprsgsmhardwaremodemsms

I am trying to receive SMS messages with a Huawei Mobile Connect, Model: E170 device through hyper terminal but can't.

I used the below commands to initialize the modem:

AT+CMGF=1
AT+CNMI=2,2,0,0,0 (But this gives me this error: +CMS ERROR: 303)

This same commands working on my nokia N70, 6630 and many other nokia models i can't remember.

I know the modem can receive and send SMS messages, but how do i do it?

Best Answer

Below worked for me in Huawe E153.

at+cmgf=1 //Set text format
at+csmp=49,167 //Enable delivery reports
at+cpms="SM","SM","SR" //Set message storage
at+cnmi=2,1,0,2 //Set message notifications

Note the order of the configuration as well. The modem may not let you enable conflicting configurations.

Also note that some modems send the notifications through different channels. In my case connecting E153 in Ubuntu created /dev/ttyUSB0, /dev/ttyUSB1, /dev/ttyUSB2, /dev/ttyUSB3. The notifications for new SMS and delivery reports were only coming through /dev/ttyUSB3 even if I sent SMS using /dev/ttyUSB0.

Related Topic