summaryrefslogtreecommitdiffstats
path: root/libril/ril_commands.h
diff options
context:
space:
mode:
authorSukanya Rajkhowa <srajkh@codeaurora.org>2013-09-10 12:30:13 -0700
committerEd Tam <etam@google.com>2013-10-10 16:18:58 -0700
commita18b9d1e1a014290691d63a7f335085dadc83e46 (patch)
tree17be8f206b5f98913c00e107fbb22a8ff8bb6bb2 /libril/ril_commands.h
parent3492c6e5917828645feb3dba4618629929a43ab1 (diff)
downloadandroid_hardware_ril-a18b9d1e1a014290691d63a7f335085dadc83e46.tar.gz
android_hardware_ril-a18b9d1e1a014290691d63a7f335085dadc83e46.tar.bz2
android_hardware_ril-a18b9d1e1a014290691d63a7f335085dadc83e46.zip
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
Diffstat (limited to 'libril/ril_commands.h')
-rw-r--r--libril/ril_commands.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libril/ril_commands.h b/libril/ril_commands.h
index 3e5a619..16daa72 100644
--- a/libril/ril_commands.h
+++ b/libril/ril_commands.h
@@ -126,3 +126,5 @@
{RIL_REQUEST_GET_CELL_INFO_LIST, dispatchVoid, responseCellInfoList},
{RIL_REQUEST_SET_UNSOL_CELL_INFO_LIST_RATE, dispatchInts, responseVoid},
{RIL_REQUEST_SET_INITIAL_ATTACH_APN, dispatchSetInitialAttachApn, responseVoid},
+ {RIL_REQUEST_IMS_REGISTRATION_STATE, dispatchVoid, responseInts},
+ {RIL_REQUEST_IMS_SEND_SMS, dispatchImsSms, responseSMS},