1/*
2 * Copyright (c) 2000-2005 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. Please obtain a copy of the License at
10 * http://www.opensource.apple.com/apsl/ and read it before using this
11 * file.
12 *
13 * The Original Code and all software distributed under the License are
14 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
18 * Please see the License for the specific language governing rights and
19 * limitations under the License.
20 *
21 * @APPLE_LICENSE_HEADER_END@
22 */
23
24#ifndef _WWANSCHEMADEFINITIONS_H
25#define _WWANSCHEMADEFINITIONS_H
26
27//@DynamicDictionary:
28#define kWWAN_DynamicDictonary		"WWANDynamicProperties"
29#define kWWAN_HardwareDictionary	"WWANHardwareProperties"
30
31#define kWWAN_DeviceModemOverrides	"DeviceModemOverrides"
32#define kWWAN_DevicePPPOverrides	"DevicePPPOverrides"
33
34#define kWWAN_TYPE				"WWAN_TYPE"			//e.g "GSM, "CDMA"
35#define kWWAN_NETWORK_NAME		"NETWORK_NAME"
36#define kWWAN_RSSI				"RSSI"
37#define kWWAN_SERVICE_STATE		"SERVICE_STATE"
38
39// @HardwareDictionary: //Common to Both CDMA and GSM
40#define kWWAN_FIRMWARE_VERSION	"FIRMWARE_VERSION"
41#define kWWAN_HW_VERSION		"ModemSW" //"HW_VERSION"
42#define kWWAN_ROAMING			"ROAMING"
43#define kWWAN_PHONE_NUMBER		"PHONE_NUMBER"
44
45//GSM Specific Properties
46#define kWWAN_IMEI				"IMEI"
47#define kWWAN_IMSI				"IMSI"
48
49//@HardwareDictionary(CDMA):
50//CDMA Hardware Specific Properties
51#define kWWAN_PRL				"PRL"
52#define kWWAN_ERI				"ERI"
53#define kWWAN_ESN				"ESN"
54
55#define kWWAN_GSM_TYPE			"GSM"
56#define kWWAN_CDMA_TYPE			"CDMA"
57#define kWWAN_WCDMA_TYPE		"WCDMA"
58
59#define kWWAN_SC_SETUP			"Initializing"
60#define kWWAN_UNIQUIFIER		"UniqueIdentifier"
61
62#define kCONNECT_STATE          "CONNECT_STATE"
63#define kCONNECT                "CONNECT"
64#define kCONNECTED              "CONNECTED"
65
66#define kDIS_CONNECT            "DISCONNECT"
67#define kDIS_CONNECTED          "DISCONNECTED"
68
69
70typedef enum {
71	WWAN_DICTIONARY_UNKNOWN			= 0,
72	WWAN_SET_DYNAMIC_DICTIONARY		= 1,
73	WWAN_SET_HARDWARE_DICTIONARY	= 2,
74	WWAN_SET_MODEM_DICTIONARY		= 3,
75	WWAN_SET_PPP_DICTIONARY			= 4,
76	WWAN_DEVICE_PROPERTY			= 5
77}WWAN_DICTIONARY;
78
79
80#endif /* _WWANSCHEMADEFINITIONS_H */
81