|
1 /* |
|
2 * commonTypes.h |
|
3 * |
|
4 * Copyright(c) 1998 - 2010 Texas Instruments. All rights reserved. |
|
5 * All rights reserved. |
|
6 * |
|
7 * This program and the accompanying materials are made available under the |
|
8 * terms of the Eclipse Public License v1.0 or BSD License which accompanies |
|
9 * this distribution. The Eclipse Public License is available at |
|
10 * http://www.eclipse.org/legal/epl-v10.html and the BSD License is as below. |
|
11 * |
|
12 * Redistribution and use in source and binary forms, with or without |
|
13 * modification, are permitted provided that the following conditions |
|
14 * are met: |
|
15 * |
|
16 * * Redistributions of source code must retain the above copyright |
|
17 * notice, this list of conditions and the following disclaimer. |
|
18 * * Redistributions in binary form must reproduce the above copyright |
|
19 * notice, this list of conditions and the following disclaimer in |
|
20 * the documentation and/or other materials provided with the |
|
21 * distribution. |
|
22 * * Neither the name Texas Instruments nor the names of its |
|
23 * contributors may be used to endorse or promote products derived |
|
24 * from this software without specific prior written permission. |
|
25 * |
|
26 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
|
27 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
|
28 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
|
29 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
|
30 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
|
31 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
|
32 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
33 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
34 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
35 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
|
36 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
37 */ |
|
38 |
|
39 #ifndef __COMMON_TYPES_H__ |
|
40 #define __COMMON_TYPES_H__ |
|
41 |
|
42 /************************************/ |
|
43 /* System return values. */ |
|
44 /************************************/ |
|
45 |
|
46 typedef enum |
|
47 { |
|
48 PARAM_NOT_SUPPORTED = 2, |
|
49 PARAM_VALUE_NOT_VALID = 3, |
|
50 CONFIGURATION_NOT_VALID = 4, |
|
51 NO_SITE_SELECTED_YET = 5, |
|
52 EXTERNAL_SET_PARAM_DENIED = 7, |
|
53 EXTERNAL_GET_PARAM_DENIED = 8, |
|
54 PARAM_MODULE_NUMBER_INVALID = 9, |
|
55 STATION_IS_NOT_RUNNING = 10, |
|
56 CARD_IS_NOT_INSTALLED = 11, |
|
57 |
|
58 /* QoSMngr */ |
|
59 NOT_CONNECTED, |
|
60 TRAFIC_ADM_PENDING, |
|
61 NO_QOS_AP, |
|
62 ADM_CTRL_DISABLE, |
|
63 AC_ALREADY_IN_USE, |
|
64 USER_PRIORITY_NOT_ADMITTED, |
|
65 |
|
66 |
|
67 COMMAND_PENDING, |
|
68 |
|
69 /* Rx Data Filters */ |
|
70 RX_NO_AVAILABLE_FILTERS, |
|
71 RX_FILTER_ALREADY_EXISTS, |
|
72 RX_FILTER_DOES_NOT_EXIST, |
|
73 /* Soft Gemini */ |
|
74 SG_REJECT_MEAS_SG_ACTIVE, |
|
75 PARAM_ALREADY_CONFIGURED |
|
76 |
|
77 } systemStatus_e; |
|
78 |
|
79 #endif /* __COMMON_TYPES_H__ */ |
|
80 |