Arguments

nRF Connect for Desktop

tags
nRF Connect for Desktop

You can add new arguments by clicking the Arguments button at the bottom of the edit window. When you click this button, the arguments window appears, where you can click the + button to add new arguments to the list, like in the following image.

Window listing arguments (new argument)

You can edit the following fields of the argument entry.

UI element Description Required
Name A text input field for the command name. The name must be unique within the command. Yes
Type A combined text input and drop-down field for selecting the data type of the argument. The data type list is populated from the Matter Data Model template. Yes
Is Nullable Toggle button to define whether the argument can be null (toggle enabled) or not (toggle disabled). No
Optional Toggle button to define the argument as mandatory (toggle disabled) or optional (toggle enabled). No
Delete (bin icon) Delete the argument from the list. No