Skip to content

Device Command Mappings

Device command mappings allow you to assign a list of key-value pairs for string and bool types. If an operation matches one of the defined keys after transformation and conversion to a string value, the result is replaced with the specified value.

Note

Any mappings must be correctly handled by northbound users.

You can add, edit or delete device command mappings from the Device Command page of the Device profile wizard, which is available when adding or editing device profiles.

Add Device Command Mappings

To add device command mappings, complete the following steps:

  1. Follow the steps in Add Device Profile or Edit Device Profile until you can edit mappings on the Device Command pane of the Device Profile wizard.
  2. Select the ADD MAPPING button for that command

    Add device mappings button

  3. Select the Add (+) button
  4. Enter a name for the setting in the Name column
  5. Enter the value of the setting in the Value column
  6. Select the tick to save the mapping or the cross to cancel the mapping
  7. Repeat steps 3 to 6 for each mapping you want to add to the current device resource, or steps 2 to 6 to add mappings for multiple device resources
  8. Select the SAVE button to save all the mappings and return to the Device Profile wizard. Selecting the CANCEL

Edit Device Command Mappings

To edit device command mappings, complete the following steps:

  1. Follow the steps in Add Device Profile or Edit Device Profile until you can add or edit mappings on the Device Command pane of the Device Profile wizard.
  2. Select the Edit icon beside the resource with the mapping that you want to edit.

    The Device Command dialog displays, as illustrated below:

    Edit mappings button

  3. Select the Edit icon beside the mapping that you want to edit.

    Edit mappings button

    The mapping becomes avaialble for editing.
  4. Update the name for the setting in the Name column
  5. Update the value of the setting in the Value column
  6. Select the tick to save the mapping or the cross to cancel the mapping.
  7. Repeat steps 3 to 5 for each mapping you want to edit
  8. Select the SAVE button to save all the mappings and return to the Device Profile wizard. Selecting the CANCEL button returns you to the Device Profile wizard without saving the mappings.

Delete Device Command Mappings

There are two ways to delete device command mappings: - Delete a single device mappings - Delete the entire mapping table

Delete a Single Device Mapping

To delete a single device command mapping, complete the following steps:

  1. Follow the steps in Add Device Profile or Edit Device Profile until you can add or edit mappings on the Device Command pane of the Device Profile wizard.
  2. Select the Delete icon beside the mapping that you want to delete.

    Delete mappings button

    A confirmation message displays, as illustrated below:

    Edit mappings button

  3. Select the tick to delete the mapping or the cross to cancel the deletion.
  4. Repeat steps 2 and 3 for each mapping that you want to delete
  5. Select the SAVE button to save all the mappings and return to the Device Profile wizard. Selecting the CANCEL button returns you to the Device Profile wizard without saving the mappings.

Delete the Entire Mapping table

To delete the entire mapping table, complete the following steps:

  1. Follow the steps in Add Device Profile or Edit Device Profile until you can add or edit mappings on the Device Command pane of the Device Profile wizard.
  2. Select the X at the top of the mapping table to delete all the mappings.

    Delete all mappings button

    A confirmation message displays, as illustrated below:

    Delete all mappings confirmation

  3. Select the DELETE button to delete all the mappings in the mapping table and return to the Device Profile wizard. Selecting the CANCEL button returns you to the Device command pane without deleting the mappings.