diff --git a/README.md b/README.md index d5231c4..142be89 100644 --- a/README.md +++ b/README.md @@ -24,32 +24,35 @@ Arguments mostly deals with ble connection ### Available Commands -Commands are given after arguments, they can be chained. +Commands are given after arguments, they can be chained and some have shortcuts.
- infos : print informations about the node - reboot - send <key> <msg> : sends msg to the node with pubkey starting by key - sendto <name> <msg> : sends msg to the node with given name - msg <name> <msg> : same as sendto - wait_ack : wait an ack for last sent msg - recv : reads next msg - sync_msgs : gets all unread msgs from the node - wait_msg : wait for a message - advert : sends advert - contacts : gets contact list - share_contact - remove_contact - reset_path - sync_time : sync time with system - set_time <epoch> : sets time to given epoch - get_time : gets current time - set_name <name> : sets node name - get_bat : gets battery level - 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 + infos i : print informations about the node + reboot : reboots node + send <key> <msg> : sends msg to node with pubkey starting by key + sendto <name> <msg> : sends msg to node with given name + msg <name> <msg> m : same as sendto + wait_ack wa: wait an ack for last sent msg + recv r : reads next msg + sync_msgs sm: gets all unread msgs from the node + wait_msg wm: wait for a message and read it + advert a : sends advert + contacts lc: gets contact list + share_contact <ct> sc: share a contact with others + remove_contact <ct> : removes a contact from this node + reset_path <ct> rp: resets path to a contact to flood + change_path <ct> <path> cp: change the path to a contact + get_time : gets current time + set_time <epoch> : sets time to given epoch + sync_time : sync time with system + set_name <name> : sets node name + get_bat b : gets battery level + login <name> <pwd> l : log into a node (repeater) with given pwd + wait_login wl: wait for login (timeouts after 5sec) + 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### Examples