Skip to content

Commit 5fb3dc0

Browse files
authored
Merge pull request #21 from telit/fix/lwm2m-first
fix LWM2M_first example ONOFF management
2 parents c94de00 + b8ae7d9 commit 5fb3dc0

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
ME310 0.0.0 - ????.??.??
22

3+
ME310 2.12.1 - 2023.11.23
4+
* Fixes in LWM2M_first example
5+
36
ME310 2.12.0 - 2022.11.23
47
* Fixes in MQTT and FTP examples
58

examples/AGNSS_example/AGNSS_example.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,4 +268,4 @@ void loop() {
268268
exit(0);
269269
}
270270
count++;
271-
}
271+
}

examples/LWM2M_first_example/LWM2M_first_example.ino

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
For the sketch to work correctly, it is necessary to load the XML of the object 3313 on the board.\n
2020
2121
@version
22-
1.0.0
22+
1.0.1
2323
2424
@note
2525
@@ -49,7 +49,9 @@
4949

5050
#define OK_ANSWER "OK"
5151

52-
#define ON_OFF 6 /*Select the GPIO to control ON_OFF*/
52+
#ifndef ARDUINO_TELIT_SAMD_CHARLIE
53+
#define ON_OFF 6 /*Select the right GPIO to control ON_OFF*/
54+
#endif
5355

5456
/* Earth's gravity in m/s^2 */
5557
#define GRAVITY_EARTH (9.80665f)

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=ME310G1
2-
version=2.12.0
2+
version=2.12.1
33
author=Telit
44
maintainer=Telit <info@telit.com>
55
sentence=Allows communication with ME310G1 Telit module.

0 commit comments

Comments
 (0)