1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
5 [Pref="dom.mobileconnection.enabled"]
6 interface MozMobileCellInfo
9 * Mobile Location Area Code (LAC) for GSM/WCDMA networks.
11 * Possible ranges from 0x0000 to 0xffff.
12 * -1 if the LAC is unknown.
14 readonly attribute long gsmLocationAreaCode;
17 * Mobile Cell ID for GSM/WCDMA networks.
19 * Possible ranges from 0x00000000 to 0xffffffff.
20 * -1 if the cell id is unknown.
22 readonly attribute long long gsmCellId;
25 * Base Station ID for CDMA networks.
27 * Possible ranges from 0 to 65535.
28 * -1 if the base station id is unknown.
30 readonly attribute long cdmaBaseStationId;
33 * Base Station Latitude for CDMA networks.
35 * Possible ranges from -1296000 to 1296000.
36 * -2147483648 if the latitude is unknown.
38 * @see 3GPP2 C.S0005-A v6.0.
40 readonly attribute long cdmaBaseStationLatitude;
43 * Base Station Longitude for CDMA networks.
45 * Possible ranges from -2592000 to 2592000.
46 * -2147483648 if the longitude is unknown.
48 * @see 3GPP2 C.S0005-A v6.0.
50 readonly attribute long cdmaBaseStationLongitude;
53 * System ID for CDMA networks.
55 * Possible ranges from 0 to 32767.
56 * -1 if the system id is unknown.
58 readonly attribute long cdmaSystemId;
61 * Network ID for CDMA networks.
63 * Possible ranges from 0 to 65535.
64 * -1 if the network id is unknown.
66 readonly attribute long cdmaNetworkId;