mqtt
This commit is contained in:
parent
8e25771055
commit
f4710f929d
5
ceshi.py
5
ceshi.py
|
@ -407,8 +407,9 @@ class UPLOAD:
|
||||||
run_no_client()
|
run_no_client()
|
||||||
|
|
||||||
def t1(self):
|
def t1(self):
|
||||||
run_with_client(self.client)
|
# run_with_client(self.client)
|
||||||
|
while (1):
|
||||||
|
self.client.publish('demo', 'test',qos=0)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
up = UPLOAD()
|
up = UPLOAD()
|
||||||
|
|
Loading…
Reference in New Issue