Name

usb_state_string — Returns human readable name for the state.

Synopsis

const char * usb_state_string (enum usb_device_state state);
 

Arguments

enum usb_device_state state

The state to return a human-readable name for. If it's not any of the states devices in usb_device_state_string enum, the string UNKNOWN will be returned.