Age | Commit message (Collapse) | Author | Files | Lines |
|
Only the agent should be able to call .Connect() on the card.
|
|
Send the SCO socket to the agent associated with the card that
just got connected.
|
|
When calling the card's .Connect() method, we should be able to
establish a SCO connection.
Right now, we only have support for establishing the SCO connection
directly, this is what is expected from HFP 1.5 HF/AG devices.
|
|
|
|
make --no-print-directory all-am
CC plugins/sim900.o
cc1: warnings being treated as errors
plugins/sim900.c: In function ‘shutdown_device’:
plugins/sim900.c:180:9: error: unused variable ‘fd’
make[1]: *** [plugins/sim900.o] Error 1
make: *** [all] Error 2
|
|
|
|
|
|
Also add gprs and call-volume support.
|
|
|
|
|
|
|
|
|
|
This patch glues together the dundee driver interface with the
D-Bus Profile1 interface.
When the dundee driver requests a connection, it will call the
Device1's ConnectProfile.
|
|
This patch declares the external dundee Profile handler. It
contains the initial implementation of the D-Bus Profile1
interface and methods responsible for handling Bluetooth
connections.
|
|
This patch adds the dundee device struct to the our Bluetooth
device representation.
|
|
This patch adds the functions to be called when the dundee will
connect or disconnect with a Bluetooth device.
|
|
When a bluetooth device property change and this property is Alias,
we need to refresh our representation of this device.
|
|
This patch tracks the GDBusProxy for Bluetooth devices in order to
be able to get their properties.
|
|
This patch adds a hash that will store every known bluetooth
device that implements DUN service.
|
|
This patch adds callbacks to track additions of BlueZ related
interfaces.
|
|
This patch adds the BlueZ 5 support file for dundee.
|
|
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.
|
|
We should be checking that modems != NULL, not modems->data. This is
because the list can be empty and we would crash.
|
|
We should be checking that modems != NULL, not modems->data. This is
because the list can be empty and we would crash.
|
|
|
|
This patch adds initial implementation of the D-Bus Profile1
interface and methods responsible for handling Bluetooth connections.
The DUN GW profile interface is registered as soon as a GPRS capable
modem is registered in oFono.
|
|
As BlueZ 5 introduced backwards incompatible API changes, and we want to
keep support for BlueZ 4 based DUN GW plugin for some time, we need to
separate DUN GW plugin which is based on BlueZ 4 from the one based on
BlueZ 5.
The dun_gw.c plugin is renamed to dun_gw_bluez4. This will make it easy
to add a DUN GW plugin for BlueZ 5.
|
|
|
|
|
|
|
|
This patch adds a utility Bluetooth function to convert Bluetooth
address from string to bdaddr_t.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This patch rejects the incoming SCO connection if there isn't a
Handsfree Audio Agent registered.
|
|
The Audio Card is being created when the NewConnection from BlueZ
Profile is received, and registered when the service level connection
negotiation finishes. This patch rejects SCO connection if the SCO
incoming connection arrives when the service level negotiation is
ongoing.
|
|
This patch verifies if the local Bluetooth address of the incoming
connection also matches with one of available audio cards.
|
|
This patch adds Agent NewConnection call. The card object path, the SCO
file descriptor, and the codec are being passed to the agent. This
initial version supports CVSD codec only.
|
|
Unlike the previous implementation in the plugin, the SCO/SLC matching
is done based on the Audio Card objects.
Audio Cards are created when the RFCOMM fd descriptor is received, and
registered when the service level connetion is established.
|
|
This patch moves the SCO socket handling from hfp_hf_bluez5 plugin. It
will be instead handled by the handsfree-audio functionality. This is
the initial step to be able to support sending the file descriptor
through the Agent NewConnection method.
|
|
|
|
|
|
This patch adds the Bluetooth utility funtions and socket type
declarations to a new header src/bluetooth.h, allowing to share it
between core, and plugins.
|
|
This function allows to specify which role is registering when the
profile does not have specific UUIDs for each role.
|