le_atDefs_interface.h

Go to the documentation of this file.
1 /*
2  * ====================== WARNING ======================
3  *
4  * THE CONTENTS OF THIS FILE HAVE BEEN AUTO-GENERATED.
5  * DO NOT MODIFY IN ANY WAY.
6  *
7  * ====================== WARNING ======================
8  */
9 
10 /**
11  * @file le_atDefs_interface.h
12  *
13  * Definition file common to multiple AT commands related services.
14  *
15  * Copyright (C) Sierra Wireless Inc. Use of this work is subject to license.
16  */
17 
18 #ifndef LE_ATDEFS_INTERFACE_H_INCLUDE_GUARD
19 #define LE_ATDEFS_INTERFACE_H_INCLUDE_GUARD
20 
21 
22 #include "legato.h"
23 
24 
25 //--------------------------------------------------------------------------------------------------
26 /**
27  * Command string maximum length.
28  *
29  * @warning Special characters cost more than one byte
30  *
31  */
32 //--------------------------------------------------------------------------------------------------
33 #define LE_ATDEFS_COMMAND_MAX_LEN 127
34 
35 
36 //--------------------------------------------------------------------------------------------------
37 /**
38  * Command string maximum length.
39  * One extra byte is added for the null character.
40  */
41 //--------------------------------------------------------------------------------------------------
42 #define LE_ATDEFS_COMMAND_MAX_BYTES 128
43 
44 
45 //--------------------------------------------------------------------------------------------------
46 /**
47  * Parameter string maximum length.
48  *
49  * @warning Special characters cost more than one byte
50  *
51  */
52 //--------------------------------------------------------------------------------------------------
53 #define LE_ATDEFS_PARAMETER_MAX_LEN 127
54 
55 
56 //--------------------------------------------------------------------------------------------------
57 /**
58  * Parameter string maximum length.
59  * One extra byte is added for the null character.
60  */
61 //--------------------------------------------------------------------------------------------------
62 #define LE_ATDEFS_PARAMETER_MAX_BYTES 128
63 
64 
65 //--------------------------------------------------------------------------------------------------
66 /**
67  * AT command response maximum length.
68  *
69  * @warning Special characters cost more than one byte
70  *
71  */
72 //--------------------------------------------------------------------------------------------------
73 #define LE_ATDEFS_RESPONSE_MAX_LEN 352
74 
75 
76 //--------------------------------------------------------------------------------------------------
77 /**
78  * AT command response maximum length.
79  * One extra byte is added for the null character.
80  */
81 //--------------------------------------------------------------------------------------------------
82 #define LE_ATDEFS_RESPONSE_MAX_BYTES 353
83 
84 
85 //--------------------------------------------------------------------------------------------------
86 /**
87  * Maximum number of bytes in an unsolicited response (not including the null-terminator).
88  *
89  * @warning Special characters cost more than one byte
90  *
91  */
92 //--------------------------------------------------------------------------------------------------
93 #define LE_ATDEFS_UNSOLICITED_MAX_LEN 256
94 
95 
96 //--------------------------------------------------------------------------------------------------
97 /**
98  * Maximum number of bytes in an unsolicited response (including the null-terminator).
99  */
100 //--------------------------------------------------------------------------------------------------
101 #define LE_ATDEFS_UNSOLICITED_MAX_BYTES 257
102 
103 
104 //--------------------------------------------------------------------------------------------------
105 /**
106  * Maximum number of bytes in a text message (not including the null-terminator).
107  *
108  * @warning Special characters cost more than one byte
109  *
110  */
111 //--------------------------------------------------------------------------------------------------
112 #define LE_ATDEFS_TEXT_MAX_LEN 256
113 
114 
115 //--------------------------------------------------------------------------------------------------
116 /**
117  * Maximum number of bytes in an text message (including the null-terminator).
118  */
119 //--------------------------------------------------------------------------------------------------
120 #define LE_ATDEFS_TEXT_MAX_BYTES 257
121 
122 
123 //--------------------------------------------------------------------------------------------------
124 /**
125  * Command default timeout (in ms)
126  */
127 //--------------------------------------------------------------------------------------------------
128 #define LE_ATDEFS_COMMAND_DEFAULT_TIMEOUT 30000
129 
130 
131 #endif // LE_ATDEFS_INTERFACE_H_INCLUDE_GUARD
132