Народ, может кто вкурсе, можно програмно посмотреть поддерживает ли usb-c DRD/DRP?
Devices may be hosts (DFP: downstream-facing port) or peripherals (UFP: upstream-facing port). Some, such as mobile phones, can take either role depending on what kind is detected on the other end. These types of ports are called Dual-Role-Data (DRD) ports, which was known as USB On-The-Go in the previous specification.[13] When two such devices are connected, the roles are randomly assigned but a swap can be commanded from either end, although there are optional path and role detection methods that would allow devices to select a preference for a specific role. Furthermore, dual-role devices that implement USB Power Delivery may independently and dynamically swap data and power roles using the Data Role Swap or Power Role Swap processes. This allows for charge-through hub or docking station applications where the USB-C device acts as a USB data host while acting as a power consumer rather than a source