projects
/
remote-debug.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bug of known host
[remote-debug.git]
/
mqtt-client.py
diff --git
a/mqtt-client.py
b/mqtt-client.py
index
59eff28
..
8a053d0
100644
(file)
--- a/
mqtt-client.py
+++ b/
mqtt-client.py
@@
-23,7
+23,7
@@
if __name__ == '__main__':
if msg.topic == id + '-response':
port = msg.payload
print 'port is', str(port)
if msg.topic == id + '-response':
port = msg.payload
print 'port is', str(port)
- print 'run ssh
user
@autossh.suanzi.ai -p ' + str(port) + ' to connect to ' + id + ' device'
+ print 'run ssh
debug
@autossh.suanzi.ai -p ' + str(port) + ' to connect to ' + id + ' device'
client = mqtt.Client()
client.on_connect = on_connect
client = mqtt.Client()
client.on_connect = on_connect