Skip to content

Commit df1bb7f

Browse files
mfalkviddhenrikekblad
authored andcommitted
Add Doxygen for MQTT_USER and MQTT_PASSWORD (#1105)
This fixes #1088
1 parent f2d9f72 commit df1bb7f

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

MyConfig.h

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1382,6 +1382,26 @@
13821382
*/
13831383
//#define MY_MQTT_CLIENT_PUBLISH_RETAIN
13841384

1385+
/**
1386+
* @def MY_MQTT_PASSWORD
1387+
* @brief Used for authenticated MQTT connections.
1388+
*
1389+
* Set if your MQTT broker requires username/password.
1390+
* Example: @code #define MY_MQTT_PASSWORD "secretpassword" @endcode
1391+
* @see MY_MQTT_USER
1392+
*/
1393+
//#define MY_MQTT_PASSWORD "secretpassword"
1394+
1395+
/**
1396+
* @def MY_MQTT_USER
1397+
* @brief Used for authenticated MQTT connections.
1398+
*
1399+
* Set if your MQTT broker requires username/password.
1400+
* Example: @code #define MY_MQTT_USER "username" @endcode
1401+
* @see MY_MQTT_PASSWORD
1402+
*/
1403+
//#define MY_MQTT_USER "username"
1404+
13851405
/**
13861406
* @def MY_IP_ADDRESS
13871407
* @brief Static ip address of gateway (if this is not defined, DHCP will be used).
@@ -2053,6 +2073,8 @@
20532073
#define MY_REPEATER_FEATURE
20542074
#define MY_PASSIVE_NODE
20552075
#define MY_MQTT_CLIENT_PUBLISH_RETAIN
2076+
#define MY_MQTT_PASSWORD
2077+
#define MY_MQTT_USER
20562078
#define MY_SIGNAL_REPORT_ENABLED
20572079
// general
20582080
#define MY_WITH_LEDS_BLINKING_INVERSE

keywords.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,10 @@ MY_GATEWAY_W5100 LITERAL1
243243
MY_INCLUSION_BUTTON_EXTERNAL_PULLUP LITERAL1
244244
MY_MQTT_CLIENT_ID LITERAL1
245245
MY_MQTT_CLIENT_PUBLISH_RETAIN LITERAL1
246+
MY_MQTT_PASSWORD LITERAL1
246247
MY_MQTT_PUBLISH_TOPIC_PREFIX LITERAL1
247248
MY_MQTT_SUBSCRIBE_TOPIC_PREFIX LITERAL1
249+
MY_MQTT_USER LITERAL1
248250
MY_W5100_SPI_EN LITERAL1
249251

250252
# Ethernet

0 commit comments

Comments
 (0)