diff --git a/README.md b/README.md index 692ec21..1c53644 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,11 @@ $ mccli.py <args> <commands> Arguments mostly deals with ble connection
- -h : prints this help
- -a <address> : specifies device address
+ -h : prints this help
+ -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
@@ -23,17 +26,22 @@ Arguments mostly deals with ble connection
Commands are given after arguments, they can be chained.
- 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
sendto <name> <msg> : sends msg to the node with given name
+ 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
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
+ 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