Skip to content

Return specific ofono errors after SS transaction

Philippe Nunes ofono 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6common: Fix typos in error stringssrc/common.c+10 -91 reply
2/6dbus: Add new error typessrc/dbus.c src/ofono.h+15 -01 reply
3/6error-mapping: Add function to map telephony errors into ofono error typessrc/error-mapping.c src/error-mapping.h+102 -01 reply
4/6build: Add error-mapping utility to buildMakefile.am+1 -00 replies
5/6Return specific ofono errors according telephony errorssrc/call-barring.c src/call-forwarding.c src/call-settings.c+21 -140 replies
6/6Extend the list of ofono error types returned by the method initiatedoc/supplementaryservices-api.txt+6 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] Return specific ofono errors after SS transaction

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
Signature · 1 line
1.7.9.5