summaryrefslogtreecommitdiffabout
path: root/gammu/emb/gammu/depend/nokia/dct4.h
blob: fde5b083388cb45012e6131012bf151f31c562fa (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
/* (c) 2002-2004 by Marcin Wiacek */

#include "../../../common/gsmstate.h"

void DCT4SetPhoneMenus	   (int argc, char *argv[]);
void DCT4SelfTests	   (int argc, char *argv[]);
void DCT4SetVibraLevel	   (int argc, char *argv[]);
void DCT4GetSecurityCode   (int argc, char *argv[]);
#ifdef DEBUG
void DCT4ResetSecurityCode (int argc, char *argv[]);
#endif
void DCT4GetVoiceRecord	   (int argc, char *argv[]);
void DCT4Info		   (int argc, char *argv[]);
void DCT4GetT9		   (int argc, char *argv[]);
void DCT4SetLight	   (int argc, char *argv[]);
void DCT4DisplayTest	   (int argc, char *argv[]);
void DCT4GetADC		   (int argc, char *argv[]);
void DCT4VibraTest	   (int argc, char *argv[]);
void DCT4TuneRadio	   (int argc, char *argv[]);
void DCT4PlaySavedRingtone (int argc, char *argv[]);
void DCT4MakeCameraShoot   (int argc, char *argv[]);
void DCT4GetScreenDump	   (int argc, char *argv[]);

/* ------------------- features matrix ------------------------------------- */

typedef enum {
	DCT4_ALWAYS_ONLINE = 1,
	DCT4_GPRS_PCCH,
	DCT4_GEA1,
	DCT4_EOTD,
	DCT4_WAP_PUSH,
	DCT4_USE_PREF_SIM_NET,
	DCT4_JAVA_TCK,

	DCT4_ALS,
	DCT4_A52,
	DCT4_CSP,
	DCT4_EONS,
	DCT4_3GINDICATOR,
	DCT4_DISPLAY_PHONE_NAME,
	DCT4_DISPLAY_WAP_PROFILE,

	DCT4_GAMES_WAP_DOWNLOAD,
	DCT4_GAMES_SCORE_SEND,
	DCT4_GAMES_URL_CHECK,

	DCT4_BLUETOOTH_MENU,
	DCT4_WAP_BOOKMARKS_MENU,
	DCT4_WAP_BOOKMARKS_MENU2,
	DCT4_WAP_GOTO_MENU,
	DCT4_WAP_SETTINGS_MENU,
	DCT4_SERVICES_GAMES_APP_GALLERY,
	DCT4_JAVA_GAMES_MENU,
	DCT4_SAT_CONFIRM_MENU,
	DCT4_INSTANT_MESS_MENU,
	DCT4_CONFIRM_ALS,
	DCT4_BOOKMARK_GOTO_MENU,

	DCT4_5100_IDENTIFY,

	DCT4_TEST
} DCT4_Feature_Name;

typedef struct {
	DCT4_Feature_Name		Name;
	unsigned char			*Text;
	struct {
		unsigned char		Value;
		unsigned char		*Text;
	} Values[10];
} DCT4_Feature;

typedef struct {
	char				*Model;
	struct {
		DCT4_Feature_Name	Name;
		int			Number;
	} Features[25];
} DCT4_Phone_Features;

typedef struct {
	struct {
		char			Name[100];
		unsigned char		ID;
		unsigned char		Value;
		bool			Startup;
	} Tests[50];
	int				Num;
} DCT4_Phone_Tests;

/* ------------------------------------------------------------------------- */

/* How should editor hadle tabs in this file? Add editor commands here.
 * vim: noexpandtab sw=8 ts=8 sts=8:
 */