forked from JayaSurya-27/GSM_Module
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAT_commands_usb_uart.txt
226 lines (203 loc) · 6.18 KB
/
AT_commands_usb_uart.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
AT
OK
AT+CMGF=1
OK
AT+CMGS="+919731842695"
>
ATllo World
+CMS ERROR: Network timeout
AT
OK
AT+CREG?
+CREG: 0,1
OK
AT
OK
AT+CREG?
+CREG: 0,1
OK
+CMTI: "SM",1
AT+CMGR
ERROR
AT
OK
AT+CMGR=1
+CMGR: "REC UNREAD","+916305692471","","24/02/27,12:26:00+20"
Hello world
OK
AT+CSMS=?
ERROR
AT+CSMS=1
+CSMS: 1,1,1
OK
AT+CSMS=?
ERROR
AT+CSMS?
+CSMS: 1,1,1,1
OK
AT+CMGF?
+CMGF: 1
OK
AT+CSCA?
+CSCA: "+919845087001",145
OK
AT+CMGL
ERROR
AT+CMGL?
+CMS ERROR: Operation not allowed
AT+CMGL="all"
+CMGL: 1,"REC READ","+916305692471","","24/02/27,12:26:00+20"
Hello world
OK
AT+CMGS=?
OK
AT+CMGF?
+CMGF: 1
OK
AT+CMGS="+919731842695",5,"Hello"
ERROR
AT
OK
AT+CMGS="+919731842695"
>
HELLO
+CMGS: 44,"010042207221339322"
OK
AT+CMGS="+919731842695"
>
HELLO
+CMGS: 45,"010042207221434222"
OK
AT
ERROR
AT
OK
AT+HTTPINIT
OK
AT+HTTPPARA="URL","https://api.thingspeak.com/update?api_key=Z8MTX9DEMK99FQCJ&fi eld1=1.4"
OK
AT+HTTPACTION=0
OK
+HTTPACTION: 0,715,0
AT
OK
AT+HTTPHEAD
ERROR
AT+HTTPHEAD=?
OK
AT+HTTPINIT
ERROR
AT+HTTPPARA="URL","https://www.example.com"
OK
AT+HTTPACTION=0
OK
+HTTPACTION: 0,713,0
AT
OK
AT+HTTPPARA="URL","www.example.com"
ERROR
AT
OK
AT+HTTPPARA="URL","http://example.com"
OK
AT+HTTPACTION=0
ERROR
AT+HTTPACTION=0
OK
+HTTPACTION: 0,200,1256
AT
OK
AT+HTTPHEAD
+HTTPHEAD: 347
HTTP/1.1 200 OK
Accept-Ranges: bytes
Age: 355540
Cache-Control: max-age=604800
Content-Type: text/html; charset=UTF-8
Date: Tue, 27 Feb 2024 07:13:24 GMT
Etag: "3147526947"
Expires: Tue, 05 Mar 2024 07:13:24 GMT
Last-Modified: Thu, 17 Oct 2019 07:18:26 GMT
Server: ECS (dce/2690)
Vary: Accept-Encoding
X-Cache: HIT
Content-Length: 1256
OK
AT+HTTPBODY
ERROR
TPPARA="URL","https://api.thingspeak.com/update?api_key=Z8MTX9DEMK99FQCJ&field1= 1.4"
ERROR
AT
OK
AT+HTTPPARA="URL","http://example.com"
OK
AT
OK
AT+HTTPACTION=0
OK
+HTTPACTION: 0,200,1256
AT+HTTPREAD
ERROR
AT+HTTPREAD=1256
OK
+HTTPREAD: 1024
<!doctype html>
<html>
<head>
<title>Example Domain</title>
<meta charset="utf-8" />
<meta http-equiv="C ontent-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initia l-scale=1" />
<style type="text/css">
body {
background-color: #f0f0f2;
margin: 0;
p adding: 0;
font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", "Open Sans", "Helvetic a Neue", Helvetica, Arial, sans-serif;
}
div {
width: 600px;
margin: 5em auto;
padding: 2em;
background-color: #fdfdff;
border-radius: 0.5em;
box-shadow: 2px 3px 7px 2px rgba(0,0,0,0.02);
}
a:link, a:visited {
color: #38488f;
text-decoration: none;
}
@media (max-width: 700px) {
div {
margin: 0 auto;
width: auto;
}
}
</ style>
</head>
<body>
<div>
<h1>Example Domain</h1>
<p>This domain is for use in illustra
+HTTPREAD: 232
tive examples in documents. You may use this
domain in literature without prior coordination or asking for p ermission.</p>
<p><a href="https://www.iana.org/domains/example">More information...</a></p>
</div>
</body>
</h tml>
+HTTPREAD: 0
AT
OK
AT+HTTPPARA="URL","http://api.thingspeak.com/update?api_key=Z8MTX9DEMK99FQCJ&field1=40"
OK
AT+HTTPACTION=0
OK
+HTTPACTION: 0,200,2
AT+HTTE
ERROR
AT+HTTPREAD=2
OK
+HTTPREAD: 2
23
+HTTPREAD: 0