[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-372-g007e99c |
Date: |
Tue, 06 Mar 2012 13:43:29 +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 007e99c40145ea838954425d39e239ff1a5d7d9e (commit)
via 8cbb9528beef35eaf079292831942c591281c267 (commit)
from 031d6faa043c0c421f7928f13ec56e4e6902af8e (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=007e99c40145ea838954425d39e239ff1a5d7d9e
commit 007e99c40145ea838954425d39e239ff1a5d7d9e
Author: Daniele Forsi <address@hidden>
Date: Tue Mar 6 14:36:41 2012 +0100
Replace GN_ERR_NOTIMPLEMENTED with GN_ERR_UNHANDLEDFRAME
So it's easier for the user to send a bug report.
Leave GN_ERR_NOTIMPLEMENTED when there is no response frame to report
(like when checking for GN_OP_*) and when some cases are explicitly
ignored (like *_SUBSMS_SMS_RCVD in nk6510.c and in nk7110.c).
diff --git a/common/phones/nk6100.c b/common/phones/nk6100.c
index 1c11dd7..002d06c 100644
--- a/common/phones/nk6100.c
+++ b/common/phones/nk6100.c
@@ -3204,7 +3204,7 @@ static gn_error IncomingSecurity(int messagetype,
unsigned char *message, int le
}
break;
default:
- return GN_ERR_NOTIMPLEMENTED;
+ return GN_ERR_UNHANDLEDFRAME;
}
break;
diff --git a/common/phones/nk6510.c b/common/phones/nk6510.c
index 67b24da..277e417 100644
--- a/common/phones/nk6510.c
+++ b/common/phones/nk6510.c
@@ -5201,7 +5201,7 @@ static gn_error NK6510_IncomingRadio(int messagetype,
unsigned char *message, in
break;
}
- return GN_ERR_NOTIMPLEMENTED;
+ return GN_ERR_UNHANDLEDFRAME;
}
/*****************/
diff --git a/common/phones/nk7110.c b/common/phones/nk7110.c
index 1d22125..946b2df 100644
--- a/common/phones/nk7110.c
+++ b/common/phones/nk7110.c
@@ -676,7 +676,7 @@ static gn_error NK7110_IncomingPhonebook(int messagetype,
unsigned char *message
dprintf("Memory status - location = %d\n",
(message[8] << 8) + message[9]);
} else {
dprintf("Unknown error getting mem status\n");
- return GN_ERR_NOTIMPLEMENTED;
+ return GN_ERR_UNHANDLEDFRAME;
}
}
break;
@@ -1797,7 +1797,7 @@ static gn_error NK7110_WriteCalendarNote(gn_data *data,
struct gn_statemachine *
req[3] = 0x07;
break;
default:
- return GN_ERR_NOTIMPLEMENTED;
+ return GN_ERR_UNHANDLEDFRAME;
}
req[8] = calnote->time.year >> 8;
@@ -1934,7 +1934,7 @@ static gn_error NK7110_WriteCalendarNote(gn_data *data,
struct gn_statemachine *
break;
default:
- return GN_ERR_NOTIMPLEMENTED;
+ return GN_ERR_UNHANDLEDFRAME;
}
/* padding */
http://git.savannah.gnu.org/cgit/gnokii.git/commit/?id=8cbb9528beef35eaf079292831942c591281c267
commit 007e99c40145ea838954425d39e239ff1a5d7d9e
Author: Daniele Forsi <address@hidden>
Date: Tue Mar 6 14:36:41 2012 +0100
Replace GN_ERR_NOTIMPLEMENTED with GN_ERR_UNHANDLEDFRAME
So it's easier for the user to send a bug report.
Leave GN_ERR_NOTIMPLEMENTED when there is no response frame to report
(like when checking for GN_OP_*) and when some cases are explicitly
ignored (like *_SUBSMS_SMS_RCVD in nk6510.c and in nk7110.c).
diff --git a/common/phones/nk6100.c b/common/phones/nk6100.c
index 1c11dd7..002d06c 100644
--- a/common/phones/nk6100.c
+++ b/common/phones/nk6100.c
@@ -3204,7 +3204,7 @@ static gn_error IncomingSecurity(int messagetype,
unsigned char *message, int le
}
break;
default:
- return GN_ERR_NOTIMPLEMENTED;
+ return GN_ERR_UNHANDLEDFRAME;
}
break;
diff --git a/common/phones/nk6510.c b/common/phones/nk6510.c
index 67b24da..277e417 100644
--- a/common/phones/nk6510.c
+++ b/common/phones/nk6510.c
@@ -5201,7 +5201,7 @@ static gn_error NK6510_IncomingRadio(int messagetype,
unsigned char *message, in
break;
}
- return GN_ERR_NOTIMPLEMENTED;
+ return GN_ERR_UNHANDLEDFRAME;
}
/*****************/
diff --git a/common/phones/nk7110.c b/common/phones/nk7110.c
index 1d22125..946b2df 100644
--- a/common/phones/nk7110.c
+++ b/common/phones/nk7110.c
@@ -676,7 +676,7 @@ static gn_error NK7110_IncomingPhonebook(int messagetype,
unsigned char *message
dprintf("Memory status - location = %d\n",
(message[8] << 8) + message[9]);
} else {
dprintf("Unknown error getting mem status\n");
- return GN_ERR_NOTIMPLEMENTED;
+ return GN_ERR_UNHANDLEDFRAME;
}
}
break;
@@ -1797,7 +1797,7 @@ static gn_error NK7110_WriteCalendarNote(gn_data *data,
struct gn_statemachine *
req[3] = 0x07;
break;
default:
- return GN_ERR_NOTIMPLEMENTED;
+ return GN_ERR_UNHANDLEDFRAME;
}
req[8] = calnote->time.year >> 8;
@@ -1934,7 +1934,7 @@ static gn_error NK7110_WriteCalendarNote(gn_data *data,
struct gn_statemachine *
break;
default:
- return GN_ERR_NOTIMPLEMENTED;
+ return GN_ERR_UNHANDLEDFRAME;
}
/* padding */
-----------------------------------------------------------------------
Summary of changes:
common/phones/nk6100.c | 2 +-
common/phones/nk6510.c | 2 +-
common/phones/nk7110.c | 8 ++++----
3 files changed, 6 insertions(+), 6 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-372-g007e99c,
Daniele Forsi <=