Commit Graph

27 Commits

Author SHA1 Message Date
Paulo Borges 9e90988fb4 dundee: Add dundee device driver skeleton
This patch adds the functions to be called when the dundee will
connect or disconnect with a Bluetooth device.
2013-03-24 13:22:10 +01:00
Paulo Borges 92c1273507 dundee: Listen to devices property changes
When a bluetooth device property change and this property is Alias,
we need to refresh our representation of this device.
2013-03-24 13:22:03 +01:00
Paulo Borges 2226e57dfa dundee: Add tracking of bluetooth devices
This patch tracks the GDBusProxy for Bluetooth devices in order to
be able to get their properties.
2013-03-24 13:22:02 +01:00
Paulo Borges f0c85c9c55 dundee: Add mechanism to store bluetooth devices
This patch adds a hash that will store every known bluetooth
device that implements DUN service.
2013-03-24 13:20:18 +01:00
Paulo Borges 953e74a945 dundee: Initial GDBusClient for BlueZ 5
This patch adds callbacks to track additions of BlueZ related
interfaces.
2013-03-24 13:20:16 +01:00
Paulo Borges d26dab944c dundee: Start BlueZ 5 support
This patch adds the BlueZ 5 support file for dundee.
2013-03-24 13:18:55 +01:00
Paulo Borges 63f92d60b5 dundee: Rename dundee BlueZ 4 support
The BlueZ 4 support file for dundee has now been renamed to
bluez4.c to make it easier to add a BlueZ 5 support file.
2013-03-24 13:18:54 +01:00
Paulo Borges 08a8eb7fa8 dundee: Fix typo in Manager's signal DeviceAdded
This typo was preventing dundee from sending the signal.
2013-02-22 11:28:57 -06:00
Claudio Takahasi caad5322f6 bluetooth: Rename bluetooth plugins
As BlueZ 5 introduced backwards incompatible API changes, and we want to
keep support for BlueZ 4 based plugins for some time, we need to separate
the plugins that are based on BlueZ 4 from the ones based on BlueZ 5.

The bluetooth.c plugin has now been renamed to bluez4.c and the hfp_hf.c
plugin is renamed to hfp_hf_bluez4.  This will make it easy to add a
HFP HF plugin for BlueZ 5.
2013-01-16 13:37:23 -06:00
Marti Raudsepp d28d473459 systemd: prevent duplicate logging messages in journal
By default, both stderr and syslog messages go to the systemd journal,
which results in duplicate messages being logged.

Thanks to Vinicius Costa Gomes for pointing out this problem.
2012-10-25 16:28:38 -07:00
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