Skip to content

Commit

Permalink
Added note about PubSubClient.h
Browse files Browse the repository at this point in the history
Added note about PubSubClient.h and  MQTT_MAX_PACKET_SIZE
  • Loading branch information
SwiCago committed Jul 24, 2017
1 parent 4a0d4c6 commit f90e464
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const char* mqtt_username = "<YOUR MQTT USERNAME GOES HERE>";
const char* mqtt_password = "<YOUR MQTT PASSWORD GOES HERE>";

// mqtt client settings
// Note PubSubClient.h has a MQTT_MAX_PACKET_SIZE of 128 defined, so either raise it to 256 or use short topics
const char* client_id = "heatpump-controller-1"; // Must be unique on the MQTT network
const char* heatpump_topic = "heatpump";
const char* heatpump_set_topic = "heatpump/set";
Expand Down

0 comments on commit f90e464

Please sign in to comment.