LOM2M  0.8.0
tools.h
Go to the documentation of this file.
1 /*
2  Copyright (c) 2013-2021 LAAS-CNRS (www.laas.fr)
3  7 Colonel Roche 31077 Toulouse - France
4 
5  The use of this source code requires an agreement with the CNRS.
6 
7  Initial Contributors:
8  David Gauchard, Guillaume Garzone, Thierry Monteil.
9 */
10 
11 #ifndef __TOOLS_H
12 #define __TOOLS_H
13 
14 #include "configuration.h"
15 
16 #include <map>
17 #include <Arduino.h>
18 #include <ArduinoJson.h>
19 
20 extern String lastError;
21 
22 extern StaticJsonDocument<JSONMAXSIZE_OUTPUT> jsonglobal;
23 // extern StaticJsonDocument<JSONMAXSIZE_INPUT> jsonInput;
24 
25 bool isNumeric(const String& str, long int& v);
26 bool jsonDecode(const String& payload);
27 
28 #endif
String lastError
Definition: tools.cpp:20
StaticJsonDocument< JSONMAXSIZE_OUTPUT > jsonglobal
Definition: tools.cpp:17
bool isNumeric(const String &str, long int &v)
Definition: tools.cpp:22
bool jsonDecode(const String &payload)
Definition: tools.cpp:37