Automatic probing of cables |
TIEXPORT1 int TICALL ticables_probing_do(int ***result, 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) |
array : |
address of a NULL-terminated allocated array of integers (PIDs).
|
length : |
number of detected USB devices.
|
Return value : |
0 if successful, an error code otherwise.
|