OSDN Git Service

RIL: Support SMS over IMS
authorSukanya Rajkhowa <srajkh@codeaurora.org>
Tue, 10 Sep 2013 19:30:13 +0000 (12:30 -0700)
committerEd Tam <etam@google.com>
Thu, 10 Oct 2013 23:18:58 +0000 (16:18 -0700)
commita18b9d1e1a014290691d63a7f335085dadc83e46
tree17be8f206b5f98913c00e107fbb22a8ff8bb6bb2
parent3492c6e5917828645feb3dba4618629929a43ab1
RIL: Support SMS over IMS

RIL_REQUEST_IMS_REGISTRATION_STATE is used to aquire IMS registration state.
RIL_UNSOL_RESPONSE_IMS_NETWORK_STATE_CHANGED is called when IMS registration
state has changed.
RIL_REQUEST_IMS_SEND_SMS is used to send MO SMS over IMS. However, if retry
field is set in case of failure, RIL_REQUEST_IMS_SEND_SMS sets messageRef from
RIL_SMS_RESPONSE of corresponding failed MO SMS, and sets retry field to
non-zero. If voice is available, sends RIL_REQUEST_IMS_SEND_SMS retries with
data encoded based on voice tech available.

Bug: 9626411

Change-Id: If0ecc9fa47661f6560171e472f3c464713e97968
include/telephony/ril.h
libril/ril.cpp
libril/ril_commands.h
libril/ril_unsol_commands.h
reference-ril/reference-ril.c