Add Attribute

nRF Connect for Desktop

tags
nRF Connect for Desktop

You can add new attributes using the Add Attribute button. When you click this button, the edit box dialog appears.

Attributes edit window

UI element Description Required
Name A text input field for the attribute name. Yes
Side A drop-down menu for selecting server or client. Yes
Code A text input field for the attribute code. Yes
Define A text input field for the attribute definition. Yes
Type A combined text input and drop-down field for selecting the data type. Yes
Length A text input field for the attribute length. No
Min A text input field for the minimum value of the attribute. Only valid for the numeric data types. No
Max A text input field for the maximum value of the attribute. Must be higher than Min. Only valid for the numeric data types. No
Default A text input field for the default value of the attribute. Must be the same as Type. No
Api Maturity A drop-down menu for selecting the API maturity level: provisional, internal, stable, or deprecated. Arguments with no level selected are considered to be stable. No
Writable Toggle button to define the attribute as writable (toggle enabled) or read-only (toggle disabled). No
Reportable Toggle button to define the attribute as reportable (toggle enabled) or not reportable (toggle disabled). No
Is Nullable Toggle button to define whether the attribute can be null (toggle enabled) or not (toggle disabled). No
Optional Toggle button to define the attribute as mandatory (toggle disabled) or optional (toggle enabled). No
Accesses Add a new access privilege to the attribute. No