Gammu internals  1.38.0
ncommon.h File Reference
#include <gammu-limits.h>
Include dependency graph for ncommon.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  GSM_NOKIASMSFolder
 
struct  GSM_NOKIACalToDoLocations
 

Macros

#define N6110_FRAME_HEADER   0x00, 0x01, 0x00
 
#define N7110_FRAME_HEADER   0x00, 0x01, 0x01
 
#define NOKIA_PRESSPHONEKEY   0x01
 
#define NOKIA_RELEASEPHONEKEY   0x02
 

Enumerations

enum  GSM_71_65MemoryType { MEM7110_CG = 0xf0, MEM7110_SP = 0xf1, MEM6510_CG2 = 0x23 }
 
enum  GSM_71_65_Phonebook_Entries_Types {
  N7110_PBK_SIM_SPEEDDIAL = 0x04, N7110_PBK_NAME = 0x07, N7110_PBK_EMAIL = 0x08, N7110_PBK_POSTAL = 0x09,
  N7110_PBK_NOTE = 0x0A, N7110_PBK_NUMBER = 0x0B, N7110_PBK_RINGTONE_ID = 0x0C, N7110_PBK_DATETIME = 0x13,
  N7110_PBK_MISSED = 0x19, N7110_PBK_SPEEDDIAL = 0x1A, N7110_PBK_GROUPLOGO = 0x1B, N7110_PBK_LOGOON = 0x1C,
  N7110_PBK_GROUP = 0x1E, N7110_PBK_UNKNOWN2 = 0x1F, N7110_PBK_UNKNOWN3 = 0x7E, N6510_PBK_URL = 0x2C,
  N6510_PBK_SMSLIST_ID = 0x2E, N6510_PBK_VOICETAG_ID = 0x2F, N6510_PBK_PICTURE_ID = 0x33, N6510_PBK_RINGTONEFILE_ID = 0x37,
  N6510_PBK_USER_ID = 0x38, N6510_PBK_UNKNOWN2 = 0x3B, N6510_PBK_UNKNOWN3 = 0x3C, N6510_PBK_UNKNOWN4 = 0x3D,
  N6510_PBK_PUSHTOTALK_ID = 0x3F, N6510_PBK_UNKNOWN5 = 0x42, N6510_PBK_GROUP2_ID = 0x43, S4030_PBK_CALLLENGTH = 0x44,
  S4030_PBK_FIRSTNAME = 0x46, S4030_PBK_LASTNAME = 0x47, S4030_PBK_POSTAL = 0x4A, S4030_PBK_FORMALNAME = 0x52,
  S4030_PBK_JOBTITLE = 0x54, S4030_PBK_COMPANY = 0x55, S4030_PBK_NICKNAME = 0x56, S4030_PBK_BIRTHDAY = 0x57,
  N2630_PBK_FAVMESSAGING = 0x65, N3600_PBK_UNKNOWN1 = 0x7b, N6303_PBK_UNKNOWN1 = 0x8b, N6303_PBK_UNKNOWN2 = 0x8e
}
 
enum  GSM_71_65_Phonebook_Number_Types {
  N7110_PBK_NUMBER_HOME = 0x02, N7110_PBK_NUMBER_MOBILE = 0x03, N7110_PBK_NUMBER_FAX = 0x04, N7110_PBK_NUMBER_WORK = 0x06,
  N7110_PBK_NUMBER_GENERAL = 0x0A
}
 
enum  GSM_Series40_30_Phonebook_Postal_Types {
  S4030_PBK_POSTAL_EXTADDRESS = 0x4B, S4030_PBK_POSTAL_STREET = 0x4C, S4030_PBK_POSTAL_CITY = 0x4D, S4030_PBK_POSTAL_STATE = 0x4E,
  S4030_PBK_POSTAL_POSTAL = 0x4F, S4030_PBK_POSTAL_COUNTRY = 0x50
}
 

Macro Definition Documentation

§ N6110_FRAME_HEADER

#define N6110_FRAME_HEADER   0x00, 0x01, 0x00

Definition at line 8 of file ncommon.h.

Referenced by NOKIA_EncodeDateTime().

§ N7110_FRAME_HEADER

#define N7110_FRAME_HEADER   0x00, 0x01, 0x01

Definition at line 9 of file ncommon.h.

§ NOKIA_PRESSPHONEKEY

#define NOKIA_PRESSPHONEKEY   0x01

Definition at line 96 of file ncommon.h.

§ NOKIA_RELEASEPHONEKEY

#define NOKIA_RELEASEPHONEKEY   0x02

Definition at line 97 of file ncommon.h.

Enumeration Type Documentation

§ GSM_71_65_Phonebook_Entries_Types

Enumerator
N7110_PBK_SIM_SPEEDDIAL 
N7110_PBK_NAME 
N7110_PBK_EMAIL 
N7110_PBK_POSTAL 
N7110_PBK_NOTE 
N7110_PBK_NUMBER 
N7110_PBK_RINGTONE_ID 
N7110_PBK_DATETIME 
N7110_PBK_MISSED 
N7110_PBK_SPEEDDIAL 
N7110_PBK_GROUPLOGO 
N7110_PBK_LOGOON 
N7110_PBK_GROUP 
N7110_PBK_UNKNOWN2 
N7110_PBK_UNKNOWN3 
N6510_PBK_URL 
N6510_PBK_SMSLIST_ID 
N6510_PBK_VOICETAG_ID 
N6510_PBK_PICTURE_ID 
N6510_PBK_RINGTONEFILE_ID 
N6510_PBK_USER_ID 
N6510_PBK_UNKNOWN2 
N6510_PBK_UNKNOWN3 
N6510_PBK_UNKNOWN4 
N6510_PBK_PUSHTOTALK_ID 
N6510_PBK_UNKNOWN5 
N6510_PBK_GROUP2_ID 
S4030_PBK_CALLLENGTH 
S4030_PBK_FIRSTNAME 
S4030_PBK_LASTNAME 
S4030_PBK_POSTAL 
S4030_PBK_FORMALNAME 
S4030_PBK_JOBTITLE 
S4030_PBK_COMPANY 
S4030_PBK_NICKNAME 
S4030_PBK_BIRTHDAY 
N2630_PBK_FAVMESSAGING 
N3600_PBK_UNKNOWN1 
N6303_PBK_UNKNOWN1 
N6303_PBK_UNKNOWN2 

