Version of smsd: smstools 3.0.262 (debian etch)
Smsd installed from: package repository
Name and model of a modem / phone: Wavecom (???)
Interface: serial
I have some trouble with my modem, which needs to be reset (too) often.
When this happens, If I stop smstools, use minicom to send "AT+CFUN=0", then "AT+CFUN=1", then restarts smstools, everything is fine.
I'd like to automate this using an alarmhandler : but in the examples I've found on this forum, I see the commands (if I understand correctly) are sent through a CONTROLFILE (/var/lib/smsd/application/control) : this file does not exist on my distribution.
So, what would look like a correct alarmhandler script that would send "AT+CFUN=0" to my modem ?
Thanks in advance