Discussion:
Gammu issues
None
2017-04-07 00:27:33 UTC
Permalink
Hello All
I am trying to use gammu and gammu-smsd. Upon initial install of Gammu
it worked for reading sms but after installing gammu-smsd and trying to
run a script trough sms it stopped and couldn't use the modem im using.

Here is the hardware:
Raspberry Pi 3
Adafruit FONA 3g Cell and GPS Breakout (SIM5320)
TING GSM SIM

My modem shows up at /dev/ttyUSB2
GPS info is at /dev/ttyUSB1

I can run all the AT commands I want using
sudo screen /dev/ttyUSB2 115200.

at
OK
AT+CMGL"ALL"
ERROR
AT+CMGL="ALL"
+CMGL: 0,"REC UNREAD","+15105527571","","17/04/06,17:18:09-28"
Test

OK

When running sudo gammu getsmsfolders this is the debug info in the
/var/log/gammu file.

[Gammu - 1.33.0 built 08:46:05 Aug 14 2013 using GCC 4.6]
[Connection - "at19200"]
[Connection index - 0]
[Model type - "NAUTO"]
[Device - "/dev/ttyUSB2"]
[Running on - Linux, kernel 4.4.50-v7+ (#970 SMP Mon Feb 20
19:18:29 GMT 2017)]
Configured model NAUTO is not known, retrying with autodetection!
Serial device: DTR is up, RTS is up, CAR is down, CTS is down
Setting speed to 19200
[Module - "auto"]
Escaping SMS mode
SENDING frametype 0x00/length 0x02/2
1B |0D ..
Sending simple AT command to wake up some devices
SENDING frametype 0x00/length 0x03/3
41A|54T|0D AT.
Enabling echo
SENDING frametype 0x00/length 0x05/5
41A|54T|45E|311|0D ATE1.
Phone does not support enabled echo, it can not work with Gammu!
Init:GSM_TryGetModel failed with error TIMEOUT[14]: No response in
specified timeout. Probably phone not connected.
[Terminating]
[Closing]

as you can see the device is not busy and permissions is not an issue.

sending the at command ATE1 responds with OK.

Any ideas on how to get this working again?

Loading...