Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add Doxygen for MQTT_USER and MQTT_PASSWORD
This fixes
mysensors#1088
  • Loading branch information
mfalkvidd committed Apr 9, 2018
1 parent eaf1b94 commit 35ada9a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
22 changes: 22 additions & 0 deletions MyConfig.h
Expand Up @@ -1382,6 +1382,26 @@
*/
//#define MY_MQTT_CLIENT_PUBLISH_RETAIN

/**
* @def MY_MQTT_PASSWORD
* @brief Used for authenticated MQTT connections.
*
* Set if your MQTT broker requires username/password.
* Example: @code #define MY_MQTT_PASSWORD "secretpassword" @endcode
* @see MY_MQTT_USER
*/
//#define MY_MQTT_PASSWORD "secretpassword"

/**
* @def MY_MQTT_USER
* @brief Used for authenticated MQTT connections.
*
* Set if your MQTT broker requires username/password.
* Example: @code #define MY_MQTT_USER "username" @endcode
* @see MY_MQTT_PASSWORD
*/
//#define MY_MQTT_USER "username"

/**
* @def MY_IP_ADDRESS
* @brief Static ip address of gateway (if this is not defined, DHCP will be used).
Expand Down Expand Up @@ -2053,6 +2073,8 @@
#define MY_REPEATER_FEATURE
#define MY_PASSIVE_NODE
#define MY_MQTT_CLIENT_PUBLISH_RETAIN
#define MY_MQTT_PASSWORD
#define MY_MQTT_USER
#define MY_SIGNAL_REPORT_ENABLED
// general
#define MY_WITH_LEDS_BLINKING_INVERSE
Expand Down
2 changes: 2 additions & 0 deletions keywords.txt
Expand Up @@ -237,8 +237,10 @@ MY_GATEWAY_W5100 LITERAL1
MY_INCLUSION_BUTTON_EXTERNAL_PULLUP LITERAL1
MY_MQTT_CLIENT_ID LITERAL1
MY_MQTT_CLIENT_PUBLISH_RETAIN LITERAL1
MY_MQTT_PASSWORD LITERAL1
MY_MQTT_PUBLISH_TOPIC_PREFIX LITERAL1
MY_MQTT_SUBSCRIBE_TOPIC_PREFIX LITERAL1
MY_MQTT_USER LITERAL1
MY_W5100_SPI_EN LITERAL1

# Ethernet
Expand Down

0 comments on commit 35ada9a

Please sign in to comment.