mirror of
https://github.com/mikecarper/MeshCore.git
synced 2026-09-08 07:13:46 +00:00
Add secure host CLI bridge and harden OTA workflows
Expose the Full Companion terminal over TCP and add an authenticated, replay-resistant host command service with documented CPU temperature, reboot, and allowlisted program examples.\n\nImprove LoRa OTA diagnostics and persistent CLI handling, reduce clock correction drift to ten minutes, and make mOTA stream flush behavior an explicit transport policy with regression coverage.
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"programs": {
|
||||
"fan": {
|
||||
"argv": [
|
||||
"/usr/local/bin/mesh-fan-control",
|
||||
"--source",
|
||||
"lora"
|
||||
],
|
||||
"timeout_seconds": 3,
|
||||
"arguments": [
|
||||
{
|
||||
"name": "state",
|
||||
"type": "choice",
|
||||
"choices": [
|
||||
"on",
|
||||
"off"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "minutes",
|
||||
"type": "integer",
|
||||
"min": 1,
|
||||
"max": 60
|
||||
}
|
||||
]
|
||||
},
|
||||
"label-status": {
|
||||
"argv": [
|
||||
"/usr/local/bin/mesh-label-status"
|
||||
],
|
||||
"timeout_seconds": 3,
|
||||
"arguments": [
|
||||
{
|
||||
"name": "label",
|
||||
"type": "token",
|
||||
"max_bytes": 24
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user