ThingsBoard Client SDK 0.16.0
Client SDK to connect with ThingsBoard IoT Platform from IoT devices (Arduino, Espressif, etc.)
Loading...
Searching...
No Matches
Variables
Constants.h File Reference
#include "Configuration.h"
#include <stdint.h>
Include dependency graph for Constants.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

uint8_t constexpr DEFAULT_ENDPOINT_AMOUNT = 7U
 
uint8_t constexpr DEFAULT_RESPONSE_AMOUNT = 8U
 
uint8_t constexpr DEFAULT_SUBSCRIPTION_AMOUNT = 1U
 
uint8_t constexpr DEFAULT_ATTRIBUTES_AMOUNT = 1U
 
uint8_t constexpr DEFAULT_RPC_AMOUNT = 0U
 
uint8_t constexpr DEFAULT_REQUEST_RPC_AMOUNT = 2U
 
uint8_t constexpr DEFAULT_PAYLOAD_SIZE = 64U
 
uint16_t constexpr DEFAULT_MAX_STACK_SIZE = 1024U
 
char constexpr TOO_MANY_JSON_FIELDS [] = "Attempt to enter to many JSON fields into StaticJsonDocument (%u), increase (%s) (%u) accordingly"
 
char constexpr UNABLE_TO_SERIALIZE [] = "Unable to serialize key-value json"
 
char constexpr CONNECT_FAILED [] = "Connecting to server failed"
 
char constexpr UNABLE_TO_SERIALIZE_JSON [] = "Unable to serialize json data"
 
char constexpr UNABLE_TO_ALLOCATE_JSON [] = "Allocating memory for the JsonDocument failed, passed JsonDocument is NULL"
 
char constexpr JSON_SIZE_TO_SMALL [] = "JsonDocument too small to store all values. Ensure every key value pair gets JSON_OBJECT_SIZE(1) capacity + size required by value / key that is inserted"
 

Variable Documentation

◆ CONNECT_FAILED

char constexpr CONNECT_FAILED[] = "Connecting to server failed"
constexpr

◆ DEFAULT_ATTRIBUTES_AMOUNT

uint8_t constexpr DEFAULT_ATTRIBUTES_AMOUNT = 1U
constexpr

◆ DEFAULT_ENDPOINT_AMOUNT

uint8_t constexpr DEFAULT_ENDPOINT_AMOUNT = 7U
constexpr

◆ DEFAULT_MAX_STACK_SIZE

uint16_t constexpr DEFAULT_MAX_STACK_SIZE = 1024U
constexpr

◆ DEFAULT_PAYLOAD_SIZE

uint8_t constexpr DEFAULT_PAYLOAD_SIZE = 64U
constexpr

◆ DEFAULT_REQUEST_RPC_AMOUNT

uint8_t constexpr DEFAULT_REQUEST_RPC_AMOUNT = 2U
constexpr

◆ DEFAULT_RESPONSE_AMOUNT

uint8_t constexpr DEFAULT_RESPONSE_AMOUNT = 8U
constexpr

◆ DEFAULT_RPC_AMOUNT

uint8_t constexpr DEFAULT_RPC_AMOUNT = 0U
constexpr

◆ DEFAULT_SUBSCRIPTION_AMOUNT

uint8_t constexpr DEFAULT_SUBSCRIPTION_AMOUNT = 1U
constexpr

◆ JSON_SIZE_TO_SMALL

char constexpr JSON_SIZE_TO_SMALL[] = "JsonDocument too small to store all values. Ensure every key value pair gets JSON_OBJECT_SIZE(1) capacity + size required by value / key that is inserted"
constexpr

◆ TOO_MANY_JSON_FIELDS

char constexpr TOO_MANY_JSON_FIELDS[] = "Attempt to enter to many JSON fields into StaticJsonDocument (%u), increase (%s) (%u) accordingly"
constexpr

◆ UNABLE_TO_ALLOCATE_JSON

char constexpr UNABLE_TO_ALLOCATE_JSON[] = "Allocating memory for the JsonDocument failed, passed JsonDocument is NULL"
constexpr

◆ UNABLE_TO_SERIALIZE

char constexpr UNABLE_TO_SERIALIZE[] = "Unable to serialize key-value json"
constexpr

◆ UNABLE_TO_SERIALIZE_JSON

char constexpr UNABLE_TO_SERIALIZE_JSON[] = "Unable to serialize json data"
constexpr