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::Auth Struct Reference

Public Attributes

std::string username
 Username for connection (can also be set by URI)
 
std::string password
 Password for connection (can also be set by URI)
 
std::string clientId
 
std::string crt
 
std::string crtKey
 

Detailed Description

Definition at line 57 of file mqtt_types.hpp.

Member Data Documentation

◆ clientId

std::string SPSP::FarLayers::MQTT::Config::Auth::clientId

Client ID

Default is: spsp_xxx, where xxx is MAC address. Be aware that on Linux platform, MAC address is 00:00:00:00:00:00 by default and the real interface MAC address is set by constructor of SPSP::LocalLayers::ESPNOW::Adapter.

Definition at line 70 of file mqtt_types.hpp.

◆ crt

std::string SPSP::FarLayers::MQTT::Config::Auth::crt

Authentication TLS certificate (if needed).

If set, also authKey must be provided.

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

Definition at line 80 of file mqtt_types.hpp.

◆ crtKey

std::string SPSP::FarLayers::MQTT::Config::Auth::crtKey

Private key for TLS authentication

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

Definition at line 88 of file mqtt_types.hpp.


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