mirror of
https://github.com/meshcore-dev/meshcore-cli.git
synced 2026-04-20 22:13:48 +00:00
upd README.md
This commit is contained in:
parent
57355d446f
commit
37affcf640
1 changed files with 11 additions and 3 deletions
14
README.md
14
README.md
|
|
@ -13,8 +13,11 @@ $ mccli.py <args> <commands>
|
||||||
Arguments mostly deals with ble connection
|
Arguments mostly deals with ble connection
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
-h : prints this help
|
-h : prints this help
|
||||||
-a <address> : specifies device address
|
-a <address> : specifies device address (can be a name)
|
||||||
|
-d <name> : filter meshcore devices with name or address
|
||||||
|
-t <hostname> : connects via tcp/ip
|
||||||
|
-p <port> : specifies tcp port (default 5000)
|
||||||
-s : forces ble scan for a MeshCore device
|
-s : forces ble scan for a MeshCore device
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
|
@ -23,17 +26,22 @@ Arguments mostly deals with ble connection
|
||||||
Commands are given after arguments, they can be chained.
|
Commands are given after arguments, they can be chained.
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
infos : print informations a²²bout the node
|
infos : print informations about the node
|
||||||
send <key> <msg> : sends msg to the node with pubkey starting by key
|
send <key> <msg> : sends msg to the node with pubkey starting by key
|
||||||
sendto <name> <msg> : sends msg to the node with given name
|
sendto <name> <msg> : sends msg to the node with given name
|
||||||
|
wait_ack : wait an ack for last sent msg
|
||||||
recv : reads next msg
|
recv : reads next msg
|
||||||
sync_msgs : gets all unread msgs from the node
|
sync_msgs : gets all unread msgs from the node
|
||||||
|
wait_msg : wait for a message
|
||||||
advert : sends advert
|
advert : sends advert
|
||||||
contacts : gets contact list
|
contacts : gets contact list
|
||||||
sync_time : sync time with system
|
sync_time : sync time with system
|
||||||
set_time <epoch> : sets time to given epoch
|
set_time <epoch> : sets time to given epoch
|
||||||
get_time : gets current time
|
get_time : gets current time
|
||||||
set_name <name> : sets node name
|
set_name <name> : sets node name
|
||||||
|
login <name> <pwd> : log into a node (repeater) with given pwd
|
||||||
|
cmd <name> <cmd> : sends a command to a repeater
|
||||||
|
req_status <name> : requests status from a node
|
||||||
sleep <secs> : sleeps for a given amount of secs
|
sleep <secs> : sleeps for a given amount of secs
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue