comparison src/g23m-aci/aci/dcm.h @ 1:d393cd9bb723

src/g23m-*: initial import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Jul 2018 04:40:46 +0000
parents
children
comparison
equal deleted inserted replaced
0:b6a5e36de839 1:d393cd9bb723
1 /*
2 +-----------------------------------------------------------------------------
3 | Project :
4 | Modul : DCM
5 +-----------------------------------------------------------------------------
6 | Copyright 2002 Texas Instruments Berlin, AG
7 | All rights reserved.
8 |
9 | This file is confidential and a trade secret of Texas
10 | Instruments Berlin, AG
11 | The receipt of or possession of this file does not convey
12 | any rights to reproduce or disclose its contents or to
13 | manufacture, use, or sell anything it may describe, in
14 | whole, or in part, without the specific written consent of
15 | Texas Instruments Berlin, AG.
16 +-----------------------------------------------------------------------------
17 | Purpose : This modul provides the types used by DCM (Data Connection Manager).
18 +-----------------------------------------------------------------------------
19 */
20
21 #ifndef __DCM_H__
22 #define __DCM_H__
23
24
25 /*==== Includes =============================================================*/
26
27
28 #include "typedefs.h" /* to get general TI types */
29 #include "gsm.h" /* to get Protocol Stack types */
30
31
32 /*
33 * DCM return values
34 */
35 typedef enum
36 {
37 DCM_OK = DCM_RET_OK,
38 DCM_NOT_READY = DCM_RET_NOT_READY,
39 DCM_ALREADY_ACTIVATED = DCM_RET_ALREADY_ACTIVATED,
40 DCM_UNKNOWN_EVENT = DCM_RET_UNKNOWN_EVENT,
41 DCM_INVALID_PARAMETER = DCM_RET_INVALID_PARAMETER,
42 DCM_BUSY = DCM_RET_CMD_PENDING,
43 DCM_PS_CONN_BROKEN = DCM_RET_PS_CONN_BROKEN,
44 DCM_NO_NETWORK
45 }T_DCM_RET;
46
47
48 /*
49 * bearer type
50 */
51 typedef enum
52 {
53 DCM_BEARER_NO,
54 DCM_BEARER_ANY = DCM_SOCK_BEARER_ANY,
55 DCM_BEARER_GPRS = DCM_SOCK_BEARER_GPRS,
56 DCM_BEARER_GSM = DCM_SOCK_BEARER_GSM,
57 DCM_BEARER_USE_PROFILE = DCM_SOCK_BEARER_USE_PROFILE,
58 DCM_BEARER_AS_SPECIFIED = DCM_SOCK_BEARER_AS_SPECIFIED
59 }T_BEARER_TYPE;
60
61
62 #endif /* !__DCM_H__ */