gsmsmsd • help

Note: help and version output are generated by a naïve script which tries a few variants of
<command> --help, <command> -h etc. to find the command's help and version info.
Sometimes it gets lucky, sometimes it doesn't; if the output below looks wrong, it probably is.

gsmsmsd --version (return code: 0)

gsmsmsd: version 1.10 [compiled Aug 15 2015]

gsmsmsd --help (return code: 0)

gsmsmsd: [-a action][-b baudrate][-C sca][-d device][-f][-h][-I init string]
[-s spool dir][-t][-v]{sms_type}
-a, --action the action to execute when an SMS arrives
(SMS is send to stdin of action)
-b, --baudrate baudrate to use for device (default: 38400)
-c, --concatenate start ID for concatenated SMS messages
-C, --sca SMS service centre address
-d, --device sets the device to connect to
-D, --direct enable direct routing of SMSs
-f, --flush flush SMS from store
-F, --failed directory to move failed SMS to,
if unset, the SMS will be deleted
-h, --help prints this message
-I, --init device AT init sequence
-L, --syslog log errors and information to syslog
-P, --priorities number of priority levels to use,
(default: none)
-r, --requeststat request SMS status report
-s, --spool spool directory for outgoing SMS
-S, --sent directory to move sent SMS to,
if unset, the SMS will be deleted
-t, --store name of SMS store to use for flush
and/or temporary SMS storage
-v, --version prints version and exits
-X, --xonxoff switch on software handshake
sms_type may be any combination of
sms, no_sms controls reception of normal SMS
cb, no_cb controls reception of cell broadcast messages
stat, no_stat controls reception of status reports
default is "sms cb stat"
If no action is given, the SMS is printed to stdout
If -P is given, it activates the priority system and sets the
number or levels to use. For every level, there must be directories
named <spool directory>+<priority level>.
For example "-P 2 -s queue -S send -F failed" needs the following
directories: queue1/ queue2/ send1/ send2/ failed1/ failed2/
Before sending one SMS from queue2, all pending SMS from queue1
will be sent.