Skip to content

Commit 4e2135e

Browse files
committed
MCU8MASS-954 Use AT command to prevent hangup during HTTP for query as well
1 parent ff51921 commit 4e2135e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/http_client.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,10 @@ static HttpResponse queryData(const char* endpoint,
183183
const uint8_t* header,
184184
const uint32_t header_length) {
185185

186+
// The modem could hang if several HTTP requests are done quickly after each
187+
// other, this alleviates this
188+
SequansController.writeCommand("AT");
189+
186190
HttpResponse http_response = {0, 0};
187191

188192
// Set up and send the query

0 commit comments

Comments
 (0)