CHAI SDK
Version 1.3
|
A sheer amount of information accompanies Devices. Much of it can be used for filtering during device search via enumeration.
Device Capabilities is a bit-field whose values are defined in the CPNS::Enums::DeviceCapabilities enum. It can be easily manipulated using CPNS::CombinedDeviceCapabilities.
This bit-field exposes basic information about a device and can be used as filtering flags during device enumeration.
Most Device Capabilities are automatically set by the CHAI according to the type of local device created and the notification handlers registered.
Information available:
Extended Device Capabilities is a bit-field whose values are defined in the CPNS::Enums::ExtendedDeviceCapabilities enum. It can be easily manipulated using CPNS::CombinedExtendedDeviceCapabilities.
It is possible to specify additional capabilities telling more about the device. However, the Extended Device Capabilities cannot be used as filtering key during enumeration.
Extended device capabilities are set during device creation and can be modified later using CPNS::IBaseLocalDevice::SetExtendedDevCaps. Those values can be used to flag the device as part of one or more usage categories (such as Performance for music instruments or other equipment used by performers, Sound Production for everything related to mixing, sound processing, etc.)
It can be also used to specify that the device is an embedded system, that is supports flow control or some generic changes (name, duplicate info, groups)...
A Device also exposes a set of alphanumeric and numeric properties. These are a convenient way to provide additional standard or custom information.
The standard properties are identified by the CPNS::Enums::DeviceProperties values. Most of them are system properties, meaning that they are automatically provided by CopperLan.
Properties can be set or modified at any time.