ThingsBoard Client SDK 0.16.0
Client SDK to connect with ThingsBoard IoT Platform from IoT devices (Arduino, Espressif, etc.)
Loading...
Searching...
No Matches
Classes | Typedefs | Variables
ThingsBoard.h File Reference
#include "Constants.h"
#include "IAPI_Implementation.h"
#include "IMQTT_Client.h"
#include "DefaultLogger.h"
#include "Telemetry.h"
Include dependency graph for ThingsBoard.h:

Go to the source code of this file.

Classes

class  ThingsBoardSized< MaxResponse, MaxEndpointsAmount, Logger >
 Wrapper around any arbitrary MQTT Client implementing the IMQTT_Client interface, to allow connecting and sending / retrieving data from ThingsBoard over the MQTT or MQTT with TLS/SSL protocol. More...
 

Typedefs

using ThingsBoard = ThingsBoardSized<>
 

Variables

uint16_t constexpr DEFAULT_MQTT_PORT = 1883U
 
char constexpr PROV_ACCESS_TOKEN [] = "provision"
 
char constexpr UNABLE_TO_DE_SERIALIZE_JSON [] = "Unable to de-serialize received json data with error (DeserializationError::%s)"
 
char constexpr INVALID_BUFFER_SIZE [] = "Send buffer size (%u) to small for the given payloads size (%u), increase with Set_Buffer_Size accordingly or install the StreamUtils library"
 
char constexpr UNABLE_TO_ALLOCATE_BUFFER [] = "Allocating memory for the internal MQTT buffer failed"
 
char constexpr MAX_ENDPOINTS_AMOUNT_TEMPLATE_NAME [] = "MaxEndpointsAmount"
 
char constexpr API_SUBSCRIPTIONS [] = "API implementation"
 
char constexpr CLAIM_TOPIC [] = "v1/devices/me/claim"
 
char constexpr SECRET_KEY [] = "secretKey"
 
char constexpr DURATION_KEY [] = "durationMs"
 

Typedef Documentation

◆ ThingsBoard

Variable Documentation

◆ API_SUBSCRIPTIONS

char constexpr API_SUBSCRIPTIONS[] = "API implementation"
constexpr

◆ CLAIM_TOPIC

char constexpr CLAIM_TOPIC[] = "v1/devices/me/claim"
constexpr

◆ DEFAULT_MQTT_PORT

uint16_t constexpr DEFAULT_MQTT_PORT = 1883U
constexpr

◆ DURATION_KEY

char constexpr DURATION_KEY[] = "durationMs"
constexpr

◆ INVALID_BUFFER_SIZE

char constexpr INVALID_BUFFER_SIZE[] = "Send buffer size (%u) to small for the given payloads size (%u), increase with Set_Buffer_Size accordingly or install the StreamUtils library"
constexpr

◆ MAX_ENDPOINTS_AMOUNT_TEMPLATE_NAME

char constexpr MAX_ENDPOINTS_AMOUNT_TEMPLATE_NAME[] = "MaxEndpointsAmount"
constexpr

◆ PROV_ACCESS_TOKEN

char constexpr PROV_ACCESS_TOKEN[] = "provision"
constexpr

◆ SECRET_KEY

char constexpr SECRET_KEY[] = "secretKey"
constexpr

◆ UNABLE_TO_ALLOCATE_BUFFER

char constexpr UNABLE_TO_ALLOCATE_BUFFER[] = "Allocating memory for the internal MQTT buffer failed"
constexpr

◆ UNABLE_TO_DE_SERIALIZE_JSON

char constexpr UNABLE_TO_DE_SERIALIZE_JSON[] = "Unable to de-serialize received json data with error (DeserializationError::%s)"
constexpr