M2M_API_RESULT m2m_hw_usb_getch_from_handle (M2M_T_HW_USB_HANDLE
handle, M2M_USB_CH *channel)
Description: the function gets the USB channel.
Parameters:
handle:
handle of the USB channel which name is unknown
channel: pointer to the allocated
variable that will be filled with the USB channel name related
to the handle.
Return
value:
refer to
M2M_API_RESULTenum
Output
data:
on
success: USB channel, see M2M_USB_CH
enum
on
failure: USB_CH_NONE