From a780434d87a35f07555400f90ee559cc6745d195 Mon Sep 17 00:00:00 2001 From: Florent Date: Mon, 3 Mar 2025 20:25:03 +0100 Subject: [PATCH] Illustration for remote mgmt --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 1c53644..735adc3 100644 --- a/README.md +++ b/README.md @@ -108,5 +108,21 @@ $ ./mccli.py -a F0:F5:BD:4F:9B:AD recv Connexion started {'type': 'PRIV', 'pubkey_prefix': 'd6e43f8e9ef2', 'path_len': 255, 'txt_type': 0, 'sender_timestamp': 1738670421, 'text': 'hi'} cmd ['recv'] processed ... + +# logs into a repeater (HomeRep) and check time +$ ./mccli.py -d t1000 login HomeRep password +Scanning for devices +Found device : FB:F2:5C:40:4F:77: MeshCore-t1000 +Connexion started +{'type': 0, 'expected_ack': b'\x82yU\x02', 'suggested_timeout': 4446} +cmd ['login', 'HomeRep', 'password'] processed ... + +$ ./mccli.py cmd HomeRep clock wait_msg +Connexion started +{'type': 0, 'expected_ack': b'\x00\x00\x00\x00', 'suggested_timeout': 2724} +cmd ['cmd', 'HomeRep', 'clock'] processed ... +Msgs are waiting +{'type': 'PRIV', 'pubkey_prefix': '827955027cad', 'path_len': 255, 'txt_type': 1, 'sender_timestamp': 1741030036, 'text': '19:27 - 3/3/2025 UTC'} +cmd ['wait_msg'] processed ...