Skip to content

Commit f5ca810

Browse files
committed
add GNSS utility class, minor code cleanups
1 parent f27d78d commit f5ca810

26 files changed

+370
-92
lines changed

CHANGELOG

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
TLT 0.0.0 - ????.??.??
22

3+
TLT 1.1.0 - 2021.10.08
4+
5+
* Add GNSS class utility
6+
37
TLT 1.0.0 - 2021.09.27
48

59
* Initial release

examples/ChooseRadioAccessTechnology_example/ChooseRadioAccessTechnology_example.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
- CAT-M1 and NB-IoT (preferred) (3)
2020
2121
@version
22-
1.0.0
22+
1.1.0
2323
2424
@note
2525
@@ -30,7 +30,7 @@
3030
09/23/2021
3131
*/
3232

33-
#include "TLTMDM.h"
33+
#include <TLTMDM.h>
3434

3535
ME310 myME310;
3636

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=TLT
2-
version=1.0.0
2+
version=1.1.0
33
author=Telit
44
maintainer=Telit <[email protected]>
55
sentence=Provides network communication capabilities over ME310G1 Telit module.

src/GPRS.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
1313
1414
@version
15-
1.0.0
15+
1.1.0
1616
1717
@note
1818
Dependencies:
@@ -24,7 +24,7 @@
2424
@date
2525
08/03/2021
2626
*/
27-
#include "GPRS.h"
27+
#include <GPRS.h>
2828

2929
/*! \enum GPRS status
3030
\brief Enum of GPRS status of internal state machine

src/GPRS.h

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
/*===============================================================================================*/
2-
/* >>> Copyright (C) Telit Communications S.p.A. Italy All Rights Reserved. <<< */
1+
/*Copyright (C) 2021 Telit Communications S.p.A. Italy - All Rights Reserved.*/
2+
/* See LICENSE file in the project root for full license information. */
3+
34
/*!
45
@file
56
GPRS.h
@@ -10,7 +11,7 @@
1011
1112
1213
@version
13-
1.0.0
14+
1.1.0
1415
1516
@note
1617
Dependencies:
@@ -27,8 +28,8 @@
2728
#define __GPRS__H
2829
/* Include files ================================================================================*/
2930
#include <IPAddress.h>
30-
#include "ME310.h"
31-
#include "TLT.h"
31+
#include <ME310.h>
32+
#include <TLT.h>
3233

3334
/* Using namespace ================================================================================*/
3435
using namespace std;

src/TLT.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ TLT_NetworkStatus_t TLT::begin(const char* pin, const char* ipProt, const char*
136136
if (synchronous)
137137
{
138138
unsigned long start = millis();
139+
139140
while (ready() == 0)
140141
{
141142
if (_timeout && !((millis() - start) < _timeout))
@@ -222,7 +223,6 @@ int TLT::ready()
222223
{
223224
return 0;
224225
}
225-
226226
switch (_readyState)
227227
{
228228
case READY_STATE_SET_ERROR_DISABLED:

src/TLT.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
/*===============================================================================================*/
2-
/* >>> Copyright (C) Telit Communications S.p.A. Italy All Rights Reserved. <<< */
1+
/*Copyright (C) 2021 Telit Communications S.p.A. Italy - All Rights Reserved.*/
2+
/* See LICENSE file in the project root for full license information. */
3+
34
/*!
45
@file
56
TLT.h
@@ -10,7 +11,7 @@
1011
This class managements the most important functionality of connection function.
1112
1213
@version
13-
1.0.0
14+
1.1.0
1415
1516
@note
1617
Dependencies:
@@ -27,11 +28,10 @@
2728
#ifndef __TLT__H
2829
#define __TLT__H
2930
/* Include files ================================================================================*/
30-
#include "ME310.h"
3131
#include <stdio.h>
3232
#include <stdarg.h>
3333
#include <string>
34-
34+
#include <ME310.h>
3535
/* Using namespace ================================================================================*/
3636
using namespace std;
3737
using namespace me310;

src/TLTClient.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*Copyright (C) 2020 Telit Communications S.p.A. Italy - All Rights Reserved.*/
1+
/*Copyright (C) 2021 Telit Communications S.p.A. Italy - All Rights Reserved.*/
22
/* See LICENSE file in the project root for full license information. */
33

44
/**
@@ -12,7 +12,7 @@
1212
1313
1414
@version
15-
1.0.0
15+
1.1.0
1616
1717
@note
1818
Dependencies:
@@ -26,9 +26,9 @@
2626
@date
2727
07/28/2021
2828
*/
29-
#include "TLTSocketBuffer.h"
29+
#include <TLTSocketBuffer.h>
3030

31-
#include "TLTClient.h"
31+
#include <TLTClient.h>
3232

3333
/*! \enum Client state machine status
3434
\brief Enum of client status of internal state machine

src/TLTClient.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
/*===============================================================================================*/
2-
/* >>> Copyright (C) Telit Communications S.p.A. Italy All Rights Reserved. <<< */
1+
/*Copyright (C) 2021 Telit Communications S.p.A. Italy - All Rights Reserved.*/
2+
/* See LICENSE file in the project root for full license information. */
3+
34
/*!
45
@file
56
TLTClient.h
@@ -10,7 +11,7 @@
1011
1112
1213
@version
13-
1.0.0
14+
1.1.0
1415
1516
@note
1617
Dependencies:
@@ -28,7 +29,7 @@
2829
#ifndef __TLTCLIENT__H
2930
#define __TLTCLIENT__H
3031
/* Include files ================================================================================*/
31-
#include "ME310.h"
32+
#include <ME310.h>
3233
#include <Client.h>
3334

3435
/* Using namespace ================================================================================*/

src/TLTFileUtils.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*Copyright (C) 2020 Telit Communications S.p.A. Italy - All Rights Reserved.*/
1+
/*Copyright (C) 2021 Telit Communications S.p.A. Italy - All Rights Reserved.*/
22
/* See LICENSE file in the project root for full license information. */
33

44
/**
@@ -12,13 +12,12 @@
1212
1313
1414
@version
15-
1.0.0
15+
1.1.0
1616
1717
@note
1818
Dependencies:
1919
ME310.h
2020
TLTUtils.h
21-
Modem.h
2221
2322
@author
2423
@@ -28,7 +27,7 @@
2827
*/
2928

3029

31-
#include "TLTFileUtils.h"
30+
#include <TLTFileUtils.h>
3231

3332
TLTFileUtils::TLTFileUtils(ME310* me310, bool debug) : _count(0), _files(""), _debug(debug)
3433
{

src/TLTFileUtils.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
/*===============================================================================================*/
2-
/* >>> Copyright (C) Telit Communications S.p.A. Italy All Rights Reserved. <<< */
1+
/*Copyright (C) 2021 Telit Communications S.p.A. Italy - All Rights Reserved.*/
2+
/* See LICENSE file in the project root for full license information. */
3+
34
/*!
45
@file
56
TLTFileUtils.h
@@ -10,7 +11,7 @@
1011
1112
1213
@version
13-
1.0.0
14+
1.1.0
1415
1516
@note
1617
Dependencies:
@@ -29,7 +30,7 @@
2930

3031
#pragma once
3132
/* Include files ================================================================================*/
32-
#include "ME310.h"
33+
#include <ME310.h>
3334
#include <Arduino.h>
3435
/* Using namespace ================================================================================*/
3536
using namespace std;

0 commit comments

Comments
 (0)