1
0
mirror of git://f0xx.org/ac/ac-ms-ota synced 2026-07-29 04:18:53 +03:00
This commit is contained in:
Anton Afanasyeu
2026-06-23 12:29:34 +02:00
commit 05961c3eb1
12 changed files with 83 additions and 0 deletions

20
ota/mqtt-topics.md Normal file
View File

@@ -0,0 +1,20 @@
# MQTT OTA topics (retained payloads)
Publish retained payloads for these topics:
- `v0/ota/channel/stable.json` -> content of `examples/ota/v0/ota/channel/stable.json`
- `v0/ota/channel/current.json` -> content of `examples/ota/v0/ota/channel/current.json`
- `v0/ota/channel/next.json` -> content of `examples/ota/v0/ota/channel/next.json`
- `v0/ota/00/00.01/00.01.00/android_cast_00.01.00.00_manifest.json`
- `v0/ota/00/00.01/00.01.00/android_cast_00.01.00.00_sign.json`
- `v0/ota/00/00.01/00.01.00/android_cast_00.01.00.00.otapkg`
- `v0/ota/00/00.01/00.01.01/android_cast_00.01.01.01_manifest.json`
- `v0/ota/00/00.01/00.01.01/android_cast_00.01.01.01_sign.json`
- `v0/ota/00/00.01/00.01.01/android_cast_00.01.01.01.otapkg`
HTTP mirrors may also host `*.otabundle.zip` (manifest + sign + `package.apk` in one STORED zip).
The app uses **per-artifact MQTT topics only** — it does not download bundles over MQTT.
Example source URL in app settings:
- `mqtt://foxx.org:1883/v0/ota/channel/stable.json`