LOM2M  0.8.0
Functions | Variables
tools.cpp File Reference
#include <errno.h>
#include "bsp.h"
#include "tools.h"

Functions

bool isNumeric (const String &str, long int &v)
 
bool jsonDecode (const String &payload)
 

Variables

StaticJsonDocument< JSONMAXSIZE_OUTPUTjsonglobal
 
String lastError
 

Function Documentation

◆ isNumeric()

bool isNumeric ( const String &  str,
long int &  v 
)

◆ jsonDecode()

bool jsonDecode ( const String &  payload)

Variable Documentation

◆ jsonglobal

StaticJsonDocument<JSONMAXSIZE_OUTPUT> jsonglobal

◆ lastError

String lastError