kopia lustrzana https://github.com/Yakifo/amqtt
changes in ACL sample
rodzic
cece85a75e
commit
3df8b4066e
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue