[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-37
From: |
Daniele Forsi |
Subject: |
[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-370-g031d6fa |
Date: |
Tue, 06 Mar 2012 13:21:43 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "libgnokii and core programs".
The branch, master has been updated
via 031d6faa043c0c421f7928f13ec56e4e6902af8e (commit)
via 749296c94f1fa7977ee2e7e71d40dc03368b55d2 (commit)
from 62edfa6e747125dcac77d4c450abae13131bf514 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/gnokii.git/commit/?id=031d6faa043c0c421f7928f13ec56e4e6902af8e
commit 031d6faa043c0c421f7928f13ec56e4e6902af8e
Author: Daniele Forsi <address@hidden>
Date: Tue Mar 6 14:17:59 2012 +0100
Add more error codes for GN_OP_ReadPhonebook
Adds a code for "not ready" and a code for "invalid memory type".
Tested on Nokia 7110 NSE-5 with firmware 04.88.
diff --git a/ChangeLog b/ChangeLog
index 16ce047..b463a95 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -39,6 +39,8 @@
* xgnokii updates
o fix bug that caused to forget subentries after the first one
when editing the phonebook (Daniele Forsi)
+ * nk7110 driver updates
+ o add more error codes for GN_OP_ReadPhonebook (Daniele Forsi)
0.6.31
======
diff --git a/common/phones/nk7110.c b/common/phones/nk7110.c
index 70611e6..abb65ae 100644
--- a/common/phones/nk7110.c
+++ b/common/phones/nk7110.c
@@ -701,6 +701,9 @@ static gn_error NK7110_IncomingPhonebook(int messagetype,
unsigned char *message
}
if (message[6] == 0x0f) { /* not found */
switch (message[10]) {
+ case 0x27:
+ /* Phone is turned off */
+ return GN_ERR_NOTREADY;
case 0x30:
if (data->phonebook_entry)
memtype_req =
data->phonebook_entry->memory_type;
@@ -718,6 +721,8 @@ static gn_error NK7110_IncomingPhonebook(int messagetype,
unsigned char *message
break;
}
return GN_ERR_INVALIDMEMORYTYPE;
+ case 0x31:
+ return GN_ERR_INVALIDMEMORYTYPE;
case 0x33:
return GN_ERR_EMPTYLOCATION;
case 0x34:
http://git.savannah.gnu.org/cgit/gnokii.git/commit/?id=749296c94f1fa7977ee2e7e71d40dc03368b55d2
commit 031d6faa043c0c421f7928f13ec56e4e6902af8e
Author: Daniele Forsi <address@hidden>
Date: Tue Mar 6 14:17:59 2012 +0100
Add more error codes for GN_OP_ReadPhonebook
Adds a code for "not ready" and a code for "invalid memory type".
Tested on Nokia 7110 NSE-5 with firmware 04.88.
diff --git a/ChangeLog b/ChangeLog
index 16ce047..b463a95 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -39,6 +39,8 @@
* xgnokii updates
o fix bug that caused to forget subentries after the first one
when editing the phonebook (Daniele Forsi)
+ * nk7110 driver updates
+ o add more error codes for GN_OP_ReadPhonebook (Daniele Forsi)
0.6.31
======
diff --git a/common/phones/nk7110.c b/common/phones/nk7110.c
index 70611e6..abb65ae 100644
--- a/common/phones/nk7110.c
+++ b/common/phones/nk7110.c
@@ -701,6 +701,9 @@ static gn_error NK7110_IncomingPhonebook(int messagetype,
unsigned char *message
}
if (message[6] == 0x0f) { /* not found */
switch (message[10]) {
+ case 0x27:
+ /* Phone is turned off */
+ return GN_ERR_NOTREADY;
case 0x30:
if (data->phonebook_entry)
memtype_req =
data->phonebook_entry->memory_type;
@@ -718,6 +721,8 @@ static gn_error NK7110_IncomingPhonebook(int messagetype,
unsigned char *message
break;
}
return GN_ERR_INVALIDMEMORYTYPE;
+ case 0x31:
+ return GN_ERR_INVALIDMEMORYTYPE;
case 0x33:
return GN_ERR_EMPTYLOCATION;
case 0x34:
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
common/gsm-common.c | 6 ++++++
common/phones/nk6510.c | 18 ++++++++++++++++++
common/phones/nk7110.c | 5 +++++
include/gnokii/common.h | 4 +++-
include/phones/nk6510.h | 3 +++
6 files changed, 40 insertions(+), 1 deletions(-)
hooks/post-receive
--
libgnokii and core programs
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-370-g031d6fa,
Daniele Forsi <=