Updatables¶
The Updatables
element can be used to add Updatables, which can be used to store a large amount of data.
This data can be read or written as a whole via the API.
Updatables can be read-only “R” or writable “W” from the PMP interface.
When writing a file via the PMP interface, the file content is replaced atomically when all data has been downloaded.
The MaxSize
of updatables must be a multiple of 8 Bytes.
Example¶
1 2 3 4 5 6 7 8 | Updatables:
- Name: "myReadOnlyUpdatable"
Access: "R"
MaxSize: 256
- Name: "myWritableUpdatable"
Access: "W"
MaxSize: 512
|
YAML schema¶
1 | Updatables: list(include('Updatable'), required=False)
|
1 2 3 4 | Updatable:
Name: name()
Access: Enum("R", "W", required=True)
MaxSize: int(required=True)
|
Attribute |
Required |
Description |
---|---|---|
|
Yes |
The name of the updatable. Should comply with the Naming conventions. |
|
Yes |
Readable “R” or writable “W” from the PMP interface. |
|
Yes |
The maximum size of the updatable in Bytes. Must be a multiple of 8 Bytes. |