On 05/24/2017 11:27 AM, Rohit Agrawal wrote:
I have a general query regarding error code value being passed up by
ofono to applications over Dbus.
Assume Ofono talks to Modem through RILD. Does Ofono passes error code
or error value when Voice-Call or Data-Call or Send-SMS fails so that
application can do something on receiving such error codes ?
Not really. We try to decode the error into something more generic if
the driver provides us such information, but the raw error value is not
returned to the application. See src/dbus.c, __ofono_error_from_error()
Also SMS Delivery Report is given to application through which Signal
(Immediate Message or Incoming Message) ?
Delivery reports are handled through the history plugin. They are not
exposed over the D-Bus API. See include/history.h and examples/history.c