Doxygen with github
Loading...
Searching...
No Matches
ksMqttConfigProvider.h
1/*
2 * Copyright (c) 2021-2023, Krzysztof Strehlau
3 *
4 * This file is a part of the ksIotFramework library.
5 * All licensing information can be found inside LICENSE.md file.
6 *
7 * https://github.com/cziter15/ksIotFrameworkLib/blob/master/LICENSE
8 */
9
10#pragma once
11
12#include "ksConfigProvider.h"
13namespace ksf::comps
14{
15 class ksMqttConnector;
23 {
24 KSF_RTTI_DECLARATIONS(ksMqttConfigProvider, ksConfigProvider)
25
26 public:
33 void readParams() override;
34
40 void saveParams() override;
41
46 void setupMqttConnector(ksMqttConnector& connector);
47 };
48}
A component that provides a set of parameters to the ksWifiConfigurator and is also responsible for h...
Definition ksConfigProvider.h:62
A component that manages MQTT-related configuration.
Definition ksMqttConfigProvider.h:23
void saveParams() override
Saves MQTT aprameters into the configuration file.
Definition ksMqttConfigProvider.cpp:94
void setupMqttConnector(ksMqttConnector &connector)
Setup MQTT connector with captured parameters.
Definition ksMqttConfigProvider.cpp:47
void readParams() override
Retrieves MQTT parameters.
Definition ksMqttConfigProvider.cpp:81
A component which is responsible for MQTT connection management.
Definition ksMqttConnector.h:45