Dear Maintainer,
after upgrade to jessie gsmsendsms program, which uses this library stopped
working with my modem. Downgrade to wheezy version of gsm-utils didn't help.
Downgrade to wheezy version of gsm-utils AND libgsmme1c2a worked and sms are
being sent normally.
gsmsendsms sends following commands to my modem:
root@sith(0)bin# strace -e trace=write -f -s 1000 gsmsendsms -b 9600 --sca +420603052000 -d /dev/ttyS0 "+420732673195" "hello"
write(3, "ATZ\r", 4) = 4
write(3, "ATE0\r", 5) = 5
write(3, "AT+CMEE=1\r", 10) = 10
write(3, "AT+CMGF=0\r", 10) = 10
write(3, "AT+CGMI\r", 8) = 8
write(3, "AT+CGMM\r", 8) = 8
write(3, "AT+CGMR\r", 8) = 8
write(3, "AT+CGSN\r", 8) = 8
write(3, "AT+CSMS?\r", 9) = 9
write(3, "AT+CSCS=\"GSM\"\r", 14) = 14
write(3, "AT+CSMS=1\r", 10) = 10
write(3, "AT+CMGS=19\0\r", 11) = 12
write(2, "gsmsendsms", 10gsmsendsms) = 10
write(2, "[ERROR]: ", 9[ERROR]: ) = 9
write(2, "timeout when reading from TA (errno: 0/Success)", 47timeout when reading from TA (errno: 0/Success)) = 47
write(2, "\n", 1) = 1
+++ exited with 1 +++
whereas wheezy's version doesn't send \0 in AT+CMGS=19 command and it
works like charm. Seems my modem doen't take \0 well in AT+CMGS=...
in wheezy, the strace ends like this:
[...]
write(3, "AT+CSMS=1\r", 10) = 10
write(3, "AT+CMGS=19\r", 11) = 11
write(3, "079124603050020015000C912470237613590000A805E8329BFD06\32", 55) = 55
+++ exited with 0 +++
there's my modem info:
AT+CGMI
WAVECOM MODEM
OK
AT+CGMM
MULTIBAND 900E 1800
OK
AT+CGMR
430a09gm.2C 1208244 110801 19:19
OK
AT+CGSN
332055330434650
OK
AT+CSMS?
+CSMS: 1,1,1,1
OK
Your sincerely,
Arne Rusek