Custom capabilities for a driver

Yes, you need to create the custom capability through the API to be able to use it in your driver.
Here’s more info about how to create them, display types, etc.

Once you created your custom capability, you need to:

  • Add them to your driver profile
    • As the device profile is created automatically, it also creates a device-config including these capabilities.
  • Refer to those capabilities in the driver. To do so, you need to add a JSON file of its definition and then, construct it like explained here:
    [ST Edge] - Custom Capabilities Issue - #11 by Zach_Varberg

There’s no documentation regarding the support of custom capabilities in Edge Drivers yet but I suggest you stay tuned on the documentation release notes:

2 Likes