other versions
- wheezy 3.2.78-1
OBEX_BIND_CONFIG(9) | Kernel Mode Gadget API | OBEX_BIND_CONFIG(9) |
NAME¶
obex_bind_config - add a CDC OBEX function to a configurationSYNOPSIS¶
int
obex_bind_config(struct usb_configuration * c,
u8 port_num);
ARGUMENTS¶
cthe configuration to support the CDC OBEX
instance
port_num
/dev/ttyGS* port this interface will use
CONTEXT¶
single threaded during gadget setupDESCRIPTION¶
Returns zero on success, else negative errno. Caller must have called gserial_setup() with enough ports to handle all the ones it binds. Caller is also responsible for calling gserial_cleanup() before module unload.AUTHOR¶
David Brownell <dbrownell@users.sourceforge.net>Author.
COPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |