Add Command

nRF Connect for Desktop

tags
nRF Connect for Desktop

When you click the Add Command button, the edit box dialog appears.

Command edit window

UI element Description Required
Name A text input field for the command name. Yes
Code A text input field for the command code. Yes
Source Source of the command, either server or client. Yes
Response Name of the command that is a response to the current command. Leave empty if no response is required. No
Optional Toggle button to define the command as mandatory (toggle disabled) or optional (toggle enabled). No
Disable Default Response Toggle button to disable the default response (toggle enabled) or have it enabled (toggle disabled). The setting is not taken into account if the Response field is empty. No
Description A text input area for an optional command description. No
Arguments Add a new argument to the command. No
Accesses Add a new access privilege to the command. No