mirror of
https://github.com/meshcore-dev/meshcore-cli.git
synced 2026-04-20 22:13:48 +00:00
Upd README
This commit is contained in:
parent
c6e0ec6733
commit
595660959d
1 changed files with 27 additions and 24 deletions
51
README.md
51
README.md
|
|
@ -24,32 +24,35 @@ Arguments mostly deals with ble connection
|
||||||
|
|
||||||
### Available Commands
|
### Available Commands
|
||||||
|
|
||||||
Commands are given after arguments, they can be chained.
|
Commands are given after arguments, they can be chained and some have shortcuts.
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
infos : print informations about the node
|
infos i : print informations about the node
|
||||||
reboot
|
reboot : reboots node
|
||||||
send <key> <msg> : sends msg to the node with pubkey starting by key
|
send <key> <msg> : sends msg to node with pubkey starting by key
|
||||||
sendto <name> <msg> : sends msg to the node with given name
|
sendto <name> <msg> : sends msg to node with given name
|
||||||
msg <name> <msg> : same as sendto
|
msg <name> <msg> m : same as sendto
|
||||||
wait_ack : wait an ack for last sent msg
|
wait_ack wa: wait an ack for last sent msg
|
||||||
recv : reads next msg
|
recv r : reads next msg
|
||||||
sync_msgs : gets all unread msgs from the node
|
sync_msgs sm: gets all unread msgs from the node
|
||||||
wait_msg : wait for a message
|
wait_msg wm: wait for a message and read it
|
||||||
advert : sends advert
|
advert a : sends advert
|
||||||
contacts : gets contact list
|
contacts lc: gets contact list
|
||||||
share_contact
|
share_contact <ct> sc: share a contact with others
|
||||||
remove_contact
|
remove_contact <ct> : removes a contact from this node
|
||||||
reset_path
|
reset_path <ct> rp: resets path to a contact to flood
|
||||||
sync_time : sync time with system
|
change_path <ct> <path> cp: change the path to a contact
|
||||||
set_time <epoch> : sets time to given epoch
|
get_time : gets current time
|
||||||
get_time : gets current time
|
set_time <epoch> : sets time to given epoch
|
||||||
set_name <name> : sets node name
|
sync_time : sync time with system
|
||||||
get_bat : gets battery level
|
set_name <name> : sets node name
|
||||||
login <name> <pwd> : log into a node (repeater) with given pwd
|
get_bat b : gets battery level
|
||||||
cmd <name> <cmd> : sends a command to a repeater
|
login <name> <pwd> l : log into a node (repeater) with given pwd
|
||||||
req_status <name> : requests status from a node
|
wait_login wl: wait for login (timeouts after 5sec)
|
||||||
sleep <secs> : sleeps for a given amount of secs
|
cmd <name> <cmd> c : sends a command to a repeater (no ack)
|
||||||
|
req_status <name> rs: requests status from a node
|
||||||
|
wait_status ws: wait and print reply
|
||||||
|
sleep <secs> s : sleeps for a given amount of secs
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue