Skip to content

Commit 783b2b4

Browse files
committed
**POTENTIALLY BREAKING** Renamed GsmClientSecureR4/5 to GsmClientSecureSaraR4/5 This should only be breaking to those who called the specific client h directly. Anyone who invokes the library by calling TinyGsmClient.h will be unaffected.
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
1 parent 6e9e730 commit 783b2b4

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/TinyGsmClient.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@ typedef TinyGsmUBLOX::GsmClientSecureUBLOX TinyGsmClientSecure;
6767
#include "TinyGsmClientSaraR4.h"
6868
typedef TinyGsmSaraR4 TinyGsm;
6969
typedef TinyGsmSaraR4::GsmClientSaraR4 TinyGsmClient;
70-
typedef TinyGsmSaraR4::GsmClientSecureR4 TinyGsmClientSecure;
70+
typedef TinyGsmSaraR4::GsmClientSecureSaraR4 TinyGsmClientSecure;
7171

7272
#elif defined(TINY_GSM_MODEM_SARAR5)
7373
#include "TinyGsmClientSaraR5.h"
7474
typedef TinyGsmSaraR5 TinyGsm;
7575
typedef TinyGsmSaraR5::GsmClientSaraR5 TinyGsmClient;
76-
typedef TinyGsmSaraR5::GsmClientSecureR5 TinyGsmClientSecure;
76+
typedef TinyGsmSaraR5::GsmClientSecureSaraR5 TinyGsmClientSecure;
7777

7878
#elif defined(TINY_GSM_MODEM_M95)
7979
#include "TinyGsmClientM95.h"

src/TinyGsmClientSaraR4.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,15 +271,15 @@ class TinyGsmSaraR4 : public TinyGsmModem<TinyGsmSaraR4>,
271271
* Inner Secure Client
272272
*/
273273
public:
274-
class GsmClientSecureR4 : public GsmClientSaraR4 {
274+
class GsmClientSecureSaraR4 : public GsmClientSaraR4 {
275275
friend class TinyGsmSaraR4;
276276

277277
public:
278-
GsmClientSecureR4() {
278+
GsmClientSecureSaraR4() {
279279
is_secure = true;
280280
}
281281

282-
explicit GsmClientSecureR4(TinyGsmSaraR4& modem, uint8_t mux = 0)
282+
explicit GsmClientSecureSaraR4(TinyGsmSaraR4& modem, uint8_t mux = 0)
283283
: GsmClientSaraR4(modem, mux) {
284284
is_secure = true;
285285
}

src/TinyGsmClientSaraR5.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,15 +252,15 @@ class TinyGsmSaraR5 : public TinyGsmModem<TinyGsmSaraR5>,
252252
* Inner Secure Client
253253
*/
254254
public:
255-
class GsmClientSecureR5 : public GsmClientSaraR5 {
255+
class GsmClientSecureSaraR5 : public GsmClientSaraR5 {
256256
friend class TinyGsmSaraR5;
257257

258258
public:
259-
GsmClientSecureR5() {
259+
GsmClientSecureSaraR5() {
260260
is_secure = true;
261261
}
262262

263-
explicit GsmClientSecureR5(TinyGsmSaraR5& modem, uint8_t mux = 0)
263+
explicit GsmClientSecureSaraR5(TinyGsmSaraR5& modem, uint8_t mux = 0)
264264
: GsmClientSaraR5(modem, mux) {
265265
is_secure = true;
266266
}

0 commit comments

Comments
 (0)