OSDN Git Service

RIL: Support SMS on IMS, DO NOT MERGE
authorRika Brooks <rbrooks@codeaurora.org>
Tue, 15 Nov 2011 19:19:30 +0000 (11:19 -0800)
committerEd Tam <etam@google.com>
Tue, 27 Aug 2013 23:17:12 +0000 (16:17 -0700)
commit6c09776c813e63715195bfc529b4d1886a8b675f
tree0d42c77eee6d34ba1f7c5a47a70704cfd4bcb1e1
parenta1a0952a703d66dee1a749976b061a16c6e642a0
RIL: Support SMS on IMS, DO NOT MERGE

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: I87ca9841b4ace931c55e2d379fe6d7589b2dc8a5
include/telephony/ril.h
libril/ril.cpp
libril/ril_commands.h
libril/ril_unsol_commands.h
reference-ril/reference-ril.c