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
|
/* (c) 2002-2003 by Marcin Wiacek */
#ifndef __gsm_prof_h
#define __gsm_prof_h
typedef enum {
PROFILE_KEYPAD_LEVEL1 = 1,
PROFILE_KEYPAD_LEVEL2,
PROFILE_KEYPAD_LEVEL3,
PROFILE_KEYPAD_OFF,
PROFILE_CALLALERT_RINGING,
PROFILE_CALLALERT_BEEPONCE,
PROFILE_CALLALERT_OFF,
PROFILE_CALLALERT_RINGONCE,
PROFILE_CALLALERT_ASCENDING,
PROFILE_CALLALERT_CALLERGROUPS,
PROFILE_VOLUME_LEVEL1,
PROFILE_VOLUME_LEVEL2,
PROFILE_VOLUME_LEVEL3,
PROFILE_VOLUME_LEVEL4,
PROFILE_VOLUME_LEVEL5,
PROFILE_MESSAGE_NOTONE,
PROFILE_MESSAGE_STANDARD,
PROFILE_MESSAGE_SPECIAL,
PROFILE_MESSAGE_BEEPONCE,
PROFILE_MESSAGE_ASCENDING,
PROFILE_MESSAGE_PERSONAL,
PROFILE_VIBRATION_OFF,
PROFILE_VIBRATION_ON,
PROFILE_VIBRATION_FIRST,
PROFILE_WARNING_ON,
PROFILE_WARNING_OFF,
PROFILE_AUTOANSWER_ON,
PROFILE_AUTOANSWER_OFF,
PROFILE_LIGHTS_OFF,
PROFILE_LIGHTS_AUTO,
PROFILE_SAVER_ON,
PROFILE_SAVER_OFF,
PROFILE_SAVER_TIMEOUT_5SEC,
PROFILE_SAVER_TIMEOUT_20SEC,
PROFILE_SAVER_TIMEOUT_1MIN,
PROFILE_SAVER_TIMEOUT_2MIN,
PROFILE_SAVER_TIMEOUT_5MIN,
PROFILE_SAVER_TIMEOUT_10MIN
} GSM_Profile_Feat_Value;
typedef enum {
Profile_KeypadTone = 1,
Profile_CallAlert,
Profile_RingtoneVolume,
Profile_MessageTone,
Profile_Vibration,
Profile_WarningTone,
Profile_AutoAnswer,
Profile_Lights,
Profile_ScreenSaverTime,
Profile_ScreenSaver,
Profile_ScreenSaverNumber,
Profile_RingtoneID,
Profile_MessageToneID,
Profile_CallerGroups
} GSM_Profile_Feat_ID;
/**
* It contains phone profiles
*/
typedef struct {
bool Active;
/**
* Profile number
*/
int Location;
/**
* Profile name
*/
char Name[40*2];
/**
* Is it default name for profile ?
*/
bool DefaultName;
bool HeadSetProfile;
bool CarKitProfile;
int FeaturesNumber;
GSM_Profile_Feat_Value FeatureValue[15];
GSM_Profile_Feat_ID FeatureID[15];
bool CallerGroups[5];
} GSM_Profile;
typedef struct {
GSM_Profile_Feat_ID ID;
GSM_Profile_Feat_Value Value;
unsigned char PhoneID;
unsigned char PhoneValue;
} GSM_Profile_PhoneTableValue;
#endif
/* How should editor hadle tabs in this file? Add editor commands here.
* vim: noexpandtab sw=8 ts=8 sts=8:
*/
|