Commit Graph

17 Commits

Author SHA1 Message Date
Gustavo Padovan e0b793af8a dundee: disconnect bluetooth link in case dial fails
If the ATD*99# dial fails for some reason, NO CARRIER, for example, we
need to disconnect the bluetooth link and do further clean up on
disconnect_callback().
2012-08-17 14:59:50 +02:00
Gustavo Padovan 371b886bab dundee: explicit shutdown the bluetooth file descriptor
If we do not shut it down the fd can remain opened. This make impossible
to try a re-connect: busy is returned in this case.

We call shutdown here to make sure that the link is always closed.
2012-08-17 14:59:50 +02:00
Gustavo Padovan 8181ee6b95 dundee: add timeout to close stalled ppp handshake
If something goes wrong the PPP handshake can stall, then we just add a
timer to return an error after a certain timeout (15 seconds).
2012-08-17 14:59:50 +02:00
Marcel Holtmann c98de2a4bf build: Remove dependency on libcap-ng 2012-05-29 08:17:01 +02:00
Daniel Wagner 405be6ea13 dundee: Add Bluetooth DUN driver 2012-05-22 18:44:47 +02:00
Daniel Wagner a73f83df57 dundee: Add PPP handling code to device 2012-05-22 18:44:47 +02:00
Daniel Wagner 9a9accdff8 dundee: Add device D-Bus interface 2012-05-22 18:44:46 +02:00
Daniel Wagner 5091c3caff dundee: Add driver helper functions 2012-05-22 18:44:46 +02:00
Daniel Wagner 3e69d58570 dundee: Add device un/register 2012-05-22 18:44:46 +02:00
Daniel Wagner b1030d281d dundee: Add callback helpers 2012-05-22 18:44:46 +02:00
Daniel Wagner b7001e0988 dundee: Manager append devices 2012-05-22 18:44:46 +02:00
Daniel Wagner 5f92489f97 dundee: Add skeleton implementation for device 2012-05-22 18:44:46 +02:00
Daniel Wagner 6e08f05473 dundee: Add Manager interface 2012-05-22 18:44:46 +02:00
Daniel Wagner b950159955 dundee: Add systemd configuration file 2012-05-22 18:44:46 +02:00
Daniel Wagner c3e7e5e4fb dundee: Add D-Bus configuration file 2012-05-22 18:44:46 +02:00
Daniel Wagner 5db94cecd8 dundee: Add D-Bus error messages 2012-05-22 18:44:46 +02:00
Daniel Wagner bd8ebf3d0f dundee: Add skeleton implementation 2012-05-22 18:44:46 +02:00