Skip to content

Commit d35136f

Browse files
committed
Thales: fix patchset
1 parent c2d1bd9 commit d35136f

3 files changed

+9
-210
lines changed

patches/0104-INITIAL-GEMALTO-implement-GNSS.patch

-100
This file was deleted.

patches/0106-GEMALTO-TX62-Add-APIs-to-start-and-stop-gnss-functio.patch

-102
This file was deleted.

patches/0111-Fix-HostByName-SISX-request.patch

+9-8
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,30 @@
1-
From 658bbcebf9375ef322e29e6264118941a08c8eda Mon Sep 17 00:00:00 2001
1+
From 801f2a2d0fbfe226f0be04bb89a08b67f642d763 Mon Sep 17 00:00:00 2001
22
From: Giampaolo Mancini <[email protected]>
3-
Date: Fri, 4 Feb 2022 14:52:35 +0100
3+
Date: Mon, 7 Feb 2022 15:13:41 +0100
44
Subject: [PATCH] Fix HostByName SISX request
55

66
---
7-
.../GEMALTO/CINTERION/GEMALTO_CINTERION_CellularStack.cpp | 5 +++--
8-
1 file changed, 3 insertions(+), 2 deletions(-)
7+
.../GEMALTO/CINTERION/GEMALTO_CINTERION_CellularStack.cpp | 7 ++++---
8+
1 file changed, 4 insertions(+), 3 deletions(-)
99

1010
diff --git a/connectivity/drivers/cellular/GEMALTO/CINTERION/GEMALTO_CINTERION_CellularStack.cpp b/connectivity/drivers/cellular/GEMALTO/CINTERION/GEMALTO_CINTERION_CellularStack.cpp
11-
index 0416f561ac..8033058182 100644
11+
index 1eca8f54e0..33a73bf9a3 100644
1212
--- a/connectivity/drivers/cellular/GEMALTO/CINTERION/GEMALTO_CINTERION_CellularStack.cpp
1313
+++ b/connectivity/drivers/cellular/GEMALTO/CINTERION/GEMALTO_CINTERION_CellularStack.cpp
14-
@@ -284,15 +284,16 @@ nsapi_error_t GEMALTO_CINTERION_CellularStack::gethostbyname(const char* host, S
14+
@@ -276,15 +276,16 @@ nsapi_error_t GEMALTO_CINTERION_CellularStack::gethostbyname(const char *host, S
1515
}
1616

1717
if (!address->set_ip_address(host)) {
1818
- //_at.set_at_timeout(1min);
19+
- _at.cmd_start_stop("^SISX" , "=" , "%s%d%s", "HostByName" , _cid, host);
1920
+ // _at.set_at_timeout(1min);
20-
_at.cmd_start_stop("^SISX", "=", "%s%d%s", "HostByName", _cid, host);
21+
+ _at.cmd_start_stop("^SISX", "=", "%s%d%s", "HostByName", _cid, host);
2122
_at.resp_start("^SISX: \"HostByName\",");
2223
char ipAddress[NSAPI_IP_SIZE];
2324
int size = _at.read_string(ipAddress, sizeof(ipAddress));
2425
+ _at.resp_stop();
2526
if (size > 0) {
26-
// Valid string received
27+
//Valid string received
2728
tr_info("Read %d bytes. Valid string: %s\n", size, ipAddress);
2829
- _at.restore_at_timeout();
2930
+ // _at.restore_at_timeout();

0 commit comments

Comments
 (0)