summaryrefslogtreecommitdiffabout
path: root/gammu/emb/common/phone/nokia/dct4/n6510.h
Unidiff
Diffstat (limited to 'gammu/emb/common/phone/nokia/dct4/n6510.h') (more/less context) (ignore whitespace changes)
-rw-r--r--gammu/emb/common/phone/nokia/dct4/n6510.h90
1 files changed, 90 insertions, 0 deletions
diff --git a/gammu/emb/common/phone/nokia/dct4/n6510.h b/gammu/emb/common/phone/nokia/dct4/n6510.h
new file mode 100644
index 0000000..4717aeb
--- a/dev/null
+++ b/gammu/emb/common/phone/nokia/dct4/n6510.h
@@ -0,0 +1,90 @@
1/* (c) 2002-2004 by Marcin Wiacek */
2
3#ifndef n6510_h
4#define n6510_h
5
6#include "../ncommon.h"
7#include "../../../service/sms/gsmsms.h"
8
9typedef enum {
10 N6510_MMS_SETTINGS = 0x01,
11 N6510_CHAT_SETTINGS,
12
13 N6510_WAP_SETTINGS,
14 N6510_SYNCML_SETTINGS
15} N6510_Connection_Settings;
16
17typedef enum {
18 N6510_LIGHT_DISPLAY = 0x01,
19 N6510_LIGHT_KEYPAD = 0x03,
20 N6510_LIGHT_TORCH = 0x10
21} N6510_PHONE_LIGHTS;
22
23typedef struct {
24 int LastCalendarYear;
25 int LastCalendarPos;
26 GSM_NOKIACalToDoLocationsLastCalendar;
27 int FirstCalendarPos;
28 unsigned char CalendarIcons[10];
29 GSM_CalendarNoteType CalendarIconsTypes[10];
30 int CalendarIconsNum;
31
32 GSM_NOKIASMSFolder LastSMSFolder;
33 GSM_SMSFolders LastSMSFolders;
34
35 GSM_NOKIACalToDoLocationsLastToDo;
36
37 unsigned char RingtoneID;/* When set with preview */
38
39 int FilesLocations[1000];
40 int FilesLevels[1000];
41 int FilesLocationsUsed;
42 int FilesLocationsCurrent;
43 int FileToken;
44 int ParentID;
45 int FileCheckSum;
46
47 unsigned char FMStatus[4000];
48 int FMStatusLength;
49
50 unsigned char GPRSPoints[4000];
51 int GPRSPointsLength;
52
53 int BearerNumber;
54
55 unsigned char PhoneMode;
56} GSM_Phone_N6510Data;
57
58void N6510_EncodeFMFrequency(double freq, unsigned char *buff);
59void N6510_DecodeFMFrequency(double *freq, unsigned char *buff);
60
61#ifndef GSM_USED_MBUS2
62# define GSM_USED_MBUS2
63#endif
64#ifndef GSM_USED_FBUS2
65# define GSM_USED_FBUS2
66#endif
67#ifndef GSM_USED_FBUS2DLR3
68# define GSM_USED_FBUS2DLR3
69#endif
70#ifndef GSM_USED_FBUS2DKU5
71# define GSM_USED_FBUS2DKU5
72#endif
73#ifndef GSM_USED_PHONETBLUE
74# define GSM_USED_PHONETBLUE
75#endif
76#ifndef GSM_USED_IRDAPHONET
77# define GSM_USED_IRDAPHONET
78#endif
79#ifndef GSM_USED_BLUEPHONET
80# define GSM_USED_BLUEPHONET
81#endif
82#ifndef GSM_USED_FBUS2PL2303
83# define GSM_USED_FBUS2PL2303
84#endif
85
86#endif
87
88/* How should editor hadle tabs in this file? Add editor commands here.
89 * vim: noexpandtab sw=8 ts=8 sts=8:
90 */