Hello,
I have a problem to receive SMS from HUAWEI E270 modem.
The modem is recognized correctly from raspberry and if i try
picocom /dev/ttyUSB0 -b 19200 -l
I'm connect to the modem and with this AT command AT+CMGL= "ALL" , I see all the sms that i have sent :
+CMGL: 13,"REC UNREAD","+xxxxxxxxxxxx",,"15/02/06,15:53:24+04"
test
+CMGL: 14,"REC UNREAD","+xxxxxxxxxxxx",,"15/02/06,15:57:35+04"
test
+CMGL: 15,"REC UNREAD","+xxxxxxxxxxxx",,"15/02/06,15:58:46+04"
test
but I do not receive any SMS in response, i try to change "Alowed sender" from * to my phone number with international code (+39) but nothing changes.
is a compatibility problem with my modem ?
P.S. : another thing, if i'm connect to the modem while EasyIoT is running the modem continuously send "AT OK" message, if I stop EasyIoT the messages end .
Thanks
Mattia
Last edit: 9 years 9 months ago by redice2k. Reason: add other information in P.S. section
redice2k wrote: Hello,
I have a problem to receive SMS from HUAWEI E270 modem.
The modem is recognized correctly from raspberry and if i try
picocom /dev/ttyUSB0 -b 19200 -l
I'm connect to the modem and with this AT command AT+CMGL= "ALL" , I see all the sms that i have sent :
+CMGL: 13,"REC UNREAD","+xxxxxxxxxxxx",,"15/02/06,15:53:24+04"
test
+CMGL: 14,"REC UNREAD","+xxxxxxxxxxxx",,"15/02/06,15:57:35+04"
test
+CMGL: 15,"REC UNREAD","+xxxxxxxxxxxx",,"15/02/06,15:58:46+04"
test
but I do not receive any SMS in response, i try to change "Alowed sender" from * to my phone number with international code (+39) but nothing changes.
is a compatibility problem with my modem ?
P.S. : another thing, if i'm connect to the modem while EasyIoT is running the modem continuously send "AT OK" message, if I stop EasyIoT the messages end .
Thanks
Mattia
I't should work, because I'm using basic AT commands. And what do you see in console if you enable debug?
Hi EasyIoT,
I enabled debug mode on the web interface for SMS and launched easyiot from console but i don't have any messages for sms i have only messages of mysensore node with debug "tag".
redice2k wrote: Hi EasyIoT,
I enabled debug mode on the web interface for SMS and launched easyiot from console but i don't have any messages for sms i have only messages of mysensore node with debug "tag".
That is strange. Try run in console mode (before shutdown service in configure->general settings->shutdown server) and then disable and enable SMS interface. Then send me console output.
Means that EIoT did not get response to AT command.
Is modem still visible in lsusb?
Yesterday I've upgraded my Raspberry with new firmware and during night modem stop working. Before it works couple of weeks without problems - I'm testing it couple of times every day. So today it stops working. After reboot it also did't work. I try many things switching USB port, testing on Windows machine, rebooting and it didn't work. It was even not visible in lsusb. Then suddenly start working. It's visible in lsusb and it works in EIoT. I don't know why this happened. It looks like modem is not correctly recognized in linux. I think this is linux or modswitch issue, not EasyIoT server issue. In EasyIoT server I'm using simple commands in following order:
AT
AT+CMGF=1
AT+CPMS="SM"
AT+CMGL="ALL"
and delete message x AT+CMGD=x
I'm using Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard. I also try with Huawei E160X (Vodafone K3565 Rev 2) - with this modem it works only half an hour and then modem stops responding. It's not visible in lsbus. It starts working after reboot. Both modems work OK under Windows.