summaryrefslogtreecommitdiff
path: root/docs/man/gammu-smsd-inject.1
blob: 89056d354a478058a17f6143518c0396e7757640 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
.\" Man page generated from reStructuredText.
.
.TH "GAMMU-SMSD-INJECT" "1" "Oct 16, 2017" "1.38.5" "Gammu"
.SH NAME
gammu-smsd-inject \- Inject messages into queue of SMS daemon for Gammu
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.SH SYNOPSIS
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
gammu\-smsd\-inject [OPTION]... MESSAGETYPE RECIPIENT [MESSAGE_PARAMETER]...
.ft P
.fi
.UNINDENT
.UNINDENT
.SH DESCRIPTION
.sp
This manual page documents briefly the \fBgammu\-smsd\-inject\fP command.
.sp
\fBgammu\-smsd\-inject\fP is a program that enqueues message in Gammu SMS
Daemon, which will be later sent by the daemon using connected GSM modem.
.sp
Support for this program depends on features available in currently used SMSD
service backend, however currently it is supported by all of them.
.sp
Program accepts following options (please note that long options might be not
accepted on some platforms):
.INDENT 0.0
.TP
.B \-h, \-\-help
Shows help.
.UNINDENT
.INDENT 0.0
.TP
.B \-v, \-\-version
Shows version information and compiled in features.
.UNINDENT
.INDENT 0.0
.TP
.B \-c, \-\-config=file
Configuration file to use, default is /etc/gammu\-smsdrc, on Windows there
is no default and configuration file path has to be always specified.
.UNINDENT
.INDENT 0.0
.TP
.B \-l, \-\-use\-log
Use logging as configured in config file.
.UNINDENT
.INDENT 0.0
.TP
.B \-L, \-\-no\-use\-log
Do not use logging as configured in config file (default).
.UNINDENT
.sp
For description of message types and their parameters, please check documentation
for \fBgammu savesms\fP\&.
.SH EXAMPLES
.sp
To check it out, you need to have configuration file for SMSD, see
gammu\-smsdrc for more details about it.
.sp
Inject text message up to standard 160 chars:
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
echo "All your base are belong to us" | gammu\-smsd\-inject TEXT 123456
.ft P
.fi
.UNINDENT
.UNINDENT
.sp
or
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
gammu\-smsd\-inject TEXT 123456 \-text "All your base are belong to us"
.ft P
.fi
.UNINDENT
.UNINDENT
.sp
Inject unicode text message:
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
gammu\-smsd\-inject TEXT 123456 \-unicode \-text "Zkouška sirén"
.ft P
.fi
.UNINDENT
.UNINDENT
.sp
Inject long text message:
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
echo "All your base are belong to us" | gammu\-smsd\-inject TEXT 123456 \-len 400
.ft P
.fi
.UNINDENT
.UNINDENT
.sp
or
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
gammu\-smsd\-inject TEXT 123456 \-len 400 \-text "All your base are belong to us"
.ft P
.fi
.UNINDENT
.UNINDENT
.sp
or
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
gammu\-smsd\-inject EMS 123456 \-text "All your base are belong to us"
.ft P
.fi
.UNINDENT
.UNINDENT
.sp
Inject some funky message with predefined sound and animation from 2 bitmaps:
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
gammu\-smsd\-inject EMS 123456 \-text "Greetings" \-defsound 1 \-text "from Gammu" \-tone10 axelf.txt \-animation 2 file1.bmp file2.bmp
.ft P
.fi
.UNINDENT
.UNINDENT
.sp
Inject protected message with ringtone:
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
gammu\-smsd\-inject EMS 123456 \-protected 2 \-variablebitmaplong ala.bmp \-toneSElong axelf.txt \-toneSE ring.txt
.ft P
.fi
.UNINDENT
.UNINDENT
.sp
Inject USSD query:
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
gammu\-smsd\-inject USSD \(aq*101#\(aq
.ft P
.fi
.UNINDENT
.UNINDENT
.SH AUTHOR
Michal Čihař <michal@cihar.com>
.SH COPYRIGHT
2009-2015, Michal Čihař <michal@cihar.com>
.\" Generated by docutils manpage writer.
.