upd readme

This commit is contained in:
Florent de Lamotte 2025-03-04 10:57:32 +01:00
parent 6a9d3bf65b
commit bdc48b7b91

View file

@ -18,7 +18,8 @@ Arguments mostly deals with ble connection
-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 <port> : use serial port <port>
-b <baudrate> : specify baudrate
</pre>
### Available Commands
@ -27,18 +28,24 @@ Commands are given after arguments, they can be chained.
<pre>
infos : print informations about the node
reboot
send &lt;key&gt; &lt;msg&gt; : sends msg to the node with pubkey starting by key
sendto &lt;name&gt; &lt;msg&gt; : sends msg to the node with given name
msg &lt;name&gt; &lt;msg&gt; : 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 &lt;epoch&gt; : sets time to given epoch
get_time : gets current time
set_name &lt;name&gt; : sets node name
get_bat : gets battery level
login &lt;name&gt; &lt;pwd&gt; : log into a node (repeater) with given pwd
cmd &lt;name&gt; &lt;cmd&gt; : sends a command to a repeater
req_status &lt;name&gt; : requests status from a node