changes in ACL sample

pull/8/head
Román Cárdenas 2019-01-05 19:52:54 +01:00
rodzic cece85a75e
commit 3df8b4066e
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -17,8 +17,8 @@ logger = logging.getLogger(__name__)
@asyncio.coroutine
def uptime_coro():
C = MQTTClient()
# yield from C.connect('mqtt://test:test@0.0.0.0:1883')
yield from C.connect('mqtt://0.0.0.0:1883')
yield from C.connect('mqtt://test:test@0.0.0.0:1883')
# yield from C.connect('mqtt://0.0.0.0:1883')
# Subscribe to '$SYS/broker/uptime' with QOS=1
yield from C.subscribe([
('data/memes', QOS_1), # Topic allowed