Re: gammu getallsms returns nothing for Huawei E303 modem
Hendrik Greving <[email protected]> Sun, 20 Nov 2016 10:02:29 -0800
| Newsgroups | gmane.linux.drivers.gammu |
|---|---|
| Message-ID | <CAB1qr4F82oTLop+_T88-=wApfjPmoM5mywsHQF+JvgnxUp05Kw@mail.gmail.com> |
Hi, sorry should have posted this. I have [gammu] port = /dev/ttyUSB1 model = connection = at19200 synchronizetime = yes logfile = logformat = nothing use_locking = gammuloc = I have also tried ttyUSB2 and ttyUSB3. ttyUSB3 behaves the same as ttyUSB1, while ttyUSB2 doesn't work at all (timeout). On Sun, Nov 20, 2016 at 9:44 AM, gilberto dos santos alves <[email protected] > wrote: > hi. in your getallsms explicity what is your gammuc or config for use. > home/your-user or /etc/gammurc > > Em 20/11/2016 15:37, "Hendrik Greving" <[email protected]> escreveu: > >> Hello, >> >> I am using a Huawei E303 3G Dongle with Ubuntu 16.04 (and/or nanopi >> system behaves identically as below). I am doing the following: >> >> 1) Disable mode switching in /etc/usb_modeswitch.conf 2) Connect dongle >> 3) sudo usb_modeswitch -v 0x12d1 -p 0x1f01 -V 0x12d1 -P 0x14dc -M >> "55534243000000000000000000000011060000000000000000000000000000" >> >> I now have /dev/ttyUSB1, /dev/ttyUSB2, /dev/ttyUSB3 (/dev/ttyUSB0 is used >> by another serial device) >> >> I got the latest gammu -v 1.37.91. I can send SMS by >> >> echo "BLAH" | sudo gammu sendsms TEXT +1########## >> >> however, "sudo gammu getallsms" returns: >> >> 0 SMS parts in 0 SMS sequences >> >> however there should already be SMS available and I can see them when >> switching the dongle to ethernet mode >> >> 1) sudo usb_modeswitch -v 0x12d1 -p 0x1f01 -V 0x12d1 -P 0x14dc -M >> "55534243123456780000000000000a11062000000000000100000000000000" 2) >> http://192.168.1.1 -> check SMS in web interface >> >> before I debug gammu and/or manual AT commands, anybody have an idea what >> could be wrong why I am not able to receive SMS using gammu? >> >> Thank you, Hendrik >> >> ------------------------------------------------------------ >> ------------------ >> >> _______________________________________________ >> Gammu-users mailing list - https://lists.sourceforge.net/ >> lists/listinfo/gammu-users >> >> > ------------------------------------------------------------ > ------------------ > > _______________________________________________ > Gammu-users mailing list - https://lists.sourceforge.net/ > lists/listinfo/gammu-users > > ------------------------------------------------------------------------------ _______________________________________________ Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users