diff options
author | jsh <jsh@google.com> | 2010-06-08 16:52:24 -0700 |
---|---|---|
committer | jsh <jsh@google.com> | 2010-06-22 22:27:41 -0700 |
commit | 563fd7207da27322bf3f3587ef6000a944a617b7 (patch) | |
tree | 786537cf2b7851833b546a210af768acd92d925d /include/telephony/ril.h | |
parent | dac2e4af74a75d16cc06757637f381a078f34111 (diff) | |
download | android_hardware_ril-563fd7207da27322bf3f3587ef6000a944a617b7.tar.gz android_hardware_ril-563fd7207da27322bf3f3587ef6000a944a617b7.tar.bz2 android_hardware_ril-563fd7207da27322bf3f3587ef6000a944a617b7.zip |
New RIL command to fetch PSC of current serving cell.
Bug: 2465036
Change-Id: Iccd177747bb78e2cd5ec6d9d22e47aa0e7bfd64b
Diffstat (limited to 'include/telephony/ril.h')
-rw-r--r-- | include/telephony/ril.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/telephony/ril.h b/include/telephony/ril.h index a2b085e..e20de37 100644 --- a/include/telephony/ril.h +++ b/include/telephony/ril.h @@ -2959,6 +2959,30 @@ typedef struct { */ #define RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING 103 +/** + * RIL_REQUEST_QUERY_CURRENT_CELL_PSC + * + * Fetches the Primary Scrambling Code of the current serving cell in a UMTS + * network. + * + * "data" is NULL + * "response" is a const char ** + * ((const char **)response)[0] is the UMTS Cell Identity (CID) in hexadecimal + * format (see TS 25.331), or NULL if not + * registered to a UMTS network. + * ((const char **)response)[1] is the PSC as described in TS 25.331, + * in hexadecimal format, or NULL if not + * registered to a UMTS network. + * + * Valid errors: + * SUCCESS + * RADIO_NOT_AVAILABLE + * GENERIC_FAILURE + * + * See also: RIL_REQUEST_REGISTRATION_STATE, RIL_REQUEST_NEIGHBORING_CELL_IDS + */ +#define RIL_REQUEST_QUERY_CURRENT_CELL_PSC 104 + /***********************************************************************/ |