From b8ae7d9596c595445343e7a447215e619bc81a49 Mon Sep 17 00:00:00 2001 From: Fabio Pintus Date: Thu, 23 Nov 2023 12:03:04 +0100 Subject: [PATCH] fix LWM2M_first example ONOFF management --- CHANGELOG | 3 +++ examples/AGNSS_example/AGNSS_example.ino | 2 +- examples/LWM2M_first_example/LWM2M_first_example.ino | 6 ++++-- library.properties | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 74f3309..891c365 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,8 @@ ME310 0.0.0 - ????.??.?? +ME310 2.12.1 - 2023.11.23 +* Fixes in LWM2M_first example + ME310 2.12.0 - 2022.11.23 * Fixes in MQTT and FTP examples diff --git a/examples/AGNSS_example/AGNSS_example.ino b/examples/AGNSS_example/AGNSS_example.ino index 913aa84..5beea3d 100644 --- a/examples/AGNSS_example/AGNSS_example.ino +++ b/examples/AGNSS_example/AGNSS_example.ino @@ -268,4 +268,4 @@ void loop() { exit(0); } count++; -} +} \ No newline at end of file diff --git a/examples/LWM2M_first_example/LWM2M_first_example.ino b/examples/LWM2M_first_example/LWM2M_first_example.ino index eafc3fa..9d1abfb 100644 --- a/examples/LWM2M_first_example/LWM2M_first_example.ino +++ b/examples/LWM2M_first_example/LWM2M_first_example.ino @@ -19,7 +19,7 @@ For the sketch to work correctly, it is necessary to load the XML of the object 3313 on the board.\n @version - 1.0.0 + 1.0.1 @note @@ -49,7 +49,9 @@ #define OK_ANSWER "OK" -#define ON_OFF 6 /*Select the GPIO to control ON_OFF*/ +#ifndef ARDUINO_TELIT_SAMD_CHARLIE +#define ON_OFF 6 /*Select the right GPIO to control ON_OFF*/ +#endif /* Earth's gravity in m/s^2 */ #define GRAVITY_EARTH (9.80665f) diff --git a/library.properties b/library.properties index 762be0c..d28e52a 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=ME310G1 -version=2.12.0 +version=2.12.1 author=Telit maintainer=Telit sentence=Allows communication with ME310G1 Telit module.