summaryrefslogtreecommitdiffabout
path: root/gammu/emb/common/phone/nokia/ncommon.h
Unidiff
Diffstat (limited to 'gammu/emb/common/phone/nokia/ncommon.h') (more/less context) (ignore whitespace changes)
-rw-r--r--gammu/emb/common/phone/nokia/ncommon.h66
1 files changed, 66 insertions, 0 deletions
diff --git a/gammu/emb/common/phone/nokia/ncommon.h b/gammu/emb/common/phone/nokia/ncommon.h
new file mode 100644
index 0000000..b8a36aa
--- a/dev/null
+++ b/gammu/emb/common/phone/nokia/ncommon.h
@@ -0,0 +1,66 @@
1/* (c) 2001-2004 by Marcin Wiacek */
2
3#ifndef phone_nokia_common_h
4#define phone_nokia_common_h
5
6#include "../../gsmcomon.h"
7
8#define N6110_FRAME_HEADER 0x00, 0x01, 0x00
9#define N7110_FRAME_HEADER 0x00, 0x01, 0x01
10
11typedef enum {
12 MEM7110_CG = 0xf0, /* Caller groups memory */
13 MEM7110_SP = 0xf1 /* Speed dial memory */
14} GSM_71_65MemoryType;
15
16typedef enum {
17 /* DCT3 and DCT4 */
18 N7110_PBK_SIM_SPEEDDIAL = 0x04, /* Speed dial on SIM */
19 N7110_PBK_NAME = 0x07, /* Text: name (always the only one) */
20 N7110_PBK_EMAIL = 0x08, /* Text: email adress */
21 N7110_PBK_POSTAL = 0x09, /* Text: postal address */
22 N7110_PBK_NOTE = 0x0A, /* Text: note */
23 N7110_PBK_NUMBER = 0x0B, /* Phone number */
24 N7110_PBK_RINGTONE_ID = 0x0C, /* Ringtone ID */
25 N7110_PBK_DATETIME = 0x13, /* Call register: date and time*/
26 N7110_PBK_UNKNOWN1 = 0x19, /* Call register: with missed calls*/
27 N7110_PBK_SPEEDDIAL = 0x1A, /* Speed dial */
28 N7110_PBK_GROUPLOGO = 0x1B, /* Caller group: logo */
29 N7110_PBK_LOGOON = 0x1C, /* Caller group: is logo on ? */
30 N7110_PBK_GROUP = 0x1E, /* Caller group number in pbk entry*/
31
32 /* DCT4 only */
33 N6510_PBK_URL = 0x2C, /* Text: URL address */
34 N6510_PBK_SMSLIST_ID = 0x2E, /* SMS list assigment */
35 N6510_PBK_VOICETAG_ID = 0x2F, /* Voice tag assigment */
36 N6510_PBK_PICTURE_ID = 0x33, /* Picture ID assigment */
37 N6510_PBK_RINGTONEFILE_ID= 0x37, /* Ringtone ID from filesystem/internal*/
38 N6510_PBK_USER_ID = 0x38 /* Text: user ID */
39} GSM_71_65_Phonebook_Entries_Types;
40
41typedef enum {
42 N7110_PBK_NUMBER_HOME = 0x02,
43 N7110_PBK_NUMBER_MOBILE = 0x03,
44 N7110_PBK_NUMBER_FAX = 0x04,
45 N7110_PBK_NUMBER_WORK = 0x06,
46 N7110_PBK_NUMBER_GENERAL = 0x0A
47} GSM_71_65_Phonebook_Number_Types;
48
49typedef struct {
50 unsigned charLocation[PHONE_MAXSMSINFOLDER]; /* locations of SMS messages in that folder */
51 int Number; /* number of SMS messages in that folder */
52} GSM_NOKIASMSFolder;
53
54typedef struct {
55 int Location[GSM_MAXCALENDARTODONOTES];
56 int Number;
57} GSM_NOKIACalToDoLocations;
58
59#define NOKIA_PRESSPHONEKEY 0x01
60#define NOKIA_RELEASEPHONEKEY 0x02
61
62#endif
63
64/* How should editor hadle tabs in this file? Add editor commands here.
65 * vim: noexpandtab sw=8 ts=8 sts=8:
66 */