Skip to content

Commit

Permalink
Fix documenation IMS registration state.
Browse files Browse the repository at this point in the history
Bug: 11599127
Change-Id: Id0016bca45ea84983c9280f55b0b1ccdcececc03
  • Loading branch information
Wink Saville authored and kecinzer committed Dec 6, 2013
1 parent 40e57d7 commit 06fbe05
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions include/telephony/ril.h
Original file line number Diff line number Diff line change
Expand Up @@ -3539,13 +3539,16 @@ typedef struct {
* ((int *)response)[0] is registration state:
* 0 - Not registered
* 1 - Registered
* ((int *)response)[1] is bitmap of the supported services:
* & 0x1 - SMS supported
*
* If IMS is registered and supports SMS, then ((int *) response)[2]
* If ((int*)response)[0] is = 1, then ((int *) response)[1]
* must follow with IMS SMS format:
*
* ((int *) response)[2] is of type const RIL_IMS_SMS_Format
* ((int *) response)[1] is of type RIL_RadioTechnologyFamily
*
* Valid errors:
* SUCCESS
* RADIO_NOT_AVAILABLE
* GENERIC_FAILURE
*/
#define RIL_REQUEST_IMS_REGISTRATION_STATE 112

Expand Down Expand Up @@ -4062,22 +4065,18 @@ typedef struct {
*/
#define RIL_UNSOL_CELL_INFO_LIST 1036

/*
/**
* RIL_UNSOL_RESPONSE_IMS_NETWORK_STATE_CHANGED
*
* Called when IMS registration state has changed
*
* "data" is int *
* ((int *)response)[0] is registration state:
* 0 - Not registered
* 1 - Registered
* ((int *)response)[1] is bitmap of the services supported:
* & 0x1 - SMS supported
* To get IMS registration state and IMS SMS format, callee needs to invoke the
* following request on main thread:
*
* If IMS is registered and supports SMS, then ((int *) response)[2]
* must follow with IMS SMS format:
* RIL_REQUEST_IMS_REGISTRATION_STATE
*
* "data" is NULL
*
* ((int *) response)[2] is of type const RIL_IMS_SMS_Format
*/
#define RIL_UNSOL_RESPONSE_IMS_NETWORK_STATE_CHANGED 1037

Expand Down

0 comments on commit 06fbe05

Please sign in to comment.