le_atDefs_interface.h

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