summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWink Saville <wink@google.com>2009-06-09 10:23:37 -0700
committerWink Saville <wink@google.com>2009-06-09 10:23:37 -0700
commit7f8568086f2ea14885b0091c793e14c2656f0da2 (patch)
tree565d194fb6effb053f5200e335f9f5ca20c3c310 /include
parent2641d5b8426beb86870611e5bc7c4eb0a877025b (diff)
downloadandroid_hardware_ril-7f8568086f2ea14885b0091c793e14c2656f0da2.tar.gz
android_hardware_ril-7f8568086f2ea14885b0091c793e14c2656f0da2.tar.bz2
android_hardware_ril-7f8568086f2ea14885b0091c793e14c2656f0da2.zip
Cleanup whitespace.
Diffstat (limited to 'include')
-rw-r--r--include/telephony/ril.h378
-rw-r--r--include/telephony/ril_cdma_sms.h62
2 files changed, 220 insertions, 220 deletions
diff --git a/include/telephony/ril.h b/include/telephony/ril.h
index b3f7a69..6b912f6 100644
--- a/include/telephony/ril.h
+++ b/include/telephony/ril.h
@@ -24,11 +24,11 @@
*
* Supp Service Notification (+CSSN)
* GPRS PDP context deactivate notification
- *
+ *
*/
-#ifndef ANDROID_RIL_H
+#ifndef ANDROID_RIL_H
#define ANDROID_RIL_H 1
#include <stdlib.h>
@@ -82,12 +82,12 @@ typedef enum {
RADIO_STATE_OFF = 0, /* Radio explictly powered off (eg CFUN=0) */
RADIO_STATE_UNAVAILABLE = 1, /* Radio unavailable (eg, resetting or not booted) */
RADIO_STATE_SIM_NOT_READY = 2, /* Radio is on, but the SIM interface is not ready */
- RADIO_STATE_SIM_LOCKED_OR_ABSENT = 3, /* SIM PIN locked, PUK required, network
+ RADIO_STATE_SIM_LOCKED_OR_ABSENT = 3, /* SIM PIN locked, PUK required, network
personalization locked, or SIM absent */
RADIO_STATE_SIM_READY = 4, /* Radio is on and SIM interface is available */
RADIO_STATE_RUIM_NOT_READY = 5, /* Radio is on, but the RUIM interface is not ready */
RADIO_STATE_RUIM_READY = 6, /* Radio is on and the RUIM interface is available */
- RADIO_STATE_RUIM_LOCKED_OR_ABSENT = 7, /* RUIM PIN locked, PUK required, network
+ RADIO_STATE_RUIM_LOCKED_OR_ABSENT = 7, /* RUIM PIN locked, PUK required, network
personalization locked, or RUIM absent */
RADIO_STATE_NV_NOT_READY = 8, /* Radio is on, but the NV interface is not available */
RADIO_STATE_NV_READY = 9 /* Radio is on and the NV interface is available */
@@ -203,7 +203,7 @@ typedef struct {
typedef struct {
char * cid; /* Cell Id (as described in TS 27.005) in 16 bits in GSM
* Primary Scrambling Code (as described in TS 25.331)
- * in 9 bits in UMTS
+ * in 9 bits in UMTS
* Valid values are hexadecimal 0x0000 - 0xffff.
*/
int rssi; /* Received RSSI in 2G,
@@ -259,7 +259,7 @@ typedef struct {
#define RIL_SIM_ABSENT 0
#define RIL_SIM_NOT_READY 1
-/* RIL_SIM_READY means that the radio state is RADIO_STATE_SIM_READY.
+/* RIL_SIM_READY means that the radio state is RADIO_STATE_SIM_READY.
* This is more
* than "+CPIN: READY". It also means the radio is ready for SIM I/O
*/
@@ -281,8 +281,8 @@ typedef enum {
typedef enum {
RIL_PERSOSUBSTATE_UNKNOWN = 0, /* initial state */
RIL_PERSOSUBSTATE_IN_PROGRESS = 1, /* in between each lock transition */
- RIL_PERSOSUBSTATE_READY = 2, /* when either SIM or RUIM Perso is finished
- since each app can only have 1 active perso
+ RIL_PERSOSUBSTATE_READY = 2, /* when either SIM or RUIM Perso is finished
+ since each app can only have 1 active perso
involved */
RIL_PERSOSUBSTATE_SIM_NETWORK = 3,
RIL_PERSOSUBSTATE_SIM_NETWORK_SUBSET = 4,
@@ -313,7 +313,7 @@ typedef enum {
RIL_APPSTATE_DETECTED = 1,
RIL_APPSTATE_PIN = 2, /* If PIN1 or UPin is required */
RIL_APPSTATE_PUK = 3, /* If PUK1 or Puk for UPin is required */
- RIL_APPSTATE_SUBSCRIPTION_PERSO = 4, /* perso_substate should be look at
+ RIL_APPSTATE_SUBSCRIPTION_PERSO = 4, /* perso_substate should be look at
when app_state is assigned to this value */
RIL_APPSTATE_READY = 5
} RIL_AppState;
@@ -337,21 +337,21 @@ typedef enum {
typedef struct
{
- RIL_AppType app_type;
- RIL_AppState app_state;
- RIL_PersoSubstate perso_substate; /* applicable only if app_state ==
+ RIL_AppType app_type;
+ RIL_AppState app_state;
+ RIL_PersoSubstate perso_substate; /* applicable only if app_state ==
RIL_APPSTATE_SUBSCRIPTION_PERSO */
- char *aid_ptr; /* null terminated string, e.g., from 0xA0, 0x00 -> 0x41,
+ char *aid_ptr; /* null terminated string, e.g., from 0xA0, 0x00 -> 0x41,
0x30, 0x30, 0x30 */
char *app_label_ptr; /* null terminated string */
int pin1_replaced; /* applicable to USIM and CSIM */
- RIL_PinState pin1;
- RIL_PinState pin2;
+ RIL_PinState pin1;
+ RIL_PinState pin2;
} RIL_AppStatus;
typedef struct
{
- RIL_CardState card_state;
+ RIL_CardState card_state;
RIL_PinState universal_pin_state; /* applicable to USIM and CSIM: RIL_PINSTATE_xxx */
int gsm_umts_subscription_app_index; /* value < RIL_CARD_MAX_APPS */
int cdma_subscription_app_index; /* value < RIL_CARD_MAX_APPS */
@@ -581,20 +581,20 @@ typedef struct {
RIL_CDMA_InformationRecord infoRec[RIL_CDMA_MAX_NUMBER_OF_INFO_RECS];
} RIL_CDMA_InformationRecords;
-/**
+/**
* RIL_REQUEST_GET_SIM_STATUS
*
* Requests status of the SIM interface and the SIM card
- *
+ *
* "data" is NULL
*
* "response" is const RIL_CardStatus *
*
- * If the radio is off or unavailable, return RIL_SIM_NOT_READY
+ * If the radio is off or unavailable, return RIL_SIM_NOT_READY
*
- * Please note: RIL_SIM_READY means that the radio state
- * is RADIO_STATE_SIM_READY. This is more than "+CPIN: READY".
+ * Please note: RIL_SIM_READY means that the radio state
+ * is RADIO_STATE_SIM_READY. This is more than "+CPIN: READY".
* It also means the radio is ready for SIM I/O
*
* Valid errors:
@@ -613,8 +613,8 @@ typedef struct {
* "response" must be NULL
*
* Valid errors:
- *
- * SUCCESS
+ *
+ * SUCCESS
* RADIO_NOT_AVAILABLE (radio resetting)
* GENERIC_FAILURE
* PASSWORD_INCORRECT
@@ -626,7 +626,7 @@ typedef struct {
/**
* RIL_REQUEST_ENTER_SIM_PUK
*
- * Supplies SIM PUK and new PIN.
+ * Supplies SIM PUK and new PIN.
*
* "data" is const char **
* ((const char **)data)[0] is PUK value
@@ -635,8 +635,8 @@ typedef struct {
* "response" must be NULL
*
* Valid errors:
- *
- * SUCCESS
+ *
+ * SUCCESS
* RADIO_NOT_AVAILABLE (radio resetting)
* GENERIC_FAILURE
* PASSWORD_INCORRECT
@@ -657,8 +657,8 @@ typedef struct {
* "response" must be NULL
*
* Valid errors:
- *
- * SUCCESS
+ *
+ * SUCCESS
* RADIO_NOT_AVAILABLE (radio resetting)
* GENERIC_FAILURE
* PASSWORD_INCORRECT
@@ -669,7 +669,7 @@ typedef struct {
/**
* RIL_REQUEST_ENTER_SIM_PUK2
*
- * Supplies SIM PUK2 and new PIN2.
+ * Supplies SIM PUK2 and new PIN2.
*
* "data" is const char **
* ((const char **)data)[0] is PUK2 value
@@ -678,8 +678,8 @@ typedef struct {
* "response" must be NULL
*
* Valid errors:
- *
- * SUCCESS
+ *
+ * SUCCESS
* RADIO_NOT_AVAILABLE (radio resetting)
* GENERIC_FAILURE
* PASSWORD_INCORRECT
@@ -691,7 +691,7 @@ typedef struct {
/**
* RIL_REQUEST_CHANGE_SIM_PIN
*
- * Supplies old SIM PIN and new PIN.
+ * Supplies old SIM PIN and new PIN.
*
* "data" is const char **
* ((const char **)data)[0] is old PIN value
@@ -700,13 +700,13 @@ typedef struct {
* "response" must be NULL
*
* Valid errors:
- *
- * SUCCESS
+ *
+ * SUCCESS
* RADIO_NOT_AVAILABLE (radio resetting)
* GENERIC_FAILURE
* PASSWORD_INCORRECT
* (old PIN is invalid)
- *
+ *
*/
#define RIL_REQUEST_CHANGE_SIM_PIN 6
@@ -715,7 +715,7 @@ typedef struct {
/**
* RIL_REQUEST_CHANGE_SIM_PIN2
*
- * Supplies old SIM PIN2 and new PIN2.
+ * Supplies old SIM PIN2 and new PIN2.
*
* "data" is const char **
* ((const char **)data)[0] is old PIN2 value
@@ -724,13 +724,13 @@ typedef struct {
* "response" must be NULL
*
* Valid errors:
- *
- * SUCCESS
+ *
+ * SUCCESS
* RADIO_NOT_AVAILABLE (radio resetting)
* GENERIC_FAILURE
* PASSWORD_INCORRECT
* (old PIN2 is invalid)
- *
+ *
*/
#define RIL_REQUEST_CHANGE_SIM_PIN2 7
@@ -746,8 +746,8 @@ typedef struct {
* "response" must be NULL
*
* Valid errors:
- *
- * SUCCESS
+ *
+ * SUCCESS
* RADIO_NOT_AVAILABLE (radio resetting)
* GENERIC_FAILURE
* PASSWORD_INCORRECT
@@ -757,17 +757,17 @@ typedef struct {
#define RIL_REQUEST_ENTER_NETWORK_DEPERSONALIZATION 8
/**
- * RIL_REQUEST_GET_CURRENT_CALLS
+ * RIL_REQUEST_GET_CURRENT_CALLS
*
* Requests current call list
*
* "data" is NULL
*
* "response" must be a "const RIL_Call **"
- *
+ *
* Valid errors:
- *
- * SUCCESS
+ *
+ * SUCCESS
* RADIO_NOT_AVAILABLE (radio resetting)
* GENERIC_FAILURE
* (request will be made again in a few hundred msec)
@@ -776,18 +776,18 @@ typedef struct {
#define RIL_REQUEST_GET_CURRENT_CALLS 9
-/**
+/**
* RIL_REQUEST_DIAL
*
* Initiate voice call
*
* "data" is const RIL_Dial *
* "response" is NULL
- *
+ *
* This method is never used for supplementary service codes
*
* Valid errors:
- * SUCCESS
+ * SUCCESS
* RADIO_NOT_AVAILABLE (radio resetting)
* GENERIC_FAILURE
*/
@@ -804,7 +804,7 @@ typedef struct {
* "response" is a const char * containing the IMSI
*
* Valid errors:
- * SUCCESS
+ * SUCCESS
* RADIO_NOT_AVAILABLE (radio resetting)
* GENERIC_FAILURE
*/
@@ -816,13 +816,13 @@ typedef struct {
*
* Hang up a specific line (like AT+CHLD=1x)
*
- * "data" is an int *
+ * "data" is an int *
* (int *)data)[0] contains Connection index (value of 'x' in CHLD above)
*
* "response" is NULL
*
* Valid errors:
- * SUCCESS
+ * SUCCESS
* RADIO_NOT_AVAILABLE (radio resetting)
* GENERIC_FAILURE
*/
@@ -838,7 +838,7 @@ typedef struct {
* "response" is NULL
*
* Valid errors:
- * SUCCESS
+ * SUCCESS
* RADIO_NOT_AVAILABLE (radio resetting)
* GENERIC_FAILURE
*/
@@ -854,7 +854,7 @@ typedef struct {
* "response" is NULL
*
* Valid errors:
- * SUCCESS
+ * SUCCESS
* RADIO_NOT_AVAILABLE (radio resetting)
* GENERIC_FAILURE
*/
@@ -882,7 +882,7 @@ typedef struct {
* "response" is NULL
*
* Valid errors:
- * SUCCESS
+ * SUCCESS
* RADIO_NOT_AVAILABLE (radio resetting)
* GENERIC_FAILURE
*/
@@ -899,7 +899,7 @@ typedef struct {
* "response" is NULL
*
* Valid errors:
- * SUCCESS
+ * SUCCESS
* RADIO_NOT_AVAILABLE (radio resetting)
* GENERIC_FAILURE
*/
@@ -908,14 +908,14 @@ typedef struct {
/**
* RIL_REQUEST_UDUB
*
- * Send UDUB (user determined used busy) to ringing or
+ * Send UDUB (user determined used busy) to ringing or
* waiting call answer)(RIL_BasicRequest r);
*
* "data" is NULL
* "response" is NULL
*
* Valid errors:
- * SUCCESS
+ * SUCCESS
* RADIO_NOT_AVAILABLE (radio resetting)
* GENERIC_FAILURE
*/
@@ -1058,8 +1058,8 @@ typedef struct {
* LAC and CID are in hexadecimal format.
* valid LAC are 0x0000 - 0xffff
* valid CID are 0x00000000 - 0x0fffffff
- *
- * Please note that registration state 4 ("unknown") is treated
+ *
+ * Please note that registration state 4 ("unknown") is treated
* as "out of service" in the Android telephony system
*
* Valid errors:
@@ -1076,14 +1076,14 @@ typedef struct {
*
* "data" is NULL
* "response" is a "const char **"
- * ((const char **)response)[0] is long alpha ONS or EONS
+ * ((const char **)response)[0] is long alpha ONS or EONS
* or NULL if unregistered
*
- * ((const char **)response)[1] is short alpha ONS or EONS
+ * ((const char **)response)[1] is short alpha ONS or EONS
* or NULL if unregistered
* ((const char **)response)[2] is 5 or 6 digit numeric code (MCC + MNC)
* or NULL if unregistered
- *
+ *
* Valid errors:
* SUCCESS
* RADIO_NOT_AVAILABLE
@@ -1126,7 +1126,7 @@ typedef struct {
* 'S' -- tone should be played for a short time
* 'L' -- tone should be played for a long time
* "response" is NULL
- *
+ *
* FIXME should this block/mute microphone?
* How does this interact with local DTMF feedback?
*
@@ -1142,7 +1142,7 @@ typedef struct {
/**
* RIL_REQUEST_SEND_SMS
- *
+ *
* Send an SMS message
*
* "data" is const char **
@@ -1155,7 +1155,7 @@ typedef struct {
* "response" is a const RIL_SMS_Response *
*
* Based on the return error, caller decides to resend if sending sms
- * fails. SMS_SEND_FAIL_RETRY means retry (i.e. error cause is 332)
+ * fails. SMS_SEND_FAIL_RETRY means retry (i.e. error cause is 332)
* and GENERIC_FAILURE means no retry (i.e. error cause is 500)
*
* Valid errors:
@@ -1171,7 +1171,7 @@ typedef struct {
/**
* RIL_REQUEST_SEND_SMS_EXPECT_MORE
- *
+ *
* Send an SMS message. Identical to RIL_REQUEST_SEND_SMS,
* except that more messages are expected to be sent soon. If possible,
* keep SMS relay protocol link open (eg TS 27.005 AT+CMMS command)
@@ -1186,7 +1186,7 @@ typedef struct {
* "response" is a const RIL_SMS_Response *
*
* Based on the return error, caller decides to resend if sending sms
- * fails. SMS_SEND_FAIL_RETRY means retry (i.e. error cause is 332)
+ * fails. SMS_SEND_FAIL_RETRY means retry (i.e. error cause is 332)
* and GENERIC_FAILURE means no retry (i.e. error cause is 500)
*
* Valid errors:
@@ -1205,20 +1205,20 @@ typedef struct {
* Setup a packet data connection
*
* "data" is a const char **
- * ((const char **)data)[0] indicates whether to setup connection on radio technology CDMA
+ * ((const char **)data)[0] indicates whether to setup connection on radio technology CDMA
* or GSM/UMTS, 0-1. 0 - CDMA, 1-GSM/UMTS
- *
+ *
* ((const char **)data)[1] Profile Number or NULL to indicate default profile
- * ((const char **)data)[2] is the APN to connect to if radio technology is GSM/UMTS. This APN will
+ * ((const char **)data)[2] is the APN to connect to if radio technology is GSM/UMTS. This APN will
* override the one in the profile. NULL indicates no APN overrride.
* ((const char **)data)[3] is the username for APN, or NULL
* ((const char **)data)[4] is the password for APN, or NULL
*
* "response" is a char **
- * ((char **)response)[0] indicating PDP CID, which is generated by RIL. This Connection ID is
+ * ((char **)response)[0] indicating PDP CID, which is generated by RIL. This Connection ID is
* used in GSM/UMTS and CDMA
* ((char **)response)[1] indicating the network interface name for GSM/UMTS or CDMA
- * ((char **)response)[2] indicating the IP address for this interface for GSM/UMTS
+ * ((char **)response)[2] indicating the IP address for this interface for GSM/UMTS
* and NULL for CDMA
*
* FIXME may need way to configure QoS settings
@@ -1294,7 +1294,7 @@ typedef struct {
/**
* RIL_REQUEST_CANCEL_USSD
- *
+ *
* Cancel the current USSD session if one exists
*
* "data" is null
@@ -1303,12 +1303,12 @@ typedef struct {
* Valid errors:
* SUCCESS
* RADIO_NOT_AVAILABLE
- * GENERIC_FAILURE
+ * GENERIC_FAILURE
*/
#define RIL_REQUEST_CANCEL_USSD 30
-/**
+/**
* RIL_REQUEST_GET_CLIR
*
* Gets current CLIR status
@@ -1350,7 +1350,7 @@ typedef struct {
*
* For example, if data is forwarded to +18005551212 and voice is forwarded
* to +18005559999, then two separate RIL_CallForwardInfo's should be returned
- *
+ *
* If, however, both data and voice are forwarded to +18005551212, then
* a single RIL_CallForwardInfo can be returned with the service class
* set to "data + voice = 3")
@@ -1370,7 +1370,7 @@ typedef struct {
*
* "data" is const RIL_CallForwardInfo *
* "response" is NULL
- *
+ *
* Valid errors:
* SUCCESS
* RADIO_NOT_AVAILABLE
@@ -1393,7 +1393,7 @@ typedef struct {
* must follow, with the TS 27.007 service class bit vector of services
* for which call waiting is enabled.
*
- * For example, if ((const int *)response)[0] is 1 and
+ * For example, if ((const int *)response)[0] is 1 and
* ((const int *)response)[1] is 3, then call waiting is enabled for data
* and voice and disabled for everything else
*
@@ -1427,7 +1427,7 @@ typedef struct {
* RIL_REQUEST_SMS_ACKNOWLEDGE
*
* Acknowledge successful or failed receipt of SMS previously indicated
- * via RIL_UNSOL_RESPONSE_NEW_SMS
+ * via RIL_UNSOL_RESPONSE_NEW_SMS
*
* "data" is int *
* ((int *)data)[0] is 1 on successful receipt
@@ -1462,7 +1462,7 @@ typedef struct {
* "response" is a const char * containing the IMEI
*
* Valid errors:
- * SUCCESS
+ * SUCCESS
* RADIO_NOT_AVAILABLE (radio resetting)
* GENERIC_FAILURE
*/
@@ -1481,7 +1481,7 @@ typedef struct {
* "response" is a const char * containing the IMEISV
*
* Valid errors:
- * SUCCESS
+ * SUCCESS
* RADIO_NOT_AVAILABLE (radio resetting)
* GENERIC_FAILURE
*/
@@ -1502,7 +1502,7 @@ typedef struct {
* "response" is NULL
*
* Valid errors:
- * SUCCESS
+ * SUCCESS
* RADIO_NOT_AVAILABLE (radio resetting)
* GENERIC_FAILURE
*/
@@ -1517,7 +1517,7 @@ typedef struct {
*
* "data" is const char **
* ((char**)data)[0] indicating CID
- *
+ *
* "response" is NULL
*
* Valid errors:
@@ -1535,7 +1535,7 @@ typedef struct {
* Query the status of a facility lock state
*
* "data" is const char **
- * ((const char **)data)[0] is the facility string code from TS 27.007 7.4
+ * ((const char **)data)[0] is the facility string code from TS 27.007 7.4
* (eg "AO" for BAOC, "SC" for SIM lock)
* ((const char **)data)[1] is the password, or "" if not required
* ((const char **)data)[2] is the TS 27.007 service class bit vector of
@@ -1543,9 +1543,9 @@ typedef struct {
*
* "response" is an int *
* ((const int *)response) 0 is the TS 27.007 service class bit vector of
- * services for which the specified barring facility
+ * services for which the specified barring facility
* is active. "0" means "disabled for all"
- *
+ *
*
* Valid errors:
* SUCCESS
@@ -1570,7 +1570,7 @@ typedef struct {
* service class bit vector. Eg, the string
* "1" means "set this facility for voice services"
*
- * "response" is NULL
+ * "response" is NULL
*
* Valid errors:
* SUCCESS
@@ -1592,7 +1592,7 @@ typedef struct {
* ((const char **)data)[1] = old password
* ((const char **)data)[2] = new password
*
- * "response" is NULL
+ * "response" is NULL
*
* Valid errors:
* SUCCESS
@@ -1630,7 +1630,7 @@ typedef struct {
* "data" is NULL
* "response" is NULL
*
- * This request must not respond until the new operator is selected
+ * This request must not respond until the new operator is selected
* and registered
*
* Valid errors:
@@ -1646,14 +1646,14 @@ typedef struct {
*
* Manually select a specified network.
*
- * The radio baseband/RIL implementation is expected to fall back to
+ * The radio baseband/RIL implementation is expected to fall back to
* automatic selection mode if the manually selected network should go
* out of range in the future.
*
* "data" is const char * specifying MCCMNC of network to select (eg "310170")
* "response" is NULL
*
- * This request must not respond until the new operator is selected
+ * This request must not respond until the new operator is selected
* and registered
*
* Valid errors:
@@ -1674,8 +1674,8 @@ typedef struct {
* n is the number of available networks
* For each available network:
*
- * ((const char **)response)[n+0] is long alpha ONS or EONS
- * ((const char **)response)[n+1] is short alpha ONS or EONS
+ * ((const char **)response)[n+0] is long alpha ONS or EONS
+ * ((const char **)response)[n+1] is short alpha ONS or EONS
* ((const char **)response)[n+2] is 5 or 6 digit numeric code (MCC + MNC)
* ((const char **)response)[n+3] is a string value of the status:
* "unknown"
@@ -1683,7 +1683,7 @@ typedef struct {
* "current"
* "forbidden"
*
- * This request must not respond until the new operator is selected
+ * This request must not respond until the new operator is selected
* and registered
*
* Valid errors:
@@ -1697,16 +1697,16 @@ typedef struct {
/**
* RIL_REQUEST_DTMF_START
*
- * Start playing a DTMF tone. Continue playing DTMF tone until
- * RIL_REQUEST_DTMF_STOP is received
+ * Start playing a DTMF tone. Continue playing DTMF tone until
+ * RIL_REQUEST_DTMF_STOP is received
*
* If a RIL_REQUEST_DTMF_START is received while a tone is currently playing,
* it should cancel the previous tone and play the new one.
- *
+ *
* "data" is a char *
* ((char *)data)[0] is a single character with one of 12 values: 0-9,*,#
* "response" is NULL
- *
+ *
* Valid errors:
* SUCCESS
* RADIO_NOT_AVAILABLE
@@ -1720,10 +1720,10 @@ typedef struct {
* RIL_REQUEST_DTMF_STOP
*
* Stop playing a currently playing DTMF tone.
- *
+ *
* "data" is NULL
* "response" is NULL
- *
+ *
* Valid errors:
* SUCCESS
* RADIO_NOT_AVAILABLE
@@ -1738,10 +1738,10 @@ typedef struct {
*
* Return string value indicating baseband version, eg
* response from AT+CGMR
- *
+ *
* "data" is NULL
* "response" is const char * containing version string for log reporting
- *
+ *
* Valid errors:
* SUCCESS
* RADIO_NOT_AVAILABLE
@@ -1754,7 +1754,7 @@ typedef struct {
* RIL_REQUEST_SEPARATE_CONNECTION
*
* Separate a party from a multiparty call placing the multiparty call
- * (less the specified party) on hold and leaving the specified party
+ * (less the specified party) on hold and leaving the specified party
* as the only other member of the current (active) call
*
* Like AT+CHLD=2x
@@ -1762,14 +1762,14 @@ typedef struct {
* See TS 22.084 1.3.8.2 (iii)
* TS 22.030 6.5.5 "Entering "2X followed by send"
* TS 27.007 "AT+CHLD=2x"
- *
- * "data" is an int *
+ *
+ * "data" is an int *
* (int *)data)[0] contains Connection index (value of 'x' in CHLD above) "response" is NULL
*
* "response" is NULL
*
* Valid errors:
- * SUCCESS
+ * SUCCESS
* RADIO_NOT_AVAILABLE (radio resetting)
* GENERIC_FAILURE
*/
@@ -1790,7 +1790,7 @@ typedef struct {
* "response" is NULL
*
* Valid errors:
- * SUCCESS
+ * SUCCESS
* RADIO_NOT_AVAILABLE (radio resetting)
* GENERIC_FAILURE
*/
@@ -1807,7 +1807,7 @@ typedef struct {
* (int *)response)[0] is 1 for "mute enabled" and 0 for "mute disabled"
*
* Valid errors:
- * SUCCESS
+ * SUCCESS
* RADIO_NOT_AVAILABLE (radio resetting)
* GENERIC_FAILURE
*/
@@ -1823,12 +1823,12 @@ typedef struct {
*
* "data" is NULL
* "response" is an int *
- * (int *)response)[0] is 1 for "CLIP provisioned"
+ * (int *)response)[0] is 1 for "CLIP provisioned"
* and 0 for "CLIP not provisioned"
- * and 2 for "unknown, e.g. no network etc"
+ * and 2 for "unknown, e.g. no network etc"
*
* Valid errors:
- * SUCCESS
+ * SUCCESS
* RADIO_NOT_AVAILABLE (radio resetting)
* GENERIC_FAILURE
*/
@@ -1837,8 +1837,8 @@ typedef struct {
/**
* RIL_REQUEST_LAST_DATA_CALL_FAIL_CAUSE
- *
- * Requests the failure cause code for the most recently failed PDP
+ *
+ * Requests the failure cause code for the most recently failed PDP
* context or CDMA data connection active
* replaces RIL_REQUEST_LAST_PDP_FAIL_CAUSE
*
@@ -1849,8 +1849,8 @@ typedef struct {
* section 6.1.3.1.3 or close approximation
*
* If the implementation does not have access to the exact cause codes,
- * then it should return one of the values listed in
- * RIL_LastDataCallActivateFailCause, as the UI layer needs to distinguish these
+ * then it should return one of the values listed in
+ * RIL_LastDataCallActivateFailCause, as the UI layer needs to distinguish these
* cases for error notification
* and potential retries.
*
@@ -1860,8 +1860,8 @@ typedef struct {
* GENERIC_FAILURE
*
* See also: RIL_REQUEST_LAST_CALL_FAIL_CAUSE
- *
- */
+ *
+ */
#define RIL_REQUEST_LAST_DATA_CALL_FAIL_CAUSE 56
@@ -1877,7 +1877,7 @@ typedef struct {
* "response" is an array of RIL_Data_Call_Response
*
* Valid errors:
- * SUCCESS
+ * SUCCESS
* RADIO_NOT_AVAILABLE (radio resetting)
* GENERIC_FAILURE
*/
@@ -1897,7 +1897,7 @@ typedef struct {
* "response" is NULL
*
* Valid errors:
- * SUCCESS
+ * SUCCESS
* RADIO_NOT_AVAILABLE (radio resetting)
* GENERIC_FAILURE
* REQUEST_NOT_SUPPORTED
@@ -1911,16 +1911,16 @@ typedef struct {
* This request reserved for OEM-specific uses. It passes raw byte arrays
* back and forth.
*
- * It can be invoked on the Java side from
+ * It can be invoked on the Java side from
* com.android.internal.telephony.Phone.invokeOemRilRequestRaw()
*
* "data" is a char * of bytes copied from the byte[] data argument in java
* "response" is a char * of bytes that will returned via the
- * caller's "response" Message here:
+ * caller's "response" Message here:
* (byte[])(((AsyncResult)response.obj).result)
*
- * An error response here will result in
- * (((AsyncResult)response.obj).result) == null and
+ * An error response here will result in
+ * (((AsyncResult)response.obj).result) == null and
* (((AsyncResult)response.obj).exception) being an instance of
* com.android.internal.telephony.gsm.CommandException
*
@@ -1936,7 +1936,7 @@ typedef struct {
* This request reserved for OEM-specific uses. It passes strings
* back and forth.
*
- * It can be invoked on the Java side from
+ * It can be invoked on the Java side from
* com.android.internal.telephony.Phone.invokeOemRilRequestStrings()
*
* "data" is a const char **, representing an array of null-terminated UTF-8
@@ -1948,8 +1948,8 @@ typedef struct {
*
* (String[])(((AsyncResult)response.obj).result)
*
- * An error response here will result in
- * (((AsyncResult)response.obj).result) == null and
+ * An error response here will result in
+ * (((AsyncResult)response.obj).result) == null and
* (((AsyncResult)response.obj).exception) being an instance of
* com.android.internal.telephony.gsm.CommandException
*
@@ -2212,12 +2212,12 @@ typedef struct {
* RIL_REQUEST_EXPLICIT_CALL_TRANSFER
*
* Connects the two calls and disconnects the subscriber from both calls.
- *
+ *
* "data" is NULL
* "response" is NULL
*
* Valid errors:
- * SUCCESS
+ * SUCCESS
* RADIO_NOT_AVAILABLE (radio resetting)
* GENERIC_FAILURE
*/
@@ -2230,7 +2230,7 @@ typedef struct {
* (CS/PS domain, RAT, and operation mode)
*
* "data" is int *
- *
+ *
* ((int *)data)[0] is == 0 for GSM/WCDMA (WCDMA preferred)
* ((int *)data)[0] is == 1 for GSM only
* ((int *)data)[0] is == 2 for WCDMA only
@@ -2296,7 +2296,7 @@ typedef struct {
* RIL_REQUEST_SET_LOCATION_UPDATES
*
* Enables/disables network state change notifications due to changes in
- * LAC and/or CID (basically, +CREG=2 vs. +CREG=1).
+ * LAC and/or CID (basically, +CREG=2 vs. +CREG=1).
*
* Note: The RIL implementation should default to "updates enabled"
* when the screen is on and "updates disabled" when the screen is off.
@@ -2318,7 +2318,7 @@ typedef struct {
/**
* RIL_REQUEST_CDMA_SET_SUBSCRIPTION
- *
+ *
* Request to set the location where the CDMA subscription shall
* be retrieved
*
@@ -2339,16 +2339,16 @@ typedef struct {
/**
* RIL_REQUEST_CDMA_SET_ROAMING_PREFERENCE
- *
+ *
* Request to set the roaming preferences in CDMA
*
* "data" is int *
* ((int *)data)[0] is == 0 for Home Networks only, as defined in PRL
* ((int *)data)[0] is == 1 for Roaming on Affiliated networks, as defined in PRL
* ((int *)data)[0] is == 2 for Roaming on Any Network, as defined in the PRL
- *
+ *
* "response" is NULL
- *
+ *
* Valid errors:
* SUCCESS
* RADIO_NOT_AVAILABLE
@@ -2358,18 +2358,18 @@ typedef struct {
/**
* RIL_REQUEST_CDMA_QUERY_ROAMING_PREFERENCE
- *
+ *
* Request the actual setting of the roaming preferences in CDMA in the modem
*
* "data" is NULL
- *
+ *
* "response" is int *
* ((int *)response)[0] is == 0 for Home Networks only, as defined in PRL
* ((int *)response)[0] is == 1 for Roaming on Affiliated networks, as defined in PRL
* ((int *)response)[0] is == 2 for Roaming on Any Network, as defined in the PRL
- *
+ *
* "response" is NULL
- *
+ *
* Valid errors:
* SUCCESS
* RADIO_NOT_AVAILABLE
@@ -2379,7 +2379,7 @@ typedef struct {
/**
* RIL_REQUEST_SET_TTY_MODE
- *
+ *
* Request to set the TTY mode
*
* "data" is int *
@@ -2387,9 +2387,9 @@ typedef struct {
* ((int *)data)[0] is == 1 for TTY Full
* ((int *)data)[0] is == 2 for TTY HCO (hearing carryover)
* ((int *)data)[0] is == 3 for TTY VCO (voice carryover)
- *
+ *
* "response" is NULL
- *
+ *
* Valid errors:
* SUCCESS
* RADIO_NOT_AVAILABLE
@@ -2399,11 +2399,11 @@ typedef struct {
/**
* RIL_REQUEST_QUERY_TTY_MODE
- *
+ *
* Request the setting of TTY mode
*
* "data" is NULL
- *
+ *
* "response" is int *
* ((int *)response)[0] is == 0 for TTY off
* ((int *)response)[0] is == 1 for TTY Full
@@ -2411,7 +2411,7 @@ typedef struct {
* ((int *)response)[0] is == 3 for TTY VCO (voice carryover)
*
* "response" is NULL
- *
+ *
* Valid errors:
* SUCCESS
* RADIO_NOT_AVAILABLE
@@ -2428,9 +2428,9 @@ typedef struct {
* "data" is int *
* ((int *)data)[0] is == 0 for Standard Privacy Mode (Public Long Code Mask)
* ((int *)data)[0] is == 1 for Enhanced Privacy Mode (Private Long Code Mask)
- *
+ *
* "response" is NULL
- *
+ *
* Valid errors:
* SUCCESS
* RADIO_NOT_AVAILABLE
@@ -2440,17 +2440,17 @@ typedef struct {
/**
* RIL_REQUEST_CDMA_QUERY_PREFERRED_VOICE_PRIVACY_MODE
- *
+ *
* Request the setting of preferred voice privacy mode
*
* "data" is NULL
- *
+ *
* "response" is int *
* ((int *)response)[0] is == 0 for Standard Privacy Mode (Public Long Code Mask)
* ((int *)response)[0] is == 1 for Enhanced Privacy Mode (Private Long Code Mask)
- *
+ *
* "response" is NULL
- *
+ *
* Valid errors:
* SUCCESS
* RADIO_NOT_AVAILABLE
@@ -2465,9 +2465,9 @@ typedef struct {
*
* "data" is const char *
* ((const char *)data)[0] is a FLASH string
- *
+ *
* "response" is NULL
- *
+ *
* Valid errors:
* SUCCESS
* RADIO_NOT_AVAILABLE
@@ -2483,9 +2483,9 @@ typedef struct {
*
* "data" is const char *
* ((const char *)data)[0] is a DTMF string
- *
+ *
* "response" is NULL
- *
+ *
* Valid errors:
* SUCCESS
* RADIO_NOT_AVAILABLE
@@ -2501,9 +2501,9 @@ typedef struct {
*
* "data" is const char *
* ((const char *)data)[0] is a AKey string
- *
+ *
* "response" is NULL
- *
+ *
* Valid errors:
* SUCCESS
* RADIO_NOT_AVAILABLE
@@ -2518,9 +2518,9 @@ typedef struct {
* Send a CDMA SMS message
*
* "data" is const RIL_CDMA_SMS_Message *
- *
+ *
* "response" is a const RIL_SMS_Response *
- *
+ *
* Valid errors:
* SUCCESS
* RADIO_NOT_AVAILABLE
@@ -2537,9 +2537,9 @@ typedef struct {
* previously indicated via RIL_UNSOL_RESPONSE_CDMA_NEW_SMS
*
* "data" is const RIL_CDMA_SMS_Ack *
- *
+ *
* "response" is NULL
- *
+ *
* Valid errors:
* SUCCESS
* RADIO_NOT_AVAILABLE
@@ -2758,9 +2758,9 @@ typedef struct {
* completely exited from Emergency Callback Mode.
*
* "data" is NULL
- *
+ *
* "response" is NULL
- *
+ *
* Valid errors:
* SUCCESS
* RADIO_NOT_AVAILABLE
@@ -2867,7 +2867,7 @@ typedef struct {
*
* "data" is NULL
*
- * Response should be invoked on, for example,
+ * Response should be invoked on, for example,
* "RING", "BUSY", "NO CARRIER", and also call state
* transitions (DIALING->ALERTING ALERTING->ACTIVE)
*
@@ -2877,7 +2877,7 @@ typedef struct {
/**
- * RIL_UNSOL_RESPONSE_NETWORK_STATE_CHANGED
+ * RIL_UNSOL_RESPONSE_NETWORK_STATE_CHANGED
*
* Called when network state, operator name, or GPRS state has changed
* Basically on, +CREG and +CGREG
@@ -2899,7 +2899,7 @@ typedef struct {
* RIL_UNSOL_RESPONSE_NEW_SMS
*
* Called when new SMS is received.
- *
+ *
* "data" is const char *
* This is a pointer to a string containing the PDU of an SMS-DELIVER
* as an ascii string of hex digits. The PDU starts with the SMSC address
@@ -2908,7 +2908,7 @@ typedef struct {
* Callee will subsequently confirm the receipt of thei SMS with a
* RIL_REQUEST_SMS_ACKNOWLEDGE
*
- * No new RIL_UNSOL_RESPONSE_NEW_SMS
+ * No new RIL_UNSOL_RESPONSE_NEW_SMS
* or RIL_UNSOL_RESPONSE_NEW_SMS_STATUS_REPORT messages should be sent until a
* RIL_REQUEST_SMS_ACKNOWLEDGE has been received
*/
@@ -2919,7 +2919,7 @@ typedef struct {
* RIL_UNSOL_RESPONSE_NEW_SMS_STATUS_REPORT
*
* Called when new SMS Status Report is received.
- *
+ *
* "data" is const char *
* This is a pointer to a string containing the PDU of an SMS-STATUS-REPORT
* as an ascii string of hex digits. The PDU starts with the SMSC address
@@ -2928,7 +2928,7 @@ typedef struct {
* Callee will subsequently confirm the receipt of the SMS with a
* RIL_REQUEST_SMS_ACKNOWLEDGE
*
- * No new RIL_UNSOL_RESPONSE_NEW_SMS
+ * No new RIL_UNSOL_RESPONSE_NEW_SMS
* or RIL_UNSOL_RESPONSE_NEW_SMS_STATUS_REPORT messages should be sent until a
* RIL_REQUEST_SMS_ACKNOWLEDGE has been received
*/
@@ -2939,7 +2939,7 @@ typedef struct {
* RIL_UNSOL_RESPONSE_NEW_SMS_ON_SIM
*
* Called when new SMS has been stored on SIM card
- *
+ *
* "data" is const int *
* ((const int *)data)[0] contains the slot index on the SIM that contains
* the new message
@@ -2953,7 +2953,7 @@ typedef struct {
* Called when a new USSD message is received.
*
* "data" is const char **
- * ((const char **)data)[0] points to a type code, which is
+ * ((const char **)data)[0] points to a type code, which is
* one of these string values:
* "0" USSD-Notify -- text in ((const char **)data)[1]
* "1" USSD-Request -- text in ((const char **)data)[1]
@@ -2976,7 +2976,7 @@ typedef struct {
*
* Obsolete. Send via RIL_UNSOL_ON_USSD
*/
-#define RIL_UNSOL_ON_USSD_REQUEST 1007
+#define RIL_UNSOL_ON_USSD_REQUEST 1007
/**
@@ -3140,7 +3140,7 @@ typedef struct {
* RIL_UNSOL_RESPONSE_NEW_BROADCAST_SMS
*
* Called when new Broadcast SMS is received
- *
+ *
* "data" is const char * of 88 bytes which indicates each page
* of a CBS Message sent to the MS by the BTS as coded in 3GPP
* 23.041 Section 9.4.1.1
@@ -3188,7 +3188,7 @@ typedef struct {
* Called when CDMA radio receives a call waiting indication.
*
* "data" is const RIL_CDMA_CallWaiting *
- *
+ *
*/
#define RIL_UNSOL_CDMA_CALL_WAITING 1025
@@ -3237,7 +3237,7 @@ typedef struct {
* @param datalen the length of data
*
*/
-typedef void (*RIL_RequestFunc) (int request, void *data,
+typedef void (*RIL_RequestFunc) (int request, void *data,
size_t datalen, RIL_Token t);
/**
@@ -3255,10 +3255,10 @@ typedef RIL_RadioState (*RIL_RadioStateRequest)();
typedef int (*RIL_Supports)(int requestCode);
/**
- * This function is called from a separate thread--not the
+ * This function is called from a separate thread--not the
* thread that calls RIL_RequestFunc--and indicates that a pending
* request should be cancelled.
- *
+ *
* On cancel, the callee should do its best to abandon the request and
* call RIL_onRequestComplete with RIL_Errno CANCELLED at some later point.
*
@@ -3268,7 +3268,7 @@ typedef int (*RIL_Supports)(int requestCode);
*
* RIL_Cancel calls should return immediately, and not wait for cancellation
*
- * Please see ITU v.250 5.6.1 for how one might implement this on a TS 27.007
+ * Please see ITU v.250 5.6.1 for how one might implement this on a TS 27.007
* interface
*
* @param t token wants to be canceled
@@ -3300,12 +3300,12 @@ struct RIL_Env {
*
* If "e" != SUCCESS, then response can be null/is ignored
*
- * "response" is owned by caller, and should not be modified or
+ * "response" is owned by caller, and should not be modified or
* freed by callee
*
* RIL_onRequestComplete will return as soon as possible
*/
- void (*OnRequestComplete)(RIL_Token t, RIL_Errno e,
+ void (*OnRequestComplete)(RIL_Token t, RIL_Errno e,
void *response, size_t responselen);
/**
@@ -3315,24 +3315,24 @@ struct RIL_Env {
* "data" is owned by caller, and should not be modified or freed by callee
*/
- void (*OnUnsolicitedResponse)(int unsolResponse, const void *data,
+ void (*OnUnsolicitedResponse)(int unsolResponse, const void *data,
size_t datalen);
/**
- * Call user-specifed "callback" function on on the same thread that
+ * Call user-specifed "callback" function on on the same thread that
* RIL_RequestFunc is called. If "relativeTime" is specified, then it specifies
* a relative time value at which the callback is invoked. If relativeTime is
* NULL or points to a 0-filled structure, the callback will be invoked as
* soon as possible
*/
- void (*RequestTimedCallback) (RIL_TimedCallback callback,
- void *param, const struct timeval *relativeTime);
+ void (*RequestTimedCallback) (RIL_TimedCallback callback,
+ void *param, const struct timeval *relativeTime);
};
-/**
- * RIL implementations must defined RIL_Init
+/**
+ * RIL implementations must defined RIL_Init
* argc and argv will be command line arguments intended for the RIL implementation
* Return NULL on error
*
@@ -3365,7 +3365,7 @@ void RIL_register (const RIL_RadioFunctions *callbacks);
* freed by callee
* @param responselen the length of response in byte
*/
-void RIL_onRequestComplete(RIL_Token t, RIL_Errno e,
+void RIL_onRequestComplete(RIL_Token t, RIL_Errno e,
void *response, size_t responselen);
/**
@@ -3375,12 +3375,12 @@ void RIL_onRequestComplete(RIL_Token t, RIL_Errno e,
* @param datalen the length of data in byte
*/
-void RIL_onUnsolicitedResponse(int unsolResponse, const void *data,
+void RIL_onUnsolicitedResponse(int unsolResponse, const void *data,
size_t datalen);
/**
- * Call user-specifed "callback" function on on the same thread that
+ * Call user-specifed "callback" function on on the same thread that
* RIL_RequestFunc is called. If "relativeTime" is specified, then it specifies
* a relative time value at which the callback is invoked. If relativeTime is
* NULL or points to a 0-filled structure, the callback will be invoked as
@@ -3391,7 +3391,7 @@ void RIL_onUnsolicitedResponse(int unsolResponse, const void *data,
* @param relativeTime a relative time value at which the callback is invoked
*/
-void RIL_requestTimedCallback (RIL_TimedCallback callback,
+void RIL_requestTimedCallback (RIL_TimedCallback callback,
void *param, const struct timeval *relativeTime);
diff --git a/include/telephony/ril_cdma_sms.h b/include/telephony/ril_cdma_sms.h
index 1554fe1..bcf6b30 100644
--- a/include/telephony/ril_cdma_sms.h
+++ b/include/telephony/ril_cdma_sms.h
@@ -22,11 +22,11 @@
/**
* TODO
*
- *
+ *
*/
-#ifndef ANDROID_RIL_CDMA_SMS_H
+#ifndef ANDROID_RIL_CDMA_SMS_H
#define ANDROID_RIL_CDMA_SMS_H 1
#include <stdlib.h>
@@ -57,13 +57,13 @@ typedef enum {
RIL_CDMA_SMS_NUMBER_TYPE_UNKNOWN = 0,
RIL_CDMA_SMS_NUMBER_TYPE_INTERNATIONAL_OR_DATA_IP = 1,
/* INTERNATIONAL is used when number mode is not data network address.
- * DATA_IP is used when the number mode is data network address
+ * DATA_IP is used when the number mode is data network address
*/
RIL_CDMA_SMS_NUMBER_TYPE_NATIONAL_OR_INTERNET_MAIL = 2,
/* NATIONAL is used when the number mode is not data network address.
- * INTERNET_MAIL is used when the number mode is data network address.
- * For INTERNET_MAIL, in the address data "digits", each byte contains
- * an ASCII character. Examples are "x@y.com,a@b.com - ref TIA/EIA-637A 3.4.3.3
+ * INTERNET_MAIL is used when the number mode is data network address.
+ * For INTERNET_MAIL, in the address data "digits", each byte contains
+ * an ASCII character. Examples are "x@y.com,a@b.com - ref TIA/EIA-637A 3.4.3.3
*/
RIL_CDMA_SMS_NUMBER_TYPE_NETWORK = 3,
RIL_CDMA_SMS_NUMBER_TYPE_SUBSCRIBER = 4,
@@ -77,20 +77,20 @@ typedef enum {
typedef enum {
RIL_CDMA_SMS_NUMBER_PLAN_UNKNOWN = 0,
RIL_CDMA_SMS_NUMBER_PLAN_TELEPHONY = 1, /* CCITT E.164 and E.163, including ISDN plan */
- RIL_CDMA_SMS_NUMBER_PLAN_RESERVED_2 = 2,
+ RIL_CDMA_SMS_NUMBER_PLAN_RESERVED_2 = 2,
RIL_CDMA_SMS_NUMBER_PLAN_DATA = 3, /* CCITT X.121 */
RIL_CDMA_SMS_NUMBER_PLAN_TELEX = 4, /* CCITT F.69 */
- RIL_CDMA_SMS_NUMBER_PLAN_RESERVED_5 = 5,
- RIL_CDMA_SMS_NUMBER_PLAN_RESERVED_6 = 6,
- RIL_CDMA_SMS_NUMBER_PLAN_RESERVED_7 = 7,
- RIL_CDMA_SMS_NUMBER_PLAN_RESERVED_8 = 8,
- RIL_CDMA_SMS_NUMBER_PLAN_PRIVATE = 9,
- RIL_CDMA_SMS_NUMBER_PLAN_RESERVED_10 = 10,
- RIL_CDMA_SMS_NUMBER_PLAN_RESERVED_11 = 11,
- RIL_CDMA_SMS_NUMBER_PLAN_RESERVED_12 = 12,
- RIL_CDMA_SMS_NUMBER_PLAN_RESERVED_13 = 13,
- RIL_CDMA_SMS_NUMBER_PLAN_RESERVED_14 = 14,
- RIL_CDMA_SMS_NUMBER_PLAN_RESERVED_15 = 15,
+ RIL_CDMA_SMS_NUMBER_PLAN_RESERVED_5 = 5,
+ RIL_CDMA_SMS_NUMBER_PLAN_RESERVED_6 = 6,
+ RIL_CDMA_SMS_NUMBER_PLAN_RESERVED_7 = 7,
+ RIL_CDMA_SMS_NUMBER_PLAN_RESERVED_8 = 8,
+ RIL_CDMA_SMS_NUMBER_PLAN_PRIVATE = 9,
+ RIL_CDMA_SMS_NUMBER_PLAN_RESERVED_10 = 10,
+ RIL_CDMA_SMS_NUMBER_PLAN_RESERVED_11 = 11,
+ RIL_CDMA_SMS_NUMBER_PLAN_RESERVED_12 = 12,
+ RIL_CDMA_SMS_NUMBER_PLAN_RESERVED_13 = 13,
+ RIL_CDMA_SMS_NUMBER_PLAN_RESERVED_14 = 14,
+ RIL_CDMA_SMS_NUMBER_PLAN_RESERVED_15 = 15,
RIL_CDMA_SMS_NUMBER_PLAN_MAX32 = 0x10000000 /* Force constant ENUM size in structures */
} RIL_CDMA_SMS_NumberPlan;
@@ -101,7 +101,7 @@ typedef struct {
/* Used only when digitMode is 8-bit */
RIL_CDMA_SMS_NumberType number_type;
/* Used only when digitMode is 8-bit.
- * To specify an international address, use the following:
+ * To specify an international address, use the following:
* digitMode = RIL_CDMA_SMS_DIGIT_MODE_8_BIT
* numberMode = RIL_CDMA_SMS_NOT_DATA_NETWORK
* numberType = RIL_CDMA_SMS_NUMBER_TYPE_INTERNATIONAL_OR_DATA_IP
@@ -113,7 +113,7 @@ typedef struct {
/* Used only when digitMode is 8-bit */
unsigned char number_of_digits;
unsigned char digits[ RIL_CDMA_SMS_ADDRESS_MAX ];
- /* Each byte in this array represnts a 40bit or 8-bit digit of address data */
+ /* Each byte in this array represnts a 40bit or 8-bit digit of address data */
} RIL_CDMA_SMS_Address;
typedef enum {
@@ -180,7 +180,7 @@ typedef struct {
/* Used by RIL_REQUEST_ENCODE_CDMA_SMS and RIL_REQUEST_DECODE_CDMA_SMS*/
-#define RIL_CDMA_SMS_UDH_MAX_SND_SIZE 128
+#define RIL_CDMA_SMS_UDH_MAX_SND_SIZE 128
#define RIL_CDMA_SMS_UDH_EO_DATA_SEGMENT_MAX 131 /* 140 - 3 - 6 */
#define RIL_CDMA_SMS_MAX_UD_HEADERS 7
#define RIL_CDMA_SMS_USER_DATA_MAX 229
@@ -242,16 +242,16 @@ typedef struct {
unsigned char msg_ref;
/*indicates the total number of short messages within the concatenated short message.
- The value shall start at 1 and remain constant for every
+ The value shall start at 1 and remain constant for every
short message which makes up the concatenated short message.
if it is 0 then the receiving entity shall ignore the whole Information Element*/
unsigned char total_sm;
- /*
- * it indicates the sequence number of a particular short message within the concatenated short
- * message. The value shall start at 1 and increment by one for every short message sent
- * within the concatenated short message. If the value is zero or the value is
- * greater than the value in octet 2 then the receiving
+ /*
+ * it indicates the sequence number of a particular short message within the concatenated short
+ * message. The value shall start at 1 and increment by one for every short message sent
+ * within the concatenated short message. If the value is zero or the value is
+ * greater than the value in octet 2 then the receiving
* entity shall ignore the whole Information Element.
*/
unsigned char seq_num;
@@ -489,7 +489,7 @@ typedef struct {
union {
RIL_CDMA_SMS_UdhConcat8 concat_8; // 00
-
+
RIL_CDMA_SMS_UdhSpecialSM special_sm; // 01
RIL_CDMA_SMS_UdhWap8 wap_8; // 04
RIL_CDMA_SMS_UdhWap16 wap_16; // 05
@@ -503,14 +503,14 @@ typedef struct {
RIL_CDMA_SMS_UdhLargePictureData large_picture; // 10
RIL_CDMA_SMS_UdhSmallPictureData small_picture; // 11
RIL_CDMA_SMS_UdhVarPicture var_picture; // 12
-
+
RIL_CDMA_SMS_UdhUserPrompt user_prompt; // 13
RIL_CDMA_SMS_UdhEo eo; // 14
-
+
RIL_CDMA_SMS_UdhRfc822 rfc822; // 20
RIL_CDMA_SMS_UdhOther other;
- }u;
+ }u;
} RIL_CDMA_SMS_Udh;
/* ----------------------------- */