OSDN Git Service

ril.h: Change latitude-longitude fields to be compliant with 3GPP2 spec.
authorNaveen Kalla <nkalla@quicinc.com>
Wed, 14 Oct 2009 01:29:41 +0000 (18:29 -0700)
committerWink Saville <wink@google.com>
Wed, 21 Oct 2009 20:58:20 +0000 (13:58 -0700)
Base Station Latitude and Longitude values in the response to the
RIL_REQUEST_REGISTRATION_STATE message need to be changed from
hexadecimal values to decimal values compliant with the 3GPP2 C.S0005-A
specification.

Bug: 2201613
Change-Id: I2591f43bf78b861cf5cadd1eb66866bcf6605a29

include/telephony/ril.h

index b511c77..e921fa6 100644 (file)
@@ -1017,10 +1017,18 @@ typedef struct {
  *                              decimal format
  * ((const char **)response)[5] is Base Station latitude if registered on a
  *                              CDMA system or NULL if not. Base Station
- *                              latitude in hexadecimal format
+ *                              latitude is a decimal number as specified in
+ *                              3GPP2 C.S0005-A v6.0. It is represented in
+ *                              units of 0.25 seconds and ranges from -1296000
+ *                              to 1296000, both values inclusive (corresponding
+ *                              to a range of -90° to +90°).
  * ((const char **)response)[6] is Base Station longitude if registered on a
  *                              CDMA system or NULL if not. Base Station
- *                              longitude in hexadecimal format
+ *                              longitude is a decimal number as specified in
+ *                              3GPP2 C.S0005-A v6.0. It is represented in
+ *                              units of 0.25 seconds and ranges from -2592000
+ *                              to 2592000, both values inclusive (corresponding
+ *                              to a range of -180° to +180°).
  * ((const char **)response)[7] is concurrent services support indicator if
  *                              registered on a CDMA system 0-1.
  *                                   0 - Concurrent services not supported,