Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions MyConfig.h
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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