Commit aa0b84

2026-05-01 00:28:18 David Marsh: -/-
/dev/null .. meshcore/meshcore-cli/examples.md
@@ 0,0 1,65 @@
+ # MeshCore CLI Examples
+
+ ## Change PASSWD to your password
+ 3. changes your serial node to new settings
+ 4. connect to the node again and get status
+ 5. sync clock
+ 6. show neighbours
+
+ ```
+ $ meshcli -s /dev/meshcore0 login "🦷 Quakers Hill Wold" PASSWD
+ ```
+ ## 2. Uses tempradio to change settings for 120 mins
+
+ `wmt8` means wait for a msg (reply) with a timeout (I'm not 100% sure about this)
+
+ ```
+ $ meshcli -s /dev/meshcore0 cmd "🦷 Quakers Hill Wold" "tempradio 915.075,125,9,5,120" wmt8
+ INFO:meshcore:Serial Connection started
+ INFO:meshcore:Connected to 🦷 rdm cli 0 running on a v1.15.0-dee3e26 fw.
+ 🦷 Quakers Hill Corb (D): OK - temp params for 120 mins
+ ```
+
+ $ meshcli -s /dev/meshcore0 set radio 915.075,125,9,5
+
+ $ meshcli -s /dev/meshcore0 req_status "🦷 Quakers Hill Wold"
+ INFO:meshcore:Serial Connection started
+ INFO:meshcore:Connected to 🦷 rdm cli 0 running on a v1.15.0-dee3e26 fw.
+ {
+ "pubkey_pre": "2fd9c7bbc93d",
+ "bat": 4034,
+ "tx_queue_len": 0,
+ "noise_floor": -114,
+ "last_rssi": -28,
+ "nb_recv": 17184,
+ "nb_sent": 5826,
+ "airtime": 4060,
+ "uptime": 174402,
+ "sent_flood": 4147,
+ "sent_direct": 1679,
+ "recv_flood": 11514,
+ "recv_direct": 5669,
+ "full_evts": 0,
+ "last_snr": 11.5,
+ "direct_dups": 21,
+ "flood_dups": 7367,
+ "rx_airtime": 11335
+ }
+
+ $ meshcli -s /dev/meshcore0 cmd "🦷 Quakers Hill Wold" "clock sync" wmt8
+ INFO:meshcore:Serial Connection started
+ INFO:meshcore:Connected to 🦷 rdm cli 0 running on a v1.15.0-dee3e26 fw.
+ 🦷 Quakers Hill Wold (D): ERR: clock cannot go backwards
+
+ $ meshcli -s /dev/meshcore0 req_neighbours "🦷 Quakers Hill Wold"
+ INFO:meshcore:Serial Connection started
+ INFO:meshcore:Connected to 🦷 rdm cli 0 running on a v1.15.0-dee3e26 fw.
+ Got 7 neighbours out of 7 from 🦷 Quakers Hill Wold:
+ [e2601d59] 🦷 Quakers Hill Co 46m ago (2796s), 2.25dB SNR
+ [2236b543] ✝️ Lapstone 1h ago (3716s), -7.0dB SNR
+ [62c6ba72] 👾 Quakers Hill 1h ago (4330s), 4.0dB SNR
+ [4d0385b9] 🦷 Acacia Gardens 8h ago (29247s), -4.0dB SNR
+ [64beefb0] 🐄 Hawkesbury Hts 12h ago (44051s), -15.0dB SNR
+ [4aaaaaa5] 🏴‍☠️Faulco 1d ago (91020s), -8.5dB SNR
+ [3cf07663] 🦷 QH Paterson 1d ago (99596s), -10.75dB SNR
+ ```
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9