Add more info in the response, correct readme
[remote-debug.git] / README.md
index e14e5cd..1e11da3 100644 (file)
--- a/README.md
+++ b/README.md
@@ -7,6 +7,9 @@
     - run `./add-user.sh` to create a user, used for remote ssh, named debug, and its password is suanzikeji 
     - run `./install.sh` to install the daemon and service file
 
+- On local machine
+    - run `pip install paho-mqtt`
+
 ## Usage
 
 ### list all connected device
@@ -31,6 +34,21 @@ timeout
 
 The output
 
+
+```
+debian@[~/project/remote-ssh]>> ./sztool list                                                                                                                                                                                  
+Mac:  080027a6f8dc
+
+Found 3 connected devices:
+Connected with result code 0
+
+ Device ID              Data
+------------------------------
+00044b8d6310            OK
+502b73d42c31            OK
+b0f1ec7a62ce            OK
+```
+
 ```
 debian@[~/project/remote-ssh]>> ./sztool connect 2acdeb93b285                                                                                                                                                                 
 Mac:  080027a6f8dc