With the support for multiple transports per device, the dc_descriptor_get_transport() function became obsolete because it does support only a single transport type. Applications should use the new dc_descriptor_get_transports() function instead.
With the support for multiple transports per device, the dc_descriptor_get_transport() function became obsolete because it does support only a single transport type. Applications should use the new dc_descriptor_get_transports() function instead.