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

Schema for Updatables
1
Updatables: list(include('Updatable'), required=False)
Schema for Updatables
1
2
3
4
Updatable:
  Name: name()
  Access: Enum("R", "W", required=True)
  MaxSize: int(required=True)
Updatable attributes

Attribute

Required

Description

Name

Yes

The name of the updatable. Should comply with the Naming conventions.

Access

Yes

Readable “R” or writable “W” from the PMP interface.

MaxSize

Yes

The maximum size of the updatable in Bytes. Must be a multiple of 8 Bytes.