Definition at line 18 of file ncommon.h.

18  {
19  /* DCT3 and DCT4 */
20  N7110_PBK_SIM_SPEEDDIAL = 0x04, /* Speed dial on SIM */
21  N7110_PBK_NAME = 0x07, /* Text: name (always the only one) */
22  N7110_PBK_EMAIL = 0x08, /* Text: email adress */
23  N7110_PBK_POSTAL = 0x09, /* Text: postal address */
24  N7110_PBK_NOTE = 0x0A, /* Text: note */
25  N7110_PBK_NUMBER = 0x0B, /* Phone number */
26  N7110_PBK_RINGTONE_ID = 0x0C, /* Ringtone ID */
27  N7110_PBK_DATETIME = 0x13, /* Call register: date and time */
28  N7110_PBK_MISSED = 0x19, /* Call register: with missed calls */
29  N7110_PBK_SPEEDDIAL = 0x1A, /* Speed dial */
30  N7110_PBK_GROUPLOGO = 0x1B, /* Caller group: logo */
31  N7110_PBK_LOGOON = 0x1C, /* Caller group: is logo on ? */
32  N7110_PBK_GROUP = 0x1E, /* Caller group number in pbk entry */
33  N7110_PBK_UNKNOWN2 = 0x1F, /* Mystery entry on Nokia 6700 */
34  N7110_PBK_UNKNOWN3 = 0x7E, /* Mystery entry on Nokia 6700 */
35 
36  /* DCT4 only */
37  N6510_PBK_URL = 0x2C, /* Text: URL address */
38  N6510_PBK_SMSLIST_ID = 0x2E, /* SMS list assignment */
39  N6510_PBK_VOICETAG_ID = 0x2F, /* Voice tag assignment */
40  N6510_PBK_PICTURE_ID = 0x33, /* Picture ID assignment */
41  N6510_PBK_RINGTONEFILE_ID= 0x37, /* Ringtone ID from filesystem/internal*/
42  N6510_PBK_USER_ID = 0x38, /* Text: user ID */
43  N6510_PBK_UNKNOWN2 = 0x3B, /* conversation list ID ? */
44  N6510_PBK_UNKNOWN3 = 0x3C, /* Instant Messaging service list ID ? */
45  N6510_PBK_UNKNOWN4 = 0x3D, /* presence list ID ? */
46  N6510_PBK_PUSHTOTALK_ID = 0x3F, /* SIP Address (Push to Talk address) */
47  N6510_PBK_UNKNOWN5 = 0x42, /* Unknown so far */
48  N6510_PBK_GROUP2_ID = 0x43, /* Caller group type 2 ID (6230i,later)*/
49 
50  /* Series 40 3.0 */
51  S4030_PBK_CALLLENGTH = 0x44,
52  S4030_PBK_FIRSTNAME = 0x46,
53  S4030_PBK_LASTNAME = 0x47,
54  S4030_PBK_POSTAL = 0x4A,
55 
56  S4030_PBK_FORMALNAME = 0x52,
57  S4030_PBK_JOBTITLE = 0x54,
58  S4030_PBK_COMPANY = 0x55,
59  S4030_PBK_NICKNAME = 0x56,
60  S4030_PBK_BIRTHDAY = 0x57,
61 
62  /* Unknown/Other series */
64  N3600_PBK_UNKNOWN1 = 0x7b, /* Unknown so far */
65  N6303_PBK_UNKNOWN1 = 0x8b,
66  N6303_PBK_UNKNOWN2 = 0x8e,
GSM_71_65_Phonebook_Entries_Types
Definition: ncommon.h:18

§ GSM_71_65_Phonebook_Number_Types

Enumerator
N7110_PBK_NUMBER_HOME 
N7110_PBK_NUMBER_MOBILE 
N7110_PBK_NUMBER_FAX 
N7110_PBK_NUMBER_WORK 
N7110_PBK_NUMBER_GENERAL 

Definition at line 69 of file ncommon.h.

§ GSM_71_65MemoryType

Enumerator
MEM7110_CG 
MEM7110_SP 
MEM6510_CG2 

Definition at line 11 of file ncommon.h.

11  {
12  MEM7110_CG = 0xf0, /* Caller groups memory */
13  MEM7110_SP = 0xf1, /* Speed dial memory */
14 
15  MEM6510_CG2 = 0x23 /* Caller groups 2 memory */
GSM_71_65MemoryType
Definition: ncommon.h:11

§ GSM_Series40_30_Phonebook_Postal_Types

Enumerator
S4030_PBK_POSTAL_EXTADDRESS 
S4030_PBK_POSTAL_STREET 
S4030_PBK_POSTAL_CITY 
S4030_PBK_POSTAL_STATE 
S4030_PBK_POSTAL_POSTAL 
S4030_PBK_POSTAL_COUNTRY 

Definition at line 77 of file ncommon.h.