X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=README.md;h=1e11da31a6159e0273ca681a79611171c24bcc14;hb=1ed68d422ea534cd715142f2a377442009dc5c2d;hp=e14e5cd96f4b68dcded24a2ca744bd46d53389a0;hpb=9d947e8731d6e2e2fd27f7fbf6cc8ba81d86ee56;p=remote-debug.git diff --git a/README.md b/README.md index e14e5cd..1e11da3 100644 --- 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