Age | Commit message (Collapse) | Author | Files | Lines |
|
If no 'Version' key is found we might be assigning an uninitialized
value. Return an error in this case as the 'Version' key is required.
|
|
|
|
Deferred SCO setup is not enough for HFP 1.6 wideband codec support.
Wideband speech also requires Transparent SCO to be enabled in the
kernel.
|
|
|
|
|
|
Use the module specific quirk for gprs by using the vendor entry
OFONO_VENDOR_SIMCOM_SIM900
|
|
The order of the defines for the dlc prefixes does not match
the order of the array containing the strings to print.
|
|
The read option must be set to 'on' in order for two-way
communication with SIM900 module to work.
|
|
|
|
When setting the SDP features, only enable wideband speech support if
the kernel has defer setup for SCO.
It is possible that even if defer setup is supported the kernel is
not able to use Transparent Mode for SCO.
|
|
This reverts commit 456b8c9723b9b73c3ea4cadc8c6f84ca90675f9a.
|
|
|
|
It was a cause of confusion for little gain to have separate
functions for registering profiles with extra information, for
example "role" and "features". We remove those helper functions
in favor of a single one with more parameters, "role" and
"feature" when NULL, will be ignored.
|
|
When a RequestDisconnect() is received, the socket must be closed.
This way, the related emulator will be freed.
|
|
A watch to G_IO_HUP is added to remove the file descriptor when the
emulator is automatically disconnected when its GAtServer closes.
We use a dupped file descriptor because the events aren't delivered to
the file descriptor who originated them.
|
|
We need to store active connections so we can disconnect them at
RequestDisconnect().
When we remove a connection from the hash, we also close it.
|
|
|
|
|
|
|
|
For example, in the case of a remote-initiated pairing, the device may
be created and Paired first, then the UUID array is emitted later.
|
|
This patch adds a function to monitor when the AG sends a new codec
before establishing the SCO connection.
|
|
|
|
|
|
|
|
|
|
This patch parses and reads the profile "Version" that comes in the fd
dictionary of the NewConnection method. "Version" is input for Audio Card
registration.
|
|
|
|
|
|
This is just the skeleton of a Handsfree Audio Card for the HF side of
HFP 1.6.
|
|
|
|
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.
|
|
|
|
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 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 function allows to specify which role is registering when the
profile does not have specific UUIDs for each role.
|
|
This commit moves the ref / unref to hfp_hf_bluez5 to make
bluez5 more generic and reusable.
|
|
For local initiated disconnection the GAtChat disconnect callback is not
called. For this case, Audio Card remove function needs to be called.
|
|
|