| Automatic probing of cables |
| TIEXPORT1 int TICALL ticables_probing_do(int ***result, unsigned int timeout, ProbingMethod method) |
| result : |
address of an array of integers to put the result.
|
| timeout : |
timeout to set during probing
|
| method : |
defines which link cables you want to search for.
|
| Return value : |
0 if successful, ERR_NO_CABLE if no cables found.
|
| TIEXPORT1 int TICALL ticables_probing_finish(int ***result) |
| result : |
address of an array of integers.
|
| Return value : |
always 0.
|
| TIEXPORT1 int TICALL ticables_is_usb_enabled(void) |
| Return value : |
!0 if available, 0 otherwise.
|
| TIEXPORT1 int TICALL ticables_get_usb_devices(int **list, int *len) |
| list : |
out address of a NULL-terminated allocated array of integers (PIDs).
|
| len : |
out pointer to number of detected USB devices.
|
| Return value : |
0 if successful, an error code otherwise.
|
| free(array); |
| Return value : |
| TIEXPORT1 int TICALL ticables_get_usb_device_info(CableDeviceInfo **list, int *len) |
| array : |
address of a newly allocated array of CableDeviceInfo structures
|
| length : |
number of detected USB devices.
|
| Return value : |
0 if successful, an error code otherwise.
|
| free(list); |
| Return value : |