mirror of
git://f0xx.org/android_cast
synced 2026-07-29 03:57:50 +03:00
crash handler snapshot, unverified
This commit is contained in:
17
examples/ota/mqtt-topics.md
Normal file
17
examples/ota/mqtt-topics.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# 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`
|
||||
|
||||
Example source URL in app settings:
|
||||
|
||||
- `mqtt://foxx.org:1883/v0/ota/channel/stable.json`
|
||||
@@ -0,0 +1,2 @@
|
||||
PLACEHOLDER PACKAGE
|
||||
Replace this with the real release artifact bytes.
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"schema": "v0",
|
||||
"major": 0,
|
||||
"minor": 1,
|
||||
"build": 0,
|
||||
"versionName": "0.1.0",
|
||||
"apkUrl": "https://foxx.org/v0/ota/00/00.01/00.01.00/android_cast_00.01.00.00.otapkg",
|
||||
"signUrl": "https://foxx.org/v0/ota/00/00.01/00.01.00/android_cast_00.01.00.00_sign.json",
|
||||
"sizeBytes": 10485760,
|
||||
"mandatory": false,
|
||||
"releaseNotes": "Current production baseline."
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"schema": "v0",
|
||||
"sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
PLACEHOLDER PACKAGE
|
||||
Replace this with the next OTA candidate artifact bytes.
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"schema": "v0",
|
||||
"major": 0,
|
||||
"minor": 1,
|
||||
"build": 1,
|
||||
"versionName": "0.1.1",
|
||||
"apkUrl": "https://foxx.org/v0/ota/00/00.01/00.01.01/android_cast_00.01.01.01.otapkg",
|
||||
"signUrl": "https://foxx.org/v0/ota/00/00.01/00.01.01/android_cast_00.01.01.01_sign.json",
|
||||
"sizeBytes": 11534336,
|
||||
"mandatory": false,
|
||||
"releaseNotes": "Next OTA candidate with service-based updater."
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"schema": "v0",
|
||||
"sha256": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
|
||||
}
|
||||
4
examples/ota/v0/ota/channel/current.json
Normal file
4
examples/ota/v0/ota/channel/current.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"schema": "v0",
|
||||
"manifestUrl": "https://foxx.org/v0/ota/00/00.01/00.01.00/android_cast_00.01.00.00_manifest.json"
|
||||
}
|
||||
4
examples/ota/v0/ota/channel/next.json
Normal file
4
examples/ota/v0/ota/channel/next.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"schema": "v0",
|
||||
"manifestUrl": "https://foxx.org/v0/ota/00/00.01/00.01.01/android_cast_00.01.01.01_manifest.json"
|
||||
}
|
||||
4
examples/ota/v0/ota/channel/stable.json
Normal file
4
examples/ota/v0/ota/channel/stable.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"schema": "v0",
|
||||
"manifestUrl": "https://foxx.org/v0/ota/00/00.01/00.01.01/android_cast_00.01.01.01_manifest.json"
|
||||
}
|
||||
Reference in New Issue
Block a user