OSDN Git Service
Luiz Augusto von Dentz [Wed, 15 Jul 2009 19:52:55 +0000 (16:52 -0300)]
Fix unhandled return.
Luiz Augusto von Dentz [Wed, 15 Jul 2009 19:51:08 +0000 (16:51 -0300)]
Remove useless instruction.
Marcel Holtmann [Thu, 16 Jul 2009 05:25:30 +0000 (07:25 +0200)]
Fix strict-aliasing rules handling for hciemu and IP addresses
Marcel Holtmann [Thu, 16 Jul 2009 05:23:38 +0000 (07:23 +0200)]
Fix strict-aliasing rules handling of l2test and info requests
Marcel Holtmann [Thu, 16 Jul 2009 05:15:19 +0000 (07:15 +0200)]
Use -fno-strict-aliasing for audio subdirectory for now
Marcel Holtmann [Thu, 16 Jul 2009 05:13:02 +0000 (07:13 +0200)]
Fix another strict-aliasing rules handling with CMSG_DATA
Marcel Holtmann [Thu, 16 Jul 2009 06:42:06 +0000 (08:42 +0200)]
Fix strict-aliasing rules handling with CMSG_DATA
Marcel Holtmann [Wed, 15 Jul 2009 16:15:49 +0000 (18:15 +0200)]
Fix variable typo
Marcel Holtmann [Wed, 15 Jul 2009 16:09:02 +0000 (18:09 +0200)]
Add option to disable optimization independent from debug
Luiz Augusto von Dentz [Mon, 13 Jul 2009 16:33:58 +0000 (13:33 -0300)]
Fix ipctest reading socket forever.
João Paulo Rechi Vita [Wed, 8 Jul 2009 19:25:55 +0000 (16:25 -0300)]
Add Sink role support to audio IPC.
João Paulo Rechi Vita [Fri, 3 Jul 2009 18:23:57 +0000 (15:23 -0300)]
Adapt A2DP functions to support the Sink role.
Modify a2dp_source_* functions to more generic a2dp_record(), a2dp_get(),
a2dp_config(), a2dp_resume(), a2dp_suspend(), and a2dp_cancel() which can
handle both the Sink and Source roles.
João Paulo Rechi Vita [Sat, 13 Jun 2009 05:33:33 +0000 (02:33 -0300)]
Create A2DP Source interface.
João Paulo Rechi Vita [Sat, 13 Jun 2009 05:38:22 +0000 (02:38 -0300)]
Create one SBC Sink when registering A2DP server.
Alok Barsode [Fri, 10 Jul 2009 09:46:01 +0000 (15:16 +0530)]
Adding read_name to hciops plugin.
Alok Barsode [Fri, 10 Jul 2009 09:46:00 +0000 (15:16 +0530)]
Adding set_name to hciops plugin.
Johan Hedberg [Fri, 10 Jul 2009 17:58:02 +0000 (20:58 +0300)]
Fix rfcomm listen usleep timeout
The timeout when waiting for the RFCOMM tty to show up is intended to be
100ms and not 100us (rfcomm connect has this too).
Johan Hedberg [Fri, 10 Jul 2009 16:16:52 +0000 (19:16 +0300)]
Fix error passing to bt_io_get
Olli-Pekka Salin [Thu, 9 Jul 2009 13:04:56 +0000 (16:04 +0300)]
Add SetCallerId D-Bus interface to telephony-maemo
This patch fixes the situation when the caller ID setting is disabled on
the session level (UI) but when a call is initiated from headset it is
still shown. Because csd doesn't store this information there are no other
choice but to store it in bluez.
Nick Pelly [Wed, 8 Jul 2009 23:51:35 +0000 (16:51 -0700)]
Add chipset id for brf6350.
Johan Hedberg [Wed, 8 Jul 2009 14:51:10 +0000 (17:51 +0300)]
Fix clearing svc_cache before the adapter is up
Alok Barsode [Tue, 7 Jul 2009 11:02:57 +0000 (16:32 +0530)]
Fixing bluetoothd to avoid passing device descriptor
Marcel Holtmann [Tue, 7 Jul 2009 18:40:00 +0000 (11:40 -0700)]
Release 4.45
Marcel Holtmann [Tue, 7 Jul 2009 18:32:12 +0000 (11:32 -0700)]
Fix adapter cleanup and setup prototypes
Marcel Holtmann [Tue, 7 Jul 2009 18:28:33 +0000 (11:28 -0700)]
Revert "Fix hciops compilation error"
Stefan Seyfried [Tue, 7 Jul 2009 07:13:25 +0000 (09:13 +0200)]
Fix hciops compilation error
hciops.c: In function ‘hciops_exit’:
hciops.c:728: error: call to function ‘btd_adapter_cleanup_ops’
without a real prototype
Stefan Seyfried [Tue, 7 Jul 2009 08:28:07 +0000 (10:28 +0200)]
make sure that PKG_CONFIG macros are defined
Stefan Seyfried [Tue, 7 Jul 2009 07:57:10 +0000 (09:57 +0200)]
fix UDEV_DATADIR fallback if pkg-config fails
Johan Hedberg [Tue, 7 Jul 2009 13:10:16 +0000 (16:10 +0300)]
Fix inband ring setting to be per-headset
Inband ringing can be enabled or disabled for each connection separately
(using the +BSIR unsolicited result code), so only set the default from
the global setting when the headset becomes connected.
Johan Hedberg [Tue, 7 Jul 2009 07:50:38 +0000 (10:50 +0300)]
Fix double-free
The adapter->oor_devices list doesn't actually own the data that the
elements point to so free() should never be called on them.
Johan Hedberg [Tue, 7 Jul 2009 07:41:28 +0000 (10:41 +0300)]
Wait for CSD before attempting to initialize telephony
In case CSD is not available at bluetoothd startup wait for it.
Unfortunately this is also not enough since CSD will e.g. do modem
initialization before method calls to it will succeed, so additionally
wait a few seconds after the CSD bus name becomes available.
Johan Hedberg [Tue, 7 Jul 2009 07:02:32 +0000 (10:02 +0300)]
Remove unused variable
Marcel Holtmann [Mon, 6 Jul 2009 21:03:15 +0000 (14:03 -0700)]
Release 4.44
Filippo Giunchedi [Mon, 6 Jul 2009 16:05:05 +0000 (18:05 +0200)]
include test/hciemu.1 into man_MANS and EXTRA_DIST
Filippo Giunchedi [Mon, 6 Jul 2009 16:05:04 +0000 (18:05 +0200)]
add test/hciemu.1 manpage
Filippo Giunchedi [Mon, 6 Jul 2009 16:05:03 +0000 (18:05 +0200)]
test/hciemu.c: verbose usage message
Filippo Giunchedi [Mon, 6 Jul 2009 14:20:54 +0000 (16:20 +0200)]
include test/rctest.1 into man_MANS and EXTRA_DIST
Filippo Giunchedi [Mon, 6 Jul 2009 14:20:53 +0000 (16:20 +0200)]
add test/rctest.1 manpage
Marcel Holtmann [Mon, 6 Jul 2009 17:29:57 +0000 (10:29 -0700)]
Generate bluetooth.rules with the correct prefix
Johan Hedberg [Mon, 6 Jul 2009 08:27:58 +0000 (11:27 +0300)]
Allow setting the voice mailbox number using an environment variable
For easier testing of the ATD>1; command allow setting the voice mailbox
number using a VMBX_NUMBER environment variable.
Johan Hedberg [Mon, 6 Jul 2009 07:47:05 +0000 (10:47 +0300)]
Fix three-way calling indicator order
MSC 4.26 and the text below it in the HFP 1.5 specification conflict with
each other with respect to the order of the callheld and callsetup
indicators. Errata 2459 clarifies the situation by explaining that the
text is correct and the MSC incorrect. Additionally the errata says that
the callheld indicator should be set to 1 just prior to indicting that the
the new call is active and the call setup procedure complete. This patch
updates the Maemo telephony driver logic accordingly.
Marcel Holtmann [Sun, 5 Jul 2009 17:45:46 +0000 (10:45 -0700)]
If available use the udevdir variable as base directory
Marcel Holtmann [Sun, 5 Jul 2009 16:48:24 +0000 (09:48 -0700)]
Use UDEV_DATADIR variable for rules directory
Marcel Holtmann [Sun, 5 Jul 2009 16:44:29 +0000 (09:44 -0700)]
Fix fallout from l2ping manual page rename
Marcel Holtmann [Sun, 5 Jul 2009 16:34:00 +0000 (09:34 -0700)]
Install udev rules with a proper prefix number
Filippo Giunchedi [Sat, 4 Jul 2009 08:14:05 +0000 (10:14 +0200)]
remove _FORTIFY_SOURCE=2 from default CFLAGS
otherwise --disable-fortify has no effect and the default is
--enable-fortify anyway
Stefan Seyfried [Sat, 4 Jul 2009 07:50:03 +0000 (09:50 +0200)]
Fix build with "--as-needed"
This patch got submitted by an openSUSE contributor, I'm passing it
along so that I have one less patch to carry in my package ;)
Johan Hedberg [Fri, 3 Jul 2009 23:00:22 +0000 (02:00 +0300)]
Downgrade and upgrade the callheld indicator when necessary
Johan Hedberg [Fri, 3 Jul 2009 22:04:15 +0000 (01:04 +0300)]
Use create timer only if there's a call in ACTIVE state
The active_calls list can contain calls which are held but we're only
interested in setting the create timer if there's at least one call in
ACTIVE state (since then we know that it will be put on hold).
Johan Hedberg [Fri, 3 Jul 2009 20:55:27 +0000 (23:55 +0300)]
Make the redundant indicator change check optional
HFP 1.5 seems to require a 1->1 value change for the "callheld" indicator
every time a held and an active call are swapped. So the redundant change
check needs to be possible to configure on a per-indicator basis.
Johan Hedberg [Fri, 3 Jul 2009 18:22:14 +0000 (21:22 +0300)]
Remove unnecessary telephony_get_indicator checks
Now that telephony_update_indicator checks for no-change situations it's
unnecessary to do the same check within the telephony drivers.
Johan Hedberg [Fri, 3 Jul 2009 18:17:24 +0000 (21:17 +0300)]
Don't send +CIEV when the indicator value hasn't changed
Johan Hedberg [Fri, 3 Jul 2009 17:29:12 +0000 (20:29 +0300)]
Add support for Call.CreateRequested signal
The HFP specification requires the AG to enable the "callheld" indicator
with the value 1, i.e. "Call is placed on hold or active/held calls
swapped" when there is an active call and a second outgoing call is
attempted which causes the active call to go on hold. However, with the
current csd and its underlying modem the existing call is set to hold
before any new call creation attempt is indicated upwards in the stack.
This means that we don't know about the second call just with the help of
the CallStatus signal (which maps directly to the modem state) but a new
signal, CreateRequested, is needed.
Since the create request could fail before any call object leaves the IDLE
state or the modem could get reset (in which case a CreateFailed signal
doesn't help) a five second timer is used to clear the call creation
information if the active call doesn't transition to the HOLD state before
that.
Johan Hedberg [Fri, 3 Jul 2009 16:54:31 +0000 (19:54 +0300)]
Make use of Conference.Joined and Conference.Left signals
It turns out that the Conference interface has actually some nice signals
for tracking the multiparty status of calls, so use those instead of
sending GetCallInfoAll method calls.
Johan Hedberg [Fri, 3 Jul 2009 16:19:29 +0000 (19:19 +0300)]
Make GetCallInfoAll reply parsing more stable
Johan Hedberg [Fri, 3 Jul 2009 15:54:09 +0000 (18:54 +0300)]
Fix infinite loop if parsing GetCallInfoAll reply fails
Filippo Giunchedi [Wed, 1 Jul 2009 11:15:57 +0000 (13:15 +0200)]
Register the a2dp gst sink as marginal
Avoid taking over as default gst sink by registering as GST_RANK_MARGINAL
Filippo Giunchedi [Wed, 1 Jul 2009 10:58:45 +0000 (12:58 +0200)]
move tools/l2ping.1 to man section 8
usually only root is able to invoke l2ping thus move to man section 8
Johan Hedberg [Fri, 3 Jul 2009 13:07:21 +0000 (16:07 +0300)]
Ensure that a call is never added twice to the active_calls list
There are some state transitions (what these are is still somewhat
unclear) through which a call can enter ACTIVE state multiple times even
though call->on_hold isn't TRUE. The circumstances triggering this still
need investigation, but at least it's an easy one-line change to safeguard
against duplicates in the active_calls list.
Marcel Holtmann [Thu, 2 Jul 2009 22:28:09 +0000 (15:28 -0700)]
Release 4.43
Luiz Augusto von Dentz [Thu, 2 Jul 2009 22:04:10 +0000 (19:04 -0300)]
Make headset connection attempt really cancelable.
The io channel should be stored in order to cancel connection attempt,
but this also fixes the situation where the headset connects back while
we are trying to connect to it.
Luiz Augusto von Dentz [Thu, 2 Jul 2009 21:12:43 +0000 (18:12 -0300)]
Make sure Audio.Disconnect cancel pending connections.
Johan Hedberg [Thu, 2 Jul 2009 15:35:35 +0000 (18:35 +0300)]
Add an assert to catch issues with bt_cancel_discovery
There have been some reports of segfaults which indicate that
bt_cancel_discovery isn't working properly. To clearly catch this in the
future add an assert to the service discovery callback.
Filippo Giunchedi [Thu, 2 Jul 2009 09:14:28 +0000 (11:14 +0200)]
test/agent.c: rename "target device" into device
Filippo Giunchedi [Thu, 2 Jul 2009 09:14:27 +0000 (11:14 +0200)]
test/agent.c: find given adapter or use default
modify get_adapter_path to use FindAdapter or use DefaultAdapter if none
is given
Filippo Giunchedi [Thu, 2 Jul 2009 09:14:26 +0000 (11:14 +0200)]
test/agent.c: rename device into adapter in functions
Filippo Giunchedi [Thu, 2 Jul 2009 09:14:25 +0000 (11:14 +0200)]
test/agent.c: rename option device into adapter
Filippo Giunchedi [Thu, 2 Jul 2009 09:14:24 +0000 (11:14 +0200)]
test/agent.c: rename device into adapter in main
Alok Barsode [Tue, 23 Jun 2009 09:57:17 +0000 (15:27 +0530)]
Adding cancel_resolve_name functionality to hciops plugin.
Alok Barsode [Thu, 2 Jul 2009 10:58:38 +0000 (16:28 +0530)]
Adding resolve name functionality to hciops plugin.
Alok Barsode [Thu, 2 Jul 2009 12:38:35 +0000 (18:08 +0530)]
Adding adapter_resolve_names to adapter.c.
Johan Hedberg [Thu, 2 Jul 2009 13:25:48 +0000 (16:25 +0300)]
Fix inconsistent call list information from CSD
For some reason (bug in csd) csd sometimes gives an incorrect value for
the on_hold property in the GetCallInfoAll reply. This patch fixes (well,
works around actually) it by trusting the call status instead.
Johan Hedberg [Wed, 1 Jul 2009 13:46:10 +0000 (16:46 +0300)]
Fix multiparty bit value when doing a conference call
There's no signal from CSD to indicate that the multiparty call status has
changed. The only way to figure out the multiparty status of a call is by
parsing the reply to the GetCallInfoAll method. So, every time a call goes
active or to hold and there is more than one call ongoing use
GetCallInfoAll to update the multiparty bit (and other properties that
come with this method call).
Johan Hedberg [Thu, 2 Jul 2009 12:49:40 +0000 (15:49 +0300)]
Clear the ring timer also if the headset disconnected unexpectedly
Johan Hedberg [Wed, 1 Jul 2009 11:35:31 +0000 (14:35 +0300)]
Ignore CSD state changes to the existing state
Marcel Holtmann [Wed, 1 Jul 2009 01:39:45 +0000 (18:39 -0700)]
Add support for AM_SLIENT_RULES
Johan Hedberg [Tue, 30 Jun 2009 22:06:25 +0000 (01:06 +0300)]
Properly implement the hciops_cleanup() function
Luiz Augusto von Dentz [Tue, 30 Jun 2009 18:55:15 +0000 (15:55 -0300)]
Make sure name resolving is disabled for non DBus applications.
Johan Hedberg [Tue, 30 Jun 2009 18:26:33 +0000 (21:26 +0300)]
Fix error handling in hciops initialization
Johan Hedberg [Tue, 30 Jun 2009 16:50:50 +0000 (19:50 +0300)]
Fix coding style
Filippo Giunchedi [Tue, 30 Jun 2009 16:32:37 +0000 (18:32 +0200)]
test/agent.c: pairing via CreatePairedDevice
introduce optional argument target for remote address, if passed pairing
will be called
Filippo Giunchedi [Tue, 30 Jun 2009 16:32:36 +0000 (18:32 +0200)]
test/agent.c: update dbus API usage
This patch implements and updates some parts of dbus API missing from
test/agent.c, namely Authorize, RequestPinCode and RequestPasskey.
Filippo Giunchedi [Tue, 30 Jun 2009 15:52:49 +0000 (17:52 +0200)]
test/agent.c: get_device select default device
mimick simple-agent, i.e. search for default device
Alok Barsode [Mon, 22 Jun 2009 14:57:37 +0000 (20:27 +0530)]
Adding inquiry_complete method to handle inquiry complete event.
Alok Barsode [Mon, 22 Jun 2009 14:57:36 +0000 (20:27 +0530)]
Adding start_inquiry method to handle inquiry start event.
Marcel Holtmann [Tue, 30 Jun 2009 14:53:08 +0000 (07:53 -0700)]
Separate between udev rules and configuration files
Marcel Holtmann [Tue, 30 Jun 2009 14:30:16 +0000 (07:30 -0700)]
Use a udev rule to start bluetoothd on demand
Marcel Holtmann [Tue, 30 Jun 2009 14:05:55 +0000 (07:05 -0700)]
Generate bluez.pc last
Marcel Holtmann [Tue, 30 Jun 2009 13:41:32 +0000 (06:41 -0700)]
Mention Filippo's contributions
Filippo Giunchedi [Sat, 27 Jun 2009 15:05:45 +0000 (17:05 +0200)]
ignore newly generated manpages
Filippo Giunchedi [Sat, 27 Jun 2009 15:01:40 +0000 (17:01 +0200)]
remove trailing whitespaces in manpages
Filippo Giunchedi [Sat, 27 Jun 2009 15:01:39 +0000 (17:01 +0200)]
use CONFIGDIR and STORAGEDIR in src/hcid.conf.5
Filippo Giunchedi [Sat, 27 Jun 2009 15:01:38 +0000 (17:01 +0200)]
use CONFIGDIR and STORAGEDIR in src/bluetoothd.8
Filippo Giunchedi [Sat, 27 Jun 2009 15:01:37 +0000 (17:01 +0200)]
add CONFIGDIR and STORAGEDIR as AC_SUBST
Johan Hedberg [Tue, 30 Jun 2009 13:18:05 +0000 (16:18 +0300)]
Fix whitespace issue
Johan Hedberg [Tue, 30 Jun 2009 13:06:26 +0000 (16:06 +0300)]
Fix listen() error check
Johan Hedberg [Tue, 30 Jun 2009 13:02:28 +0000 (16:02 +0300)]
Fix open() error check
Johan Hedberg [Tue, 30 Jun 2009 13:00:59 +0000 (16:00 +0300)]
Fix another hci_devid error check
Johan Hedberg [Tue, 30 Jun 2009 12:59:48 +0000 (15:59 +0300)]
Fix hci_open_dev error check
Johan Hedberg [Tue, 30 Jun 2009 12:58:15 +0000 (15:58 +0300)]
Minor coding style fix