Skip to content

Commit

Permalink
Update MQTT.md
Browse files Browse the repository at this point in the history
  • Loading branch information
barbudor authored Sep 6, 2023
1 parent 08a8661 commit cbc311e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/MQTT.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,12 @@ To use it you must [compile your build](Compile-your-build). Add the following t
#define SUPPORT_MQTT_EVENT
#endif
```
To increase the maximum MQTT message size that Tasmota is willing to process, increase the following constant by setting it in `user_config_override.h`:
To default maximum MQTT message size that Tasmota can process is 256 bytes. You can increase it by redefining the following constant in `user_config_override.h`:
```
#define RULE_MAX_MQTT_EVENTSZ 256
#ifdef RULE_MAX_MQTT_EVENTSZ
#undef RULE_MAX_MQTT_EVENTSZ
#endif
#define RULE_MAX_MQTT_EVENTSZ 512
```

### Subscribe
Expand Down

0 comments on commit cbc311e

Please sign in to comment.