Skip to content

Commit 5aa6617

Browse files
committed
add mqtt port
1 parent f96c1da commit 5aa6617

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

12.network/server_mqtt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
from umqtt.robust import MQTTClient
1010

1111
try:
12-
13-
c = MQTTClient(client_id, server_ip)
12+
# see https://github.com/micropython/micropython-lib/blob/master/umqtt.simple/umqtt/simple.py
13+
c = MQTTClient(client_id, server_ip, 1883)
1414
c.DEBUG = True
1515

1616
def sub_cb(topic, msg):

0 commit comments

Comments
 (0)