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
ThingsBoardHttp.h File Reference
#include "Constants.h"
#include "Telemetry.h"
#include "Helper.h"
#include "IHTTP_Client.h"
#include "DefaultLogger.h"
Include dependency graph for ThingsBoardHttp.h:

Go to the source code of this file.

Classes

class  ThingsBoardHttpSized< Logger >
 Wrapper around the ArduinoHttpClient to allow connecting and sending / retrieving data from ThingsBoard over the HTTP or HTTPS protocol. More...
 

Typedefs

using ThingsBoardHttp = ThingsBoardHttpSized<>
 

Variables

char constexpr HTTP_TELEMETRY_TOPIC [] = "/api/v1/%s/telemetry"
 
char constexpr HTTP_ATTRIBUTES_TOPIC [] = "/api/v1/%s/attributes"
 
char constexpr HTTP_POST_PATH [] = "application/json"
 
int constexpr HTTP_RESPONSE_SUCCESS_RANGE_START = 200
 
int constexpr HTTP_RESPONSE_SUCCESS_RANGE_END = 299
 
char constexpr POST [] = "POST"
 
char constexpr GET [] = "GET"
 
char constexpr HTTP_FAILED [] = "(%s) failed HTTP response (%d)"
 

Typedef Documentation

◆ ThingsBoardHttp

Variable Documentation

◆ GET

char constexpr GET[] = "GET"
constexpr

◆ HTTP_ATTRIBUTES_TOPIC

char constexpr HTTP_ATTRIBUTES_TOPIC[] = "/api/v1/%s/attributes"
constexpr

◆ HTTP_FAILED

char constexpr HTTP_FAILED[] = "(%s) failed HTTP response (%d)"
constexpr

◆ HTTP_POST_PATH

char constexpr HTTP_POST_PATH[] = "application/json"
constexpr

◆ HTTP_RESPONSE_SUCCESS_RANGE_END

int constexpr HTTP_RESPONSE_SUCCESS_RANGE_END = 299
constexpr

◆ HTTP_RESPONSE_SUCCESS_RANGE_START

int constexpr HTTP_RESPONSE_SUCCESS_RANGE_START = 200
constexpr

◆ HTTP_TELEMETRY_TOPIC

char constexpr HTTP_TELEMETRY_TOPIC[] = "/api/v1/%s/telemetry"
constexpr

◆ POST

char constexpr POST[] = "POST"
constexpr