As pointed by the first GCF tests, the user indication does not distinguish the 
type of error occured after an SS request.
Actually, the ofono error type .Failed is returned whatever is the telephony 
error.
In order to return more specific ofono error types, I introduced an utility 
function to map the telephony errors into ofono errors.
I extended also the ofono error types to match more closely with the telephony 
errors. 

Philippe Nunes (6):
  common: Fix typos in error strings
  dbus: Add new error types
  error-mapping: Add function to map telephony errors into ofono error
    types
  build: Add error-mapping utility to build
  Return specific ofono errors according telephony errors
  Extend the list of ofono error types returned by the method initiate

 Makefile.am                       |    1 +
 doc/supplementaryservices-api.txt |    6 +++
 src/call-barring.c                |   11 ++++--
 src/call-forwarding.c             |    6 ++-
 src/call-settings.c               |   18 +++++----
 src/common.c                      |   19 ++++-----
 src/dbus.c                        |   13 +++++++
 src/error-mapping.c               |   77 +++++++++++++++++++++++++++++++++++++
 src/error-mapping.h               |   25 ++++++++++++
 src/ofono.h                       |    2 +
 10 files changed, 155 insertions(+), 23 deletions(-)
 create mode 100644 src/error-mapping.c
 create mode 100644 src/error-mapping.h

-- 
1.7.9.5

_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to