author | zautrix <zautrix> | 2004-10-25 08:56:23 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-25 08:56:23 (UTC) |
commit | 62e92aa86b6281b4e4c2a2bdb57f3ceb5a87f4e3 (patch) (unidiff) | |
tree | c2b7a41b0c8fffdc0786b84ff86724ea8f08d6a1 /gammu/emb/common/phone/nokia/dct3 | |
parent | feff0930372dd51af24dc3b46697e70838277ea5 (diff) | |
download | kdepimpi-62e92aa86b6281b4e4c2a2bdb57f3ceb5a87f4e3.zip kdepimpi-62e92aa86b6281b4e4c2a2bdb57f3ceb5a87f4e3.tar.gz kdepimpi-62e92aa86b6281b4e4c2a2bdb57f3ceb5a87f4e3.tar.bz2 |
gammu updates
Diffstat (limited to 'gammu/emb/common/phone/nokia/dct3') (more/less context) (ignore whitespace changes)
-rw-r--r-- | gammu/emb/common/phone/nokia/dct3/dct3func.c | 17 | ||||
-rw-r--r-- | gammu/emb/common/phone/nokia/dct3/n0650.c | 150 | ||||
-rw-r--r-- | gammu/emb/common/phone/nokia/dct3/n0650.h | 18 | ||||
-rw-r--r-- | gammu/emb/common/phone/nokia/dct3/n6110.c | 17 | ||||
-rw-r--r-- | gammu/emb/common/phone/nokia/dct3/n7110.c | 15 | ||||
-rw-r--r-- | gammu/emb/common/phone/nokia/dct3/n9210.c | 6 |
6 files changed, 218 insertions, 5 deletions
diff --git a/gammu/emb/common/phone/nokia/dct3/dct3func.c b/gammu/emb/common/phone/nokia/dct3/dct3func.c index 17cd0a4..9810a35 100644 --- a/gammu/emb/common/phone/nokia/dct3/dct3func.c +++ b/gammu/emb/common/phone/nokia/dct3/dct3func.c | |||
@@ -1,12 +1,21 @@ | |||
1 | /* (c) 2001-2004 by Marcin Wiacek */ | 1 | /* (c) 2001-2004 by Marcin Wiacek */ |
2 | /* resetting DCT4 phones settings (c) by Walek */ | 2 | /* resetting DCT4 phones settings (c) by Walek */ |
3 | /* based on some Markus Plail, Pavel Janik & others work from Gnokii (www.gnokii.org) | 3 | /* based on some Markus Plail, Pavel Janik & others work from Gnokii (www.gnokii.org) |
4 | * (C) 1999-2000 Hugh Blemings & Pavel Janik ml. (C) 2001-2004 Pawel Kot | 4 | * (C) 1999-2000 Hugh Blemings & Pavel Janik ml. (C) 2001-2004 Pawel Kot |
5 | * GNU GPL version 2 or later | 5 | * GNU GPL version 2 or later |
6 | */ | 6 | */ |
7 | /* Due to a problem in the source code management, the names of some of | ||
8 | * the authors have unfortunately been lost. We do not mean to belittle | ||
9 | * their efforts and hope they will contact us to see their names | ||
10 | * properly added to the Copyright notice above. | ||
11 | * Having published their contributions under the terms of the GNU | ||
12 | * General Public License (GPL) [version 2], the Copyright of these | ||
13 | * authors will remain respected by adhering to the license they chose | ||
14 | * to publish their code under. | ||
15 | */ | ||
7 | 16 | ||
8 | #include <string.h> /* memcpy only */ | 17 | #include <string.h> /* memcpy only */ |
9 | #include <stdio.h> | 18 | #include <stdio.h> |
10 | #include <ctype.h> | 19 | #include <ctype.h> |
11 | 20 | ||
12 | #include "../../../gsmstate.h" | 21 | #include "../../../gsmstate.h" |
@@ -454,16 +463,16 @@ GSM_Error DCT3_ReplyGetNetworkInfo(GSM_Protocol_Message msg, GSM_StateMachine *s | |||
454 | case 0x04: smprintf(s, "not registered in the network");break; | 463 | case 0x04: smprintf(s, "not registered in the network");break; |
455 | default : smprintf(s, "unknown"); | 464 | default : smprintf(s, "unknown"); |
456 | } | 465 | } |
457 | smprintf(s, "\n"); | 466 | smprintf(s, "\n"); |
458 | smprintf(s, "Network selection : %s\n", msg.Buffer[9]==1?"manual":"automatic"); | 467 | smprintf(s, "Network selection : %s\n", msg.Buffer[9]==1?"manual":"automatic"); |
459 | if (msg.Buffer[8]<0x03) { | 468 | if (msg.Buffer[8]<0x03) { |
460 | sprintf(NetInfo.CID, "%02x%02x", msg.Buffer[10], msg.Buffer[11]); | 469 | sprintf(NetInfo.CID, "%02X%02X", msg.Buffer[10], msg.Buffer[11]); |
461 | smprintf(s, "CID : %s\n", NetInfo.CID); | 470 | smprintf(s, "CID : %s\n", NetInfo.CID); |
462 | 471 | ||
463 | sprintf(NetInfo.LAC, "%02x%02x", msg.Buffer[12], msg.Buffer[13]); | 472 | sprintf(NetInfo.LAC, "%02X%02X", msg.Buffer[12], msg.Buffer[13]); |
464 | smprintf(s, "LAC : %s\n", NetInfo.LAC); | 473 | smprintf(s, "LAC : %s\n", NetInfo.LAC); |
465 | 474 | ||
466 | NOKIA_DecodeNetworkCode(msg.Buffer+14,NetInfo.NetworkCode); | 475 | NOKIA_DecodeNetworkCode(msg.Buffer+14,NetInfo.NetworkCode); |
467 | smprintf(s, "Network code : %s\n", NetInfo.NetworkCode); | 476 | smprintf(s, "Network code : %s\n", NetInfo.NetworkCode); |
468 | smprintf(s, "Network name for Gammu : %s ", | 477 | smprintf(s, "Network name for Gammu : %s ", |
469 | DecodeUnicodeString(GSM_GetNetworkName(NetInfo.NetworkCode))); | 478 | DecodeUnicodeString(GSM_GetNetworkName(NetInfo.NetworkCode))); |
@@ -508,14 +517,14 @@ GSM_Error DCT3_ReplyGetNetworkInfo(GSM_Protocol_Message msg, GSM_StateMachine *s | |||
508 | Data->NetworkInfo->NetworkName[0] = 0; | 517 | Data->NetworkInfo->NetworkName[0] = 0; |
509 | memcpy(Data->NetworkInfo->NetworkName+1,msg.Buffer+18,msg.Buffer[17]*2); | 518 | memcpy(Data->NetworkInfo->NetworkName+1,msg.Buffer+18,msg.Buffer[17]*2); |
510 | Data->NetworkInfo->NetworkName[msg.Buffer[17]*2+1]=0x00; | 519 | Data->NetworkInfo->NetworkName[msg.Buffer[17]*2+1]=0x00; |
511 | Data->NetworkInfo->NetworkName[msg.Buffer[17]*2+2]=0x00; | 520 | Data->NetworkInfo->NetworkName[msg.Buffer[17]*2+2]=0x00; |
512 | } | 521 | } |
513 | NOKIA_DecodeNetworkCode(msg.Buffer+14,Data->NetworkInfo->NetworkCode); | 522 | NOKIA_DecodeNetworkCode(msg.Buffer+14,Data->NetworkInfo->NetworkCode); |
514 | sprintf(Data->NetworkInfo->CID, "%02x%02x", msg.Buffer[10], msg.Buffer[11]); | 523 | sprintf(Data->NetworkInfo->CID, "%02X%02X", msg.Buffer[10], msg.Buffer[11]); |
515 | sprintf(Data->NetworkInfo->LAC, "%02x%02x", msg.Buffer[12], msg.Buffer[13]); | 524 | sprintf(Data->NetworkInfo->LAC, "%02X%02X", msg.Buffer[12], msg.Buffer[13]); |
516 | } | 525 | } |
517 | } | 526 | } |
518 | /* 6210/6250/7110 */ | 527 | /* 6210/6250/7110 */ |
519 | if (Data->RequestID==ID_GetBitmap) { | 528 | if (Data->RequestID==ID_GetBitmap) { |
520 | if (msg.Buffer[4]==0x02) { | 529 | if (msg.Buffer[4]==0x02) { |
521 | smprintf(s, "Operator logo available\n"); | 530 | smprintf(s, "Operator logo available\n"); |
diff --git a/gammu/emb/common/phone/nokia/dct3/n0650.c b/gammu/emb/common/phone/nokia/dct3/n0650.c new file mode 100644 index 0000000..3899a16 --- a/dev/null +++ b/gammu/emb/common/phone/nokia/dct3/n0650.c | |||
@@ -0,0 +1,150 @@ | |||
1 | /* (c) 2004 by Marcin Wiacek */ | ||
2 | |||
3 | #include <string.h> | ||
4 | #include <time.h> | ||
5 | |||
6 | #include "../../../gsmcomon.h" | ||
7 | #include "../../../gsmstate.h" | ||
8 | #include "../nfunc.h" | ||
9 | |||
10 | #ifdef GSM_ENABLE_NOKIA650 | ||
11 | |||
12 | static GSM_Reply_Function N650ReplyFunctions[] = { | ||
13 | {DCT3DCT4_ReplyGetModelFirmware,"\xD2",0x02,0x00,ID_GetModel }, | ||
14 | {DCT3DCT4_ReplyGetModelFirmware,"\xD2",0x02,0x00,ID_GetFirmware }, | ||
15 | |||
16 | {NULL, "\x00",0x00,0x00,ID_None } | ||
17 | }; | ||
18 | |||
19 | GSM_Phone_Functions N650Phone = { | ||
20 | "0650", | ||
21 | N650ReplyFunctions, | ||
22 | NONEFUNCTION, /* Initialise */ | ||
23 | NONEFUNCTION, /* Terminate */ | ||
24 | GSM_DispatchMessage, | ||
25 | NOTSUPPORTED, /* ShowStartInfo */ | ||
26 | NOKIA_GetManufacturer, | ||
27 | DCT3DCT4_GetModel, | ||
28 | DCT3DCT4_GetFirmware, | ||
29 | NOTSUPPORTED, /* GetIMEI */ | ||
30 | NOTSUPPORTED, /* GetOriginalIMEI */ | ||
31 | NOTSUPPORTED, /* GetManufactureMonth*/ | ||
32 | NOTSUPPORTED, /* GetProductCode */ | ||
33 | NOTSUPPORTED, /* GetHardware */ | ||
34 | NOTSUPPORTED, /* GetPPM */ | ||
35 | NOTSUPPORTED, /* GetSIMIMSI */ | ||
36 | NOTSUPPORTED, /* GetDateTime */ | ||
37 | NOTSUPPORTED, /* SetDateTime */ | ||
38 | NOTSUPPORTED, /* GetAlarm */ | ||
39 | NOTSUPPORTED, /* SetAlarm */ | ||
40 | NOTSUPPORTED, /* GetLocale */ | ||
41 | NOTSUPPORTED, /* SetLocale */ | ||
42 | NOTSUPPORTED, /* PressKey */ | ||
43 | NOTSUPPORTED, /* Reset */ | ||
44 | NOTSUPPORTED, /* ResetPhoneSettings*/ | ||
45 | NOTSUPPORTED, /* EnterSecurityCode*/ | ||
46 | NOTSUPPORTED, /* GetSecurityStatus*/ | ||
47 | NOTSUPPORTED, /* GetDisplayStatus*/ | ||
48 | NOTSUPPORTED, /* SetAutoNetworkLogin*/ | ||
49 | NOTSUPPORTED, /* GetBatteryCharge*/ | ||
50 | NOTSUPPORTED, /* GetSignalQuality*/ | ||
51 | NOTSUPPORTED, /* GetNetworkInfo */ | ||
52 | NOTSUPPORTED, /* GetCategory */ | ||
53 | NOTSUPPORTED, /* AddCategory */ | ||
54 | NOTSUPPORTED, /* GetCategoryStatus */ | ||
55 | NOTSUPPORTED, /* GetMemoryStatus */ | ||
56 | NOTSUPPORTED, /* GetMemory */ | ||
57 | NOTSUPPORTED, /* GetNextMemory */ | ||
58 | NOTSUPPORTED, /* SetMemory */ | ||
59 | NOTSUPPORTED, /* AddMemory */ | ||
60 | NOTSUPPORTED, /* DeleteMemory */ | ||
61 | NOTIMPLEMENTED, /* DeleteAllMemory */ | ||
62 | NOTSUPPORTED, /* GetSpeedDial */ | ||
63 | NOTSUPPORTED, /* SetSpeedDial */ | ||
64 | NOTSUPPORTED, /* GetSMSC */ | ||
65 | NOTSUPPORTED, /* SetSMSC */ | ||
66 | NOTSUPPORTED, /* GetSMSStatus */ | ||
67 | NOTSUPPORTED, /* GetSMS */ | ||
68 | NOTSUPPORTED, /* GetNextSMS */ | ||
69 | NOTSUPPORTED, /* SetSMS */ | ||
70 | NOTSUPPORTED, /* AddSMS */ | ||
71 | NOTSUPPORTED, /* DeleteSMS */ | ||
72 | NOTSUPPORTED, /* SendSMSMessage */ | ||
73 | NOTSUPPORTED, /* SendSavedSMS */ | ||
74 | NOTSUPPORTED, /* SetIncomingSMS */ | ||
75 | NOTSUPPORTED, /* SetIncomingCB */ | ||
76 | NOTSUPPORTED, /* GetSMSFolders */ | ||
77 | NOTSUPPORTED, /* AddSMSFolder */ | ||
78 | NOTSUPPORTED, /* DeleteSMSFolder */ | ||
79 | NOTSUPPORTED, /* DialVoice */ | ||
80 | NOTSUPPORTED, /* AnswerCall */ | ||
81 | NOTSUPPORTED, /* CancelCall */ | ||
82 | NOTSUPPORTED, /* HoldCall */ | ||
83 | NOTSUPPORTED, /* UnholdCall */ | ||
84 | NOTSUPPORTED, /* ConferenceCall */ | ||
85 | NOTSUPPORTED, /* SplitCall */ | ||
86 | NOTSUPPORTED, /* TransferCall */ | ||
87 | NOTSUPPORTED, /* SwitchCall */ | ||
88 | NOTSUPPORTED, /* GetCallDivert */ | ||
89 | NOTSUPPORTED, /* SetCallDivert */ | ||
90 | NOTSUPPORTED, /* CancelAllDiverts*/ | ||
91 | NOTSUPPORTED, /* SetIncomingCall */ | ||
92 | NOTSUPPORTED, /* SetIncomingUSSD */ | ||
93 | NOTSUPPORTED, /* SendDTMF */ | ||
94 | NOTSUPPORTED, /* GetRingtone */ | ||
95 | NOTSUPPORTED, /* SetRingtone */ | ||
96 | NOTSUPPORTED, /* GetRingtonesInfo*/ | ||
97 | NOTSUPPORTED, /* DeleteUserRingtones*/ | ||
98 | NOTSUPPORTED, /* PlayTone */ | ||
99 | NOTSUPPORTED, /* GetWAPBookmark */ | ||
100 | NOTSUPPORTED, /* SetWAPBookmark */ | ||
101 | NOTSUPPORTED, /* DeleteWAPBookmark */ | ||
102 | NOTSUPPORTED, /* GetWAPSettings */ | ||
103 | NOTSUPPORTED, /* SetWAPSettings */ | ||
104 | NOTSUPPORTED, /* GetMMSSettings */ | ||
105 | NOTSUPPORTED, /* SetMMSSettings */ | ||
106 | NOTSUPPORTED, /* GetBitmap */ | ||
107 | NOTSUPPORTED, /* SetBitmap */ | ||
108 | NOTSUPPORTED, /* GetToDoStatus */ | ||
109 | NOTSUPPORTED, /* GetToDo */ | ||
110 | NOTSUPPORTED, /* GetNextToDo */ | ||
111 | NOTSUPPORTED, /* SetToDo */ | ||
112 | NOTSUPPORTED, /* AddToDo */ | ||
113 | NOTSUPPORTED, /* DeleteToDo */ | ||
114 | NOTSUPPORTED, /* DeleteAllToDo */ | ||
115 | NOTSUPPORTED, /* GetCalendarStatus*/ | ||
116 | NOTSUPPORTED, /* GetCalendar */ | ||
117 | NOTSUPPORTED, /* GetNextCalendar */ | ||
118 | NOTSUPPORTED, /* SetCalendar */ | ||
119 | NOTSUPPORTED, /* AddCalendar */ | ||
120 | NOTSUPPORTED, /* DeleteCalendar */ | ||
121 | NOTSUPPORTED, /* DeleteAllCalendar*/ | ||
122 | NOTSUPPORTED, /* GetCalendarSettings*/ | ||
123 | NOTSUPPORTED, /* SetCalendarSettings*/ | ||
124 | NOTSUPPORTED, /* GetNoteStatus */ | ||
125 | NOTSUPPORTED, /* GetNote */ | ||
126 | NOTSUPPORTED, /* GetNextNote */ | ||
127 | NOTSUPPORTED, /* SetNote */ | ||
128 | NOTSUPPORTED, /* AddNote */ | ||
129 | NOTSUPPORTED, /* DeleteNote */ | ||
130 | NOTSUPPORTED, /* DeleteAllNotes */ | ||
131 | NOTSUPPORTED, /* GetProfile */ | ||
132 | NOTSUPPORTED, /* SetProfile */ | ||
133 | NOTSUPPORTED, /* GetFMStation */ | ||
134 | NOTSUPPORTED, /* SetFMStation */ | ||
135 | NOTSUPPORTED, /* ClearFMStations */ | ||
136 | NOTSUPPORTED, /* GetNextFileFolder*/ | ||
137 | NOTSUPPORTED, /* GetFilePart */ | ||
138 | NOTSUPPORTED, /* AddFilePart */ | ||
139 | NOTSUPPORTED, /* GetFileSystemStatus*/ | ||
140 | NOTSUPPORTED, /* DeleteFile */ | ||
141 | NOTSUPPORTED, /* AddFolder */ | ||
142 | NOTSUPPORTED, /* GetGPRSAccessPoint*/ | ||
143 | NOTSUPPORTED /* SetGPRSAccessPoint*/ | ||
144 | }; | ||
145 | |||
146 | #endif | ||
147 | |||
148 | /* How should editor hadle tabs in this file? Add editor commands here. | ||
149 | * vim: noexpandtab sw=8 ts=8 sts=8: | ||
150 | */ | ||
diff --git a/gammu/emb/common/phone/nokia/dct3/n0650.h b/gammu/emb/common/phone/nokia/dct3/n0650.h new file mode 100644 index 0000000..be491eb --- a/dev/null +++ b/gammu/emb/common/phone/nokia/dct3/n0650.h | |||
@@ -0,0 +1,18 @@ | |||
1 | /* (c) 2004 by Marcin Wiacek */ | ||
2 | |||
3 | #ifndef n650_h | ||
4 | #define n650_h | ||
5 | |||
6 | typedef struct { | ||
7 | int fake; | ||
8 | } GSM_Phone_N650Data; | ||
9 | |||
10 | #ifndef GSM_USED_MBUS2 | ||
11 | # define GSM_USED_MBUS2 | ||
12 | #endif | ||
13 | |||
14 | #endif | ||
15 | |||
16 | /* How should editor hadle tabs in this file? Add editor commands here. | ||
17 | * vim: noexpandtab sw=8 ts=8 sts=8: | ||
18 | */ | ||
diff --git a/gammu/emb/common/phone/nokia/dct3/n6110.c b/gammu/emb/common/phone/nokia/dct3/n6110.c index dac6c12..c3ddfb6 100644 --- a/gammu/emb/common/phone/nokia/dct3/n6110.c +++ b/gammu/emb/common/phone/nokia/dct3/n6110.c | |||
@@ -1,12 +1,21 @@ | |||
1 | /* (c) 2001-2004 by Marcin Wiacek */ | 1 | /* (c) 2001-2004 by Marcin Wiacek */ |
2 | /* 5210 calendar IDs by Frederick Ros */ | 2 | /* 5210 calendar IDs by Frederick Ros */ |
3 | /* based on some Markus Plail, Pavel Janik & others work from Gnokii (www.gnokii.org) | 3 | /* based on some Markus Plail, Pavel Janik & others work from Gnokii (www.gnokii.org) |
4 | * (C) 1999-2000 Hugh Blemings & Pavel Janik ml. (C) 2001-2004 Pawel Kot | 4 | * (C) 1999-2000 Hugh Blemings & Pavel Janik ml. (C) 2001-2004 Pawel Kot |
5 | * GNU GPL version 2 or later | 5 | * GNU GPL version 2 or later |
6 | */ | 6 | */ |
7 | /* Due to a problem in the source code management, the names of some of | ||
8 | * the authors have unfortunately been lost. We do not mean to belittle | ||
9 | * their efforts and hope they will contact us to see their names | ||
10 | * properly added to the Copyright notice above. | ||
11 | * Having published their contributions under the terms of the GNU | ||
12 | * General Public License (GPL) [version 2], the Copyright of these | ||
13 | * authors will remain respected by adhering to the license they chose | ||
14 | * to publish their code under. | ||
15 | */ | ||
7 | 16 | ||
8 | #include "../../../gsmstate.h" | 17 | #include "../../../gsmstate.h" |
9 | 18 | ||
10 | #ifdef GSM_ENABLE_NOKIA6110 | 19 | #ifdef GSM_ENABLE_NOKIA6110 |
11 | 20 | ||
12 | #include <string.h> | 21 | #include <string.h> |
@@ -2865,13 +2874,19 @@ GSM_Phone_Functions N6110Phone = { | |||
2865 | NOTIMPLEMENTED, /* SetCalendar */ | 2874 | NOTIMPLEMENTED, /* SetCalendar */ |
2866 | N6110_AddCalendarNote, | 2875 | N6110_AddCalendarNote, |
2867 | N6110_DeleteCalendarNote, | 2876 | N6110_DeleteCalendarNote, |
2868 | NOTIMPLEMENTED, /* DeleteAllCalendar */ | 2877 | NOTIMPLEMENTED, /* DeleteAllCalendar */ |
2869 | NOTSUPPORTED, /* GetCalendarSettings */ | 2878 | NOTSUPPORTED, /* GetCalendarSettings */ |
2870 | NOTSUPPORTED, /* SetCalendarSettings */ | 2879 | NOTSUPPORTED, /* SetCalendarSettings */ |
2871 | NOTSUPPORTED, /* GetNextNote */ | 2880 | NOTSUPPORTED, /* GetNoteStatus */ |
2881 | NOTSUPPORTED, /* GetNote */ | ||
2882 | NOTSUPPORTED, /* GetNextNote */ | ||
2883 | NOTSUPPORTED, /* SetNote */ | ||
2884 | NOTSUPPORTED, /* AddNote */ | ||
2885 | NOTSUPPORTED, /* DeleteNote */ | ||
2886 | NOTSUPPORTED, /* DeleteAllNotes */ | ||
2872 | N6110_GetProfile, | 2887 | N6110_GetProfile, |
2873 | N6110_SetProfile, | 2888 | N6110_SetProfile, |
2874 | NOTSUPPORTED, /* GetFMStation */ | 2889 | NOTSUPPORTED, /* GetFMStation */ |
2875 | NOTSUPPORTED, /* SetFMStation */ | 2890 | NOTSUPPORTED, /* SetFMStation */ |
2876 | NOTSUPPORTED, /* ClearFMStations */ | 2891 | NOTSUPPORTED, /* ClearFMStations */ |
2877 | NOTSUPPORTED, /* GetNextFileFolder */ | 2892 | NOTSUPPORTED, /* GetNextFileFolder */ |
diff --git a/gammu/emb/common/phone/nokia/dct3/n7110.c b/gammu/emb/common/phone/nokia/dct3/n7110.c index b597f9b..a8e0545 100644 --- a/gammu/emb/common/phone/nokia/dct3/n7110.c +++ b/gammu/emb/common/phone/nokia/dct3/n7110.c | |||
@@ -1,11 +1,20 @@ | |||
1 | /* (c) 2001-2004 by Marcin Wiacek */ | 1 | /* (c) 2001-2004 by Marcin Wiacek */ |
2 | /* based on some Markus Plail work from Gnokii (www.gnokii.org) | 2 | /* based on some Markus Plail work from Gnokii (www.gnokii.org) |
3 | * (C) 1999-2000 Hugh Blemings & Pavel Janik ml. (C) 2001-2004 Pawel Kot | 3 | * (C) 1999-2000 Hugh Blemings & Pavel Janik ml. (C) 2001-2004 Pawel Kot |
4 | * GNU GPL version 2 or later | 4 | * GNU GPL version 2 or later |
5 | */ | 5 | */ |
6 | /* Due to a problem in the source code management, the names of some of | ||
7 | * the authors have unfortunately been lost. We do not mean to belittle | ||
8 | * their efforts and hope they will contact us to see their names | ||
9 | * properly added to the Copyright notice above. | ||
10 | * Having published their contributions under the terms of the GNU | ||
11 | * General Public License (GPL) [version 2], the Copyright of these | ||
12 | * authors will remain respected by adhering to the license they chose | ||
13 | * to publish their code under. | ||
14 | */ | ||
6 | 15 | ||
7 | #include "../../../gsmstate.h" | 16 | #include "../../../gsmstate.h" |
8 | 17 | ||
9 | #ifdef GSM_ENABLE_NOKIA7110 | 18 | #ifdef GSM_ENABLE_NOKIA7110 |
10 | 19 | ||
11 | #include <string.h> | 20 | #include <string.h> |
@@ -1703,13 +1712,19 @@ GSM_Phone_Functions N7110Phone = { | |||
1703 | NOTIMPLEMENTED, /* SetCalendar */ | 1712 | NOTIMPLEMENTED, /* SetCalendar */ |
1704 | N7110_AddCalendar, | 1713 | N7110_AddCalendar, |
1705 | N71_65_DelCalendar, | 1714 | N71_65_DelCalendar, |
1706 | NOTIMPLEMENTED, /* DeleteAllCalendar*/ | 1715 | NOTIMPLEMENTED, /* DeleteAllCalendar*/ |
1707 | NOTSUPPORTED, /* GetCalendarSettings*/ | 1716 | NOTSUPPORTED, /* GetCalendarSettings*/ |
1708 | NOTSUPPORTED, /* SetCalendarSettings*/ | 1717 | NOTSUPPORTED, /* SetCalendarSettings*/ |
1718 | NOTSUPPORTED, /* GetNoteStatus */ | ||
1719 | NOTSUPPORTED, /* GetNote */ | ||
1709 | NOTSUPPORTED, /* GetNextNote */ | 1720 | NOTSUPPORTED, /* GetNextNote */ |
1721 | NOTSUPPORTED, /* SetNote */ | ||
1722 | NOTSUPPORTED, /* AddNote */ | ||
1723 | NOTSUPPORTED, /* DeleteNote */ | ||
1724 | NOTSUPPORTED, /* DeleteAllNotes */ | ||
1710 | N7110_GetProfile, | 1725 | N7110_GetProfile, |
1711 | N7110_SetProfile, | 1726 | N7110_SetProfile, |
1712 | NOTSUPPORTED, /* GetFMStation */ | 1727 | NOTSUPPORTED, /* GetFMStation */ |
1713 | NOTSUPPORTED, /* SetFMStation */ | 1728 | NOTSUPPORTED, /* SetFMStation */ |
1714 | NOTSUPPORTED, /* ClearFMStations */ | 1729 | NOTSUPPORTED, /* ClearFMStations */ |
1715 | NOTSUPPORTED, /* GetNextFileFolder*/ | 1730 | NOTSUPPORTED, /* GetNextFileFolder*/ |
diff --git a/gammu/emb/common/phone/nokia/dct3/n9210.c b/gammu/emb/common/phone/nokia/dct3/n9210.c index ff71ad3..f535c2a 100644 --- a/gammu/emb/common/phone/nokia/dct3/n9210.c +++ b/gammu/emb/common/phone/nokia/dct3/n9210.c | |||
@@ -371,13 +371,19 @@ GSM_Phone_Functions N9210Phone = { | |||
371 | NOTSUPPORTED, /* SetCalendar */ | 371 | NOTSUPPORTED, /* SetCalendar */ |
372 | NOTSUPPORTED, /* AddCalendar */ | 372 | NOTSUPPORTED, /* AddCalendar */ |
373 | NOTSUPPORTED, /* DeleteCalendar */ | 373 | NOTSUPPORTED, /* DeleteCalendar */ |
374 | NOTSUPPORTED, /* DeleteAllCalendar*/ | 374 | NOTSUPPORTED, /* DeleteAllCalendar*/ |
375 | NOTSUPPORTED, /* GetCalendarSettings*/ | 375 | NOTSUPPORTED, /* GetCalendarSettings*/ |
376 | NOTSUPPORTED, /* SetCalendarSettings*/ | 376 | NOTSUPPORTED, /* SetCalendarSettings*/ |
377 | NOTSUPPORTED, /* GetNoteStatus */ | ||
378 | NOTSUPPORTED, /* GetNote */ | ||
377 | NOTSUPPORTED, /* GetNextNote */ | 379 | NOTSUPPORTED, /* GetNextNote */ |
380 | NOTSUPPORTED, /* SetNote */ | ||
381 | NOTSUPPORTED, /* AddNote */ | ||
382 | NOTSUPPORTED, /* DeleteNote */ | ||
383 | NOTSUPPORTED, /* DeleteAllNotes */ | ||
378 | NOTIMPLEMENTED, /* GetProfile */ | 384 | NOTIMPLEMENTED, /* GetProfile */ |
379 | NOTSUPPORTED, /* SetProfile */ | 385 | NOTSUPPORTED, /* SetProfile */ |
380 | NOTSUPPORTED, /* GetFMStation */ | 386 | NOTSUPPORTED, /* GetFMStation */ |
381 | NOTSUPPORTED, /* SetFMStation */ | 387 | NOTSUPPORTED, /* SetFMStation */ |
382 | NOTSUPPORTED, /* ClearFMStations */ | 388 | NOTSUPPORTED, /* ClearFMStations */ |
383 | NOTSUPPORTED, /* GetNextFileFolder*/ | 389 | NOTSUPPORTED, /* GetNextFileFolder*/ |