Skip to content

Commit f21947a

Browse files
committed
Update README example code.
1 parent 30b68d4 commit f21947a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ Below is an example of a simple client that publishes some sample data and recei
5252
client = cayenne.client.CayenneMQTTClient()
5353
client.on_message = on_message
5454
client.begin(MQTT_USERNAME, MQTT_PASSWORD, MQTT_CLIENT_ID)
55+
# For a secure connection use port 8883 when calling client.begin:
56+
# client.begin(MQTT_USERNAME, MQTT_PASSWORD, MQTT_CLIENT_ID, port=8883)
5557

5658
i=0
5759
timestamp = 0

0 commit comments

Comments
 (0)