#define VENDOR_MOTECH "Motech"
+/** Driver capabilities generic. */
+static const uint32_t drvopts[] = {
+ /* Device class */
+ SR_CONF_POWER_SUPPLY,
+};
+
/** Driver scanning options. */
static const uint32_t scanopts[] = {
SR_CONF_CONN,
*data = g_variant_new_fixed_array(G_VARIANT_TYPE_UINT32,
scanopts, ARRAY_SIZE(scanopts), sizeof(uint32_t));
return SR_OK;
+ case SR_CONF_DEVICE_OPTIONS:
+ if (sdi != NULL)
+ break;
+ *data = g_variant_new_fixed_array(G_VARIANT_TYPE_UINT32,
+ drvopts, ARRAY_SIZE(drvopts), sizeof(uint32_t));
+ return SR_OK;
default:
if (sdi == NULL)
return SR_ERR_ARG;