Use the supported interface Arrays to check for feature compatibility (instead of checking for the remote device type)
Open, LowPublic

Description

Use the supported interface arrays, extracted from the ID packet of the remote device and stored inside Device objects, to determine whether a specific Plugin/functionality is available instead of checking for device types (which is basically an assumption at best).

lucaswzx created this task.Jan 2 2022, 6:24 AM
lucaswzx renamed this task from Use the supported interface Arrays to check for feature compatibility (instead of checking for the remote device type,) to Use the supported interface Arrays to check for feature compatibility (instead of checking for the remote device type).
lucaswzx triaged this task as Normal priority.Jan 2 2022, 6:56 AM
lucaswzx lowered the priority of this task from Normal to Low.

Device.reloadPlugins does use _incomingCapabilities to add supported plugins, could you please elaborate on the specific parts in which device type is used instead?

And it's probably better to check for enabled plugins instead of raw capabilities