1OBEX_BIND_CONFIG(9) Kernel Mode Gadget API OBEX_BIND_CONFIG(9)
2
3
4
6 obex_bind_config - add a CDC OBEX function to a configuration
7
9 int obex_bind_config(struct usb_configuration * c, u8 port_num);
10
12 c
13 the configuration to support the CDC OBEX instance
14
15 port_num
16 /dev/ttyGS* port this interface will use
17
19 single threaded during gadget setup
20
22 Returns zero on success, else negative errno.
23
24 Caller must have called gserial_setup() with enough ports to handle all
25 the ones it binds. Caller is also responsible for calling
26 gserial_cleanup() before module unload.
27
29 David Brownell <dbrownell@users.sourceforge.net>
30 Author.
31
33Kernel Hackers Manual 2.6. November 2011 OBEX_BIND_CONFIG(9)