SPSP
Simple publish-subscribe protocol. Connects low power IoT clients to MQTT.
All Classes Files Functions Variables Typedefs Enumerations
Public Attributes | List of all members
SPSP::FarLayers::MQTT::Config::Connection Struct Reference

Public Attributes

std::string uri
 
std::string verifyCrt
 
uint32_t keepalive = 120
 Keepalive interval in seconds (set to 0 to disable keepalive)
 
int qos = 0
 QoS for sent messages and subscriptions.
 
bool retain = false
 Retain flag for sent messages.
 
std::chrono::milliseconds timeout = std::chrono::seconds(10)
 Connection timeout.
 

Detailed Description

Definition at line 37 of file mqtt_types.hpp.

Member Data Documentation

◆ uri

std::string SPSP::FarLayers::MQTT::Config::Connection::uri

Complete URI to connect to broker e.g. mqtt://username:passw.nosp@m.ord@.nosp@m.mqtt..nosp@m.ecli.nosp@m.psepr.nosp@m.ojec.nosp@m.ts.io:1884/path

Definition at line 39 of file mqtt_types.hpp.

◆ verifyCrt

std::string SPSP::FarLayers::MQTT::Config::Connection::verifyCrt

Verification TLS certificate (if TLS is used)

On ESP platform, certificate content is expected. On Linux platform, path to certificate file is expected.

Definition at line 48 of file mqtt_types.hpp.


The documentation for this struct was generated from the following file: