1 /* (c) 2002-2004 by Marcin Wiacek */
2 
3 void DCT4SetPhoneMenus	   (int argc, char *argv[]);
4 void DCT4SelfTests	   (int argc, char *argv[]);
5 void DCT4SetVibraLevel	   (int argc, char *argv[]);
6 void DCT4GetSecurityCode   (int argc, char *argv[]);
7 void DCT4GetVoiceRecord	   (int argc, char *argv[]);
8 GSM_Error DCT4Info(void);
9 void DCT4GetT9		   (int argc, char *argv[]);
10 void DCT4DisplayTest	   (int argc, char *argv[]);
11 void DCT4GetADC		   (int argc, char *argv[]);
12 void DCT4VibraTest	   (int argc, char *argv[]);
13 void DCT4PlaySavedRingtone (int argc, char *argv[]);
14 void DCT4MakeCameraShoot   (int argc, char *argv[]);
15 void DCT4GetScreenDump	   (int argc, char *argv[]);
16 void DCT4GetPBKFeatures	   (int argc, char *argv[]);
17 
18 GSM_Error CheckDCT4Only(void);
19 void CheckDCT4(void);
20 
21 #ifdef DEBUG
22 	void DCT4ResetSecurityCode (int argc, char *argv[]);
23 #endif
24 #ifdef GSM_ENABLE_NOKIA6510
25 	void DCT4SetLight	   (int argc, char *argv[]);
26 	void DCT4TuneRadio	   (int argc, char *argv[]);
27 #endif
28 
29 /* ------------------- features matrix ------------------------------------- */
30 
31 typedef enum {
32 	DCT4_ALWAYS_ONLINE = 1,
33 	DCT4_GPRS_PCCH,
34 	DCT4_GEA1,
35 	DCT4_EOTD,
36 	DCT4_WAP_PUSH,
37 	DCT4_USE_PREF_SIM_NET,
38 	DCT4_JAVA_TCK,
39 
40 	DCT4_ALS,
41 	DCT4_A52,
42 	DCT4_CSP,
43 	DCT4_EONS,
44 	DCT4_3GINDICATOR,
45 	DCT4_DISPLAY_PHONE_NAME,
46 	DCT4_DISPLAY_WAP_PROFILE,
47 
48 	DCT4_GAMES_WAP_DOWNLOAD,
49 	DCT4_GAMES_SCORE_SEND,
50 	DCT4_GAMES_URL_CHECK,
51 
52 	DCT4_BLUETOOTH_MENU,
53 	DCT4_WAP_BOOKMARKS_MENU,
54 	DCT4_WAP_BOOKMARKS_MENU2,
55 	DCT4_WAP_GOTO_MENU,
56 	DCT4_WAP_SETTINGS_MENU,
57 	DCT4_SERVICES_GAMES_APP_GALLERY,
58 	DCT4_JAVA_GAMES_MENU,
59 	DCT4_SAT_CONFIRM_MENU,
60 	DCT4_INSTANT_MESS_MENU,
61 	DCT4_INSTANT_MESS_MENU2,
62 	DCT4_CONFIRM_ALS,
63 	DCT4_BOOKMARK_GOTO_MENU,
64 
65 	DCT4_5100_IDENTIFY,
66 
67 	DCT4_TEST
68 } DCT4_Feature_Name;
69 
70 typedef struct {
71 	DCT4_Feature_Name		Name;
72 	const char			*Text;
73 	struct {
74 		const unsigned char		Value;
75 		const char		*Text;
76 	} Values[10];
77 } DCT4_Feature;
78 
79 typedef struct {
80 	const char				*Model;
81 	struct {
82 		DCT4_Feature_Name	Name;
83 		int			Number;
84 	} Features[31];
85 } DCT4_Phone_Features;
86 
87 typedef struct {
88 	struct {
89 		char			Name[100];
90 		unsigned char		ID;
91 		unsigned char		Value;
92 		gboolean			Startup;
93 	} Tests[50];
94 	int				Num;
95 } DCT4_Phone_Tests;
96 
97 /* ------------------------------------------------------------------------- */
98 
99 /* How should editor hadle tabs in this file? Add editor commands here.
100  * vim: noexpandtab sw=8 ts=8 sts=8:
101  */
102