Skip to content

Commit 90caa4c

Browse files
Adjust documentation for current state response according to concept
1 parent 615d2a7 commit 90caa4c

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

Diff for: docs/bfb.md

+16-6
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,25 @@ MQTT Topic: selfupdate/currentstate
1010
"payload": {
1111
"softwareNodes": [
1212
{
13-
"id": "os-image",
13+
"id": "self-update-agent",
14+
"version": "build-42,
15+
"name": "OTA NG Self Update Agent",
16+
"type": "APPLICATION"
17+
},
18+
{
19+
"id": "self-update:leda-deviceimage",
1420
"version": "1.0",
15-
"name": "System Image",
16-
"type": "IMAGE",
17-
"parameters": []
21+
"name": "Official Leda device image",
22+
"type": "IMAGE"
1823
}
1924
],
2025
"hardwareNodes": [],
21-
"associations": []
26+
"associations": [
27+
{
28+
"sourceId": "self-update-agent",
29+
"targetId": "self-update:leda-deviceimage"
30+
}
31+
]
2232
}
2333
}
2434
```
@@ -104,5 +114,5 @@ Following combination of payload_status and action_status are possible:
104114
|------|-------------|
105115
| activityId | Random UUID as string (needs to be taken from desiredstate message and passed back in all feedback messages) |
106116
| timestamp | Epoch time |
107-
| version | Either current version or bundle version |
117+
| version | Reflects version of SUA running on the device, OS version or bundle version |
108118
| progress | Percentage value of download/install progress |

0 commit comments

Comments
 (0)