Gammu internals  1.38.0
s60-ids.h
Go to the documentation of this file.
1 /* Copyright (c) 2008 - 2010 Lukas Hetzenecker <[email protected]> */
2 /* Generated fro pc/devices/status_numbers.py from series60-remote */
3 
4 #define MAX_LENGTH 600
5 
6 #define NUM_CONNECTED 100
7 #define NUM_HELLO_REQUEST 110
8 #define NUM_HELLO_REPLY 111
9 #define NUM_QUIT 120
10 #define NUM_PARTIAL_MESSAGE 130
11 
12 #define NUM_CONTACTS_REQUEST_HASH_ALL 200
13 #define NUM_CONTACTS_REQUEST_HASH_SINGLE 201
14 #define NUM_CONTACTS_REQUEST_COUNT 202
15 #define NUM_CONTACTS_REQUEST_CONTACT 204
16 #define NUM_CONTACTS_REQUEST_CONTACTS_ALL 205
17 #define NUM_CONTACTS_REPLY_HASH_ALL 210
18 #define NUM_CONTACTS_REPLY_HASH_SINGLE_START 211
19 #define NUM_CONTACTS_REPLY_HASH_SINGLE_LINE 212
20 #define NUM_CONTACTS_REPLY_HASH_SINGLE_END 213
21 #define NUM_CONTACTS_REPLY_COUNT 214
22 #define NUM_CONTACTS_REPLY_CONTACT_START 220
23 #define NUM_CONTACTS_REPLY_CONTACT_LINE 221
24 #define NUM_CONTACTS_REPLY_CONTACT_END 222
25 #define NUM_CONTACTS_REPLY_CONTACTS_ALL_END 223
26 #define NUM_CONTACTS_REPLY_CONTACT_NOT_FOUND 224
27 #define NUM_CONTACTS_ADD 230
28 #define NUM_CONTACTS_ADD_REPLY_ID 231
29 #define NUM_CONTACTS_DELETE 232
30 #define NUM_CONTACTS_CHANGE_ADDFIELD 233
31 #define NUM_CONTACTS_CHANGE_REMOVEFIELD 234
32 
33 #define NUM_SYSINFO_REQUEST 250
34 #define NUM_SYSINFO_REPLY_START 260
35 #define NUM_SYSINFO_REPLY_LINE 261
36 #define NUM_SYSINFO_REPLY_END 262
37 
38 #define NUM_LOCATION_REQUEST 270
39 #define NUM_LOCATION_REPLY 271
40 #define NUM_LOCATION_REPLY_NA 272
41 
42 #define NUM_DIAL 280
43 #define NUM_HANGUP 281
44 
45 #define NUM_MESSAGE_SEND_REQUEST 300
46 #define NUM_MESSAGE_SEND_REPLY_OK 301
47 #define NUM_MESSAGE_SEND_REPLY_STATUS 302
48 #define NUM_MESSAGE_SEND_REPLY_FAILURE 303
49 #define NUM_MESSAGE_SEND_REPLY_RETRY 304
50 #define NUM_SET_READ 320
51 #define NUM_MESSAGE_DELETE 321
52 
53 #define NUM_MESSAGE_NEW 350
54 #define NUM_MESSAGE_REQUEST 351
55 #define NUM_MESSAGE_REPLY_LINE 352
56 #define NUM_MESSAGE_REPLY_END 353
57 
58 #define NUM_MESSAGE_REQUEST_UNREAD 370
59 #define NUM_MESSAGE_REPLY_UNREAD 371
60 
61 #define NUM_MESSAGE_REQUEST_LIST 372
62 #define NUM_MESSAGE_REPLY_LIST 373
63 
64 #define NUM_MESSAGE_REQUEST_COUNT 374
65 #define NUM_MESSAGE_REPLY_COUNT 375
66 
67 #define NUM_MESSAGE_REQUEST_ONE 376
68 #define NUM_MESSAGE_REPLY_ONE 377
69 
70 #define NUM_CALENDAR_REQUEST_COUNT 378
71 #define NUM_CALENDAR_REPLY_COUNT 379
72 
73 #define NUM_CALENDAR_REQUEST_HASH_ALL 380
74 #define NUM_CALENDAR_REQUEST_HASH_SINGLE 381
75 #define NUM_CALENDAR_REQUEST_ENTRY 382
76 #define NUM_CALENDAR_REQUEST_ENTRIES_ALL 383
77 #define NUM_CALENDAR_REPLY_HASH_ALL 384
78 #define NUM_CALENDAR_REPLY_HASH_SINGLE_START 385
79 #define NUM_CALENDAR_REPLY_HASH_SINGLE_LINE 386
80 #define NUM_CALENDAR_REPLY_HASH_SINGLE_END 387
81 #define NUM_CALENDAR_REPLY_ENTRIES_START 388
82 #define NUM_CALENDAR_REPLY_ENTRY 389
83 #define NUM_CALENDAR_REPLY_ENTRIES_END 390
84 #define NUM_CALENDAR_REPLY_ENTRY_NOT_FOUND 391
85 #define NUM_CALENDAR_ENTRY_ADD 395
86 #define NUM_CALENDAR_ENTRY_ADD_REPLY 396
87 #define NUM_CALENDAR_ENTRY_DELETE 397
88 #define NUM_CALENDAR_ENTRY_CHANGE 398
89 #define NUM_CALENDAR_ENTRY_CHANGE_REPLY_TIME 399
90 
91 #define NUM_INCOMING_CALL 400
92 
93 #define NUM_SCREENSHOT 900
94 #define NUM_SCREENSHOT_REPLY 901
95 
96 #define NUM_DEBUG 999
97 
98 #define NUM_END_HEADER 0x02 /* Start of Text */
99 #define NUM_SEPERATOR 0x1E /* Record Separator */
100 #define NUM_SEPERATOR_STR "\x1E" /* Record Separator */
101 #define NUM_END_TEXT 0x03 /* End of Text */
102 
103 #define PROTOCOL_VERSION 1.5
104