Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
to cleanup the stuff that is used by another client that is about to set
up a new connection. Increased timeout in sock_stuff from 10 to 20
seconds and decreased the pullbulk recv timeout from 5 to 3 seconds.
|
|
|
|
struct/variable naming.
|
|
|
|
to prevent pthread locking with uninitialized locking variable.
Still only started once per device.
|
|
|
|
Implemented daemonizing, use -f to run in foreground.
Implemented logging to syslog (or to std{out,err} when running in foreground).
Modified the udev rules file (removed --pidfile etc.).
|
|
renamed: libusbmuxd.h -> usbmuxd.h
Use 'install' in Makefile
build libusbmuxd.so (use with '#include <usbmux.h>' and -lusbmuxd
add *.so to .gitignore
Really this time.
Signed-off-by: Nikias Bassen <nikias@gmx.li>
|
|
'libusbmuxd' added to simplify use of usbmuxd in external tools
testclient removed
setting of configuration 3 disabled (to be handled by udev)
|
|
as it is infact an informational record for the client program and not
a request.
|
|
Signed-off-by: Nikias Bassen <nikias@gmx.li>
|
|
renamed hello request to scan request
|
|
|
|
initialization.
|
|
of one global buffer for all devices (untested but should work).
|
|
f***ing SIGSEVs.
|
|
prior hello, just as the usbmux-proxy utitliy does and most likely the
original usbmuxd works too:
- client opens a first connection to usbmuxd, sends hello, and receives
the device list in return
- client opens a second connection, sends a connect request and after
successful connect the data packets are transferred via this connection.
So the second connection does not begin with a hello but with a
connection request directly -- currently the first connection still
waits for a connect request but closes down if nothing is received.
Changed all stdout to stderr in main.c
|
|
iphone_mux_pullbulk is only running once per device and the iphone_mux_recv_timeout function does it's own locking.
|
|
instead of one thread for each connection to the same device.
2) Removed usbmuxd_accept_thread and moved code into main() directly.
|
|
|
|
|