![]() |
![]()
| ![]() |
![]()
NAME
LIBRARYlibrary “libdivecomputer” SYNOPSIS
unsigned int
DESCRIPTIONGets the transports supported by the given descriptor. The descriptor usually found by searching through dc_descriptor_iterator(3). RETURN VALUESReturns a union (bitwise OR) of the transports supported by the given descriptor. The result is combination of
To determine if a specific transport is supported use the following code unsigned int transports = dc_descriptor_get_transports(descriptor); if(transports & DC_TRANSPORT_USBHID) { // Device supports USB HID as transport } SEE ALSOAUTHORSThe library
“libdivecomputer” library was written by
Jef Driesen,
jef@libdivecomputer.org.
|