Skip to content

Commit

Permalink
Use MQTT port 8883 for TLS connections
Browse files Browse the repository at this point in the history
  • Loading branch information
remuslazar committed Aug 8, 2023
1 parent 67ccce9 commit d66b712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firmware/src/mqtt-service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ void MQTTServiceClass::begin() {
// Set the ECCX08 slot to use for the private key
// and the accompanying public certificate for it
sslClient.setEccSlot(0, certificate);
mqttClient.begin(broker, sslClient);
mqttClient.begin(broker, 8883, sslClient);

#elif defined(ESP8266)
loadSSLConfiguration();
Expand Down

0 comments on commit d66b712

Please sign in to comment.