Skip to content

Commit d2b2980

Browse files
committed
Rename TLSClientMqtt to TLSClientBroker
1 parent 9bec493 commit d2b2980

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

Diff for: src/ArduinoIoTCloudTCP.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
#endif
3737
#endif
3838

39-
#include <tls/utility/TLSClientMqtt.h>
39+
#include <tls/utility/TLSClientBroker.h>
4040
#include <tls/utility/TLSClientOta.h>
4141

4242
#if OTA_ENABLED
@@ -138,7 +138,7 @@ class ArduinoIoTCloudTCP: public ArduinoIoTCloudClass
138138
#endif
139139
#endif
140140

141-
TLSClientMqtt _brokerTLSClient;
141+
TLSClientBroker _brokerTLSClient;
142142
MqttClient _mqttClient;
143143

144144
String _messageTopicOut;

Diff for: src/tls/utility/TLSClientMqtt.cpp renamed to src/tls/utility/TLSClientBroker.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
#ifdef HAS_TCP
1414

15-
#include "TLSClientMqtt.h"
15+
#include "TLSClientBroker.h"
1616

1717
#if defined(BOARD_HAS_SECRET_KEY)
1818
#include "tls/AIoTCUPCert.h"
@@ -33,7 +33,7 @@
3333
}
3434
#endif
3535

36-
void TLSClientMqtt::begin(ConnectionHandler & connection) {
36+
void TLSClientBroker::begin(ConnectionHandler & connection) {
3737

3838
#if defined(BOARD_HAS_OFFLOADED_ECCX08)
3939
/* Arduino Root CA is configured in nina-fw

Diff for: src/tls/utility/TLSClientMqtt.h renamed to src/tls/utility/TLSClientBroker.h

+7-7
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* Arduino NANO 33 IoT - WiFi
2020
*/
2121
#include "WiFiSSLClient.h"
22-
class TLSClientMqtt : public WiFiBearSSLClient {
22+
class TLSClientBroker : public WiFiBearSSLClient {
2323
#elif defined(BOARD_HAS_ECCX08)
2424
/*
2525
* Arduino MKR GSM 1400
@@ -29,38 +29,38 @@
2929
* OPTA
3030
*/
3131
#include <tls/BearSSLClient.h>
32-
class TLSClientMqtt : public BearSSLClient {
32+
class TLSClientBroker : public BearSSLClient {
3333
#elif defined(ARDUINO_PORTENTA_C33)
3434
/*
3535
* Arduino Portenta C33
3636
*/
3737
#include <SSLClient.h>
38-
class TLSClientMqtt : public SSLClient {
38+
class TLSClientBroker : public SSLClient {
3939
#elif defined(ARDUINO_NICLA_VISION)
4040
/*
4141
* Arduino Nicla Vision
4242
*/
4343
#include <WiFiSSLSE050Client.h>
44-
class TLSClientMqtt : public WiFiSSLSE050Client {
44+
class TLSClientBroker : public WiFiSSLSE050Client {
4545
#elif defined(ARDUINO_EDGE_CONTROL)
4646
/*
4747
* Arduino Edge Control
4848
*/
4949
#include <GSMSSLClient.h>
50-
class TLSClientMqtt : public GSMSSLClient {
50+
class TLSClientBroker : public GSMSSLClient {
5151
#elif defined(ARDUINO_UNOR4_WIFI)
5252
/*
5353
* Arduino UNO R4 WiFi
5454
*/
5555
#include <WiFiSSLClient.h>
56-
class TLSClientMqtt : public WiFiSSLClient {
56+
class TLSClientBroker : public WiFiSSLClient {
5757
#elif defined(BOARD_ESP)
5858
/*
5959
* ESP32*
6060
* ESP82*
6161
*/
6262
#include <WiFiClientSecure.h>
63-
class TLSClientMqtt : public WiFiClientSecure {
63+
class TLSClientBroker : public WiFiClientSecure {
6464
#endif
6565

6666
public:

0 commit comments

Comments
 (0)