summaryrefslogtreecommitdiff
path: root/docs/develop/protocol/samsung.rst
blob: 4976cff1c9d04bd093af560d70f07d9f6e00a332 (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
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
SAMSUNG Organizer AT commands
=============================

Get organizer information
+++++++++++++++++++++++++

Invocation::

    AT+ORGI?

Example::

    AT+ORGI?
    +ORGI: 84,400,30,100,30
    OK

Return 5 values:

par1
    ( 84) Busy entries (1 to par1 of par2 possibles entries)
par2
    (400) Max possible entries
par3
    ( 30) Unknown
par4
    (100) Unknown
par5
    ( 30) Unknown


Get organizer details
+++++++++++++++++++++

Invocation::

    AT+ORGR=number

Get organizer details for index entry "number"
Returns 24 values:

Example 1::

    AT+ORGR=10
    +ORGR: 161,1,"Comprar lagrimas artificiales","Farmacia",2,4,2009,9,0,2,4,2009,9,10,"Farmacia",1,1,0,3,,,29,1,2010
    OK

Example 2::

    AT+ORGR=15
    +ORGR: 67,2,,"Laura Santiesteban Cabrera",3,11,2009,9,0,,,,,,,1,3,0,4,,,,,
    OK

Example 3::

    AT+ORGR=19
    +ORGR: 205,3,,"Cemento",13,3,2009,10,35,13,3,2009,,,,1,3,0,0,1,0,,,
    OK

Example 4::

    AT+ORGR=23
    +ORGR: 235,4,"Curso","Averiguar",13,3,2009,9,50,13,3,2009,9,59,,1,1,0,,,,,,
    OK

+ORGR: AT+ORGR answer header

par01
    Pointer to real memory position
par02
    Organizer entry type (1=appointments, 2=aniversaries, 3=tasks, 4=miscellany )

If par02 =1, appointment entry type

par03
    Organizer entry short name
par04
    Organizer entry detailed description
par05
    Start day
par06
    Start month
par07
    Start year
par08
    Start hour
par09
    Start minute
par10
    End day
par11
    End month
par12
    End year
par13
    End hour
par14
    End minute
par15
    Location
par16
    Alarm flag (0=no, 1=yes)
par17
    Alarm time unit (1=minutes, 2=hours, days, 4=weeks)
par18
    Alarm items quantity
par19
    Alarm repeat flag (0 or empty=no, 2=yes)
par20
    Empty
par21
    Empty
par22
    Repeat until day
par23
    Repeat until month
par24
    Repeat until year

If par02 = 2, aniversary entry type

par03
    Empty
par04
    Ocassion name
par05
    Alarm day
par06
    Alarm month
par07
    Alarm year
par08
    Alarm hour
par09
    Alarm minutes
par10
    Empty
par11
    Empty
par12
    Empty
par13
    Empty
par14
    Empty
par15
    Empty
par16
    Alarm flag (0=no, 1=yes)
par17
    Alarm time unit (1=minutes, 2=hours, days, 4=weeks)
par18
    Alarm items quantity
par19
    Repeat each year (0=no, 4=yes)
par20
    Empty
par21
    Empty
par22
    Empty
par23
    Empty
par24
    Empty

If par02 = 3, task entry type

par03
    Empty
par04
    Task name
par05
    Start day
par06
    Start month
par07
    Start year
par08
    Alarm hour
par09
    Alarm minute
par10
    Due day
par11
    Due month
par12
    Due year
par13
    Empty
par14
    Empty
par15
    Empty
par16
    Alarm flag (0=no, 1=yes)
par17
    Alarm time unit (1=minutes, 2=hours, days, 4=weeks)
par18
    Alarm items quantity
par19
    Empty
par20
    Task priority (1=high, 2=normal, 3=low)
par21
    Task status (0=undone, 1=done)
par22
    Empty
par23
    Empty
par24
    Empty

If par02 = 4, miscellany entry type

par03
    Entry name
par04
    Details
par05
    Start day
par06
    Start month
par07
    Start year
par08
    Start hour
par09
    Start minutes
par10
    End day
par11
    End month
par12
    End year
par13
    End hour
par14
    End minutes
par15
    Empty
par16
    Alarm flag (0=no, 1=yes)
par17
    Alarm time unit (1=minutes, 2=hours, days, 4=weeks)
par18
    Alarm items quantity
par19
    Empty
par20
    Empty
par21
    Empty
par22
    Empty
par23
    Empty
par24
    Empty

Write organizer entry
+++++++++++++++++++++

Invocation::

    AT+ORGW=par0,par1,par2...par24

Write organizer entry in memory location par0

If par0=65535 then locate next empty entry on memory

Example::

    AT+ORGW=65535,0,4,"p2","p2",14,3,2009,2,23,14,3,2009,3,23,,0,0,0,,,,,,
    +ORGW: 253,253
    OK

par1 to par24 has the same significance than in the AT+ORGR command

Delete organizer entry
++++++++++++++++++++++

Invocation::

    AT+ORGD=number

Delete organizer entry of index "number"

Example::

    AT+ORGD=21

    OK

Notes
+++++

Read command use index reference.

Write command uses index and direct memory reference with special 65535 value to locate empty memory position.

Delete command use direct memory reference, index are automatically reorganized.

Hint: After create or delete an organizer entry, reread full information to update index table.