Commit Graph

328 Commits

Author SHA1 Message Date
Marcel Holtmann
84156dadb2 build: Remove glib-compat.h support 2012-04-16 18:23:02 +02:00
Anderson Lizardo
b063ca7c0d Makefile.am: Fix indentation
Only these two lines were using spaces instead of tabs.
2012-04-13 13:04:43 +03:00
Chen Ganir
620ac8c7c2 Add DeviceInformation GATT Client
Add the DeviceInformation GATT Client plugin skeleton.
2012-04-04 14:59:58 +03:00
Anderson Lizardo
0779dd9b3b attrib: Fix "make distcheck" build
Any new header files (att-database.h in this case) need to be added to
Makefile.am.

Fixes this "make distcheck" error:

  CC     attrib/bluetoothd-gatt-service.o
../attrib/gatt-service.c:35:26: fatal error: att-database.h: No such
file or directory
compilation terminated.
make[2]: *** [attrib/bluetoothd-gatt-service.o] Error 1
make[1]: *** [all] Error 2
make: *** [distcheck] Error 1
2012-04-04 12:54:08 +03:00
Arik Nemtsov
692ef73ecc proximity: immediate alert: implement immediate alert server
The profile is implemented in immalert.[ch]. A GATT service is
registered with a write callback on the immediate alert level attribute.
This attribute is write-only and is maintained per remote device.

When a remote device write a raises or lowers the alert level,
an appropriate PropertyChanged signal is emitted. When the alert level
of a device is non-zero, a callback is registered on its disconnection.
When the callback is called, the alert level of the device is reset to
zero and an appropriate signal is emitted.
2012-04-03 13:02:02 +03:00
Arik Nemtsov
a20e040fd5 proximity: link loss: implement link loss server
The profile is implemented in linkloss.[ch]. A GATT service is
registered with read/write callbacks on the link-loss alert level
attribute. The alert level is maintained per device. It is returned
on read and updated on write.

When the alert level is non-zero, a callback is registered on the
disconnection of the remote device. If a device with non-zero alert
state is disconnected, an appropriate PropertyChanged signal is emitted
with the alert level previously set by the device. We avoid emitting
a signal when the disconnection was requested by us.
2012-04-03 13:01:07 +03:00
Chen Ganir
e407e9ac6d GATT: Remove individual config switches
Remove individual GATT plugin configuration switches and add a
new master gatt switch called --enable-gatt to enable/disable all
GATT related plugins at once.
2012-03-26 12:09:51 +03:00
Marcel Holtmann
64ab33fc4f Update library version 2012-03-06 09:02:51 -08:00
Johan Hedberg
e08162a611 lib: Add a2mp.h to lib_headers 2012-03-05 16:36:22 -08:00
Marcel Holtmann
9d3b93ede7 monitor: Add Bluetooth HCI declarations 2012-02-27 10:52:14 -08:00
Anderson Lizardo
4f1294a5e7 Remove unused/broken "echo" RFCOMM plugin
It was disabled for quite some time (since 2009), and does not even
compile anymore if enabled:

plugins/echo.c: In function 'session_event':
plugins/echo.c:53: error: implicit declaration of function
'g_io_channel_read'
plugins/echo.c:57: error: implicit declaration of function
'g_io_channel_write'
2012-01-09 14:50:39 +02:00
Yegor Yefremov
3819e1a6bb add tools to include folder list
adding tools to include folder list avoids out-of-source build
breakage
2011-12-28 09:37:09 -08:00
Yegor Yefremov
a6aa83466a fix link creation for out-of-source builds 2011-12-28 09:36:53 -08:00
Marcel Holtmann
bf5d45f2fb build: Move libcheck under TEST conditional 2011-12-27 20:09:56 -08:00
Marcel Holtmann
d223feb814 Update library version 2011-12-22 17:16:25 -08:00
Anderson Lizardo
67cd2b0922 Implement high level GATT API for service registration
This new internal API can be used for implementing GATT services (server
role). It is built around the current attribute API (attrib_db_add() and
others).
2011-11-14 21:08:23 +02:00
Marcel Holtmann
03361ee983 build: Use target specific CFLAGS and inherit AM_CFLAGS 2011-11-13 13:48:44 +09:00
Marcel Holtmann
8f47678344 build: Create src/builtin.h via BUILT_SOURCES 2011-11-13 08:25:35 +09:00
Johan Hedberg
9d387f4372 Convert unit tests from GLib to GNU Check 2011-10-25 10:08:07 +02:00
Johan Hedberg
029077107e Add basic unit tests framework for EIR parsing 2011-10-18 23:58:12 +03:00
Johan Hedberg
68838679e1 Move SDP client functions from glib-helper.c to sdp-client.c 2011-10-18 11:15:23 +03:00
Johan Hedberg
9b98a6c764 Add glib-compat.h to deal with issues in old GLib versions 2011-10-18 10:57:06 +03:00
Bruna Moreira
d7925ed6c4 Add Phone Alert Server skeleton plugin 2011-09-22 20:05:06 +09:00
Anderson Lizardo
8f769e9565 Add GATT Time Server skeleton plugin 2011-09-22 20:05:04 +09:00
Marcel Holtmann
2b4d684ec9 build: Use private copy of Bluetooth library for audio support 2011-09-18 22:28:11 +02:00
Luiz Augusto von Dentz
99f32ae9ac AVRCP: move handling of vendor dependent PDU from control.c to avrcp.c
This helps to isolate AVRCP PDU handling and MediaPlayer interface.
2011-09-13 10:44:56 +03:00
Luiz Augusto von Dentz
8d18c289c7 AVRCP: split AVCTP specific code from control.c
The code is moved to avctp.c to simplify control.c
2011-09-13 10:44:54 +03:00
Marcel Holtmann
a1e585d99a build: Link bluetoothd with private copy of libbluetooth 2011-08-28 16:07:43 -07:00
Marcel Holtmann
f2c61eb4ff build: Fix external plugin installation 2011-08-22 06:00:21 -07:00
Marcel Holtmann
6b5b53f5d8 build: Allow loading of plugins from development tree 2011-08-14 14:39:14 -07:00
Szymon Janc
5a0c179b9a Add external dummy plugin for testing 2011-08-14 14:08:29 -07:00
Claudio Takahasi
2637d94576 Add config file for proximity monitor
Initial config file to disable Proximity and Find ME support in the
proximity monitor side. By default all services will be supported.
Config file is necessary at least to disable Find ME profile since the
Immediate Alert service is shared between Pass Loss and Find ME.
2011-08-03 12:29:14 +03:00
Claudio Takahasi
d5466d15d3 Add Proximity Reporter skeleton 2011-08-03 12:20:36 +03:00
Marcel Holtmann
b5ff279155 Update library version 2011-07-31 22:36:18 +02:00
Anderson Lizardo
facc0d862b Fix setting noinst_LIBRARIES in Makefile.am
When both audio and sap plugins are enabled, noinst_LIBRARIES is
incorrectly overwritten.
2011-07-29 13:07:36 +03:00
Santiago Carot-Nemesio
e8825b76fc Add thermometer driver skeleton 2011-07-29 12:50:35 +03:00
Santiago Carot-Nemesio
3e24f80260 Add manager files for HTP 2011-07-29 12:50:32 +03:00
Santiago Carot-Nemesio
67c15df485 Initial support for Health Thermometer Profile (HTP) 2011-07-29 12:50:30 +03:00
Tom Rini
c5d2a5e570 Makefile.am: Mark local_headers as BUILT_SOURCES
As these files are auto-generated they need to be marked as BUILT_SOURCES
so that we don't run into a build race later on.  lib/bluetooth is removed
by clean-local so this doesn't need to be in CLEAN_FILES
2011-07-28 00:42:17 +03:00
Claudio Takahasi
b81ddf51e9 Add Proximity Monitor skeleton
Registers hard-coded D-Bus object path for Proximity Monitor and
exports GetProperties and SetProperty.
2011-07-26 11:13:03 +03:00
Claudio Takahasi
37c3958aba Add Proximity Profile plugin skeleton 2011-07-26 11:13:01 +03:00
Claudio Takahasi
55f9fbf822 Add ATT connection callback registration
Function intends to be used by profiles to inform that a connection
is required and the callback that needs to be called when the it is
established. New header is required to avoid non GATT based profiles
including GAttrib header.
2011-07-14 17:37:15 +03:00
David Herrmann
1106efd440 Add support for wiimote pairing
The Nintendo Wii Remote requires binary bluetooth addresses as PINs.
This is not possible via dbus agent API. So this adds a plugin that
registers a pin-callback and forces the right pin for every
authentication request of wiimotes.
2011-07-14 17:25:05 +03:00
Szymon Janc
c3dd10b572 Add SAP driver for ST-Ericsson U8500 platform 2011-07-13 11:44:28 +03:00
Marcel Holtmann
4179958d06 Update library version 2011-07-04 21:49:40 +02:00
Lucas De Marchi
7849eeee2a build: Add support for systemd service configuration 2011-07-01 20:48:33 -07:00
Lucas De Marchi
c053eac034 build: Remove udevrules option
Use the new datafiles options instead.
2011-07-01 20:48:04 -07:00
Lucas De Marchi
9cec49b283 build: Rename configfiles option to datafiles
Instead of passing --[disable|enable]-configfiles, now we use
--[disable|enable]-datafiles as not all of the files are installed for
configuration but are rather data files.
2011-07-01 20:47:23 -07:00
Bastien Nocera
c98f635b44 Add adaptername plugin
Replacing the name setting code in src/adapter.c.

Moving the adapter naming allows us to use the /etc/machine-info [1]
pretty hostname, as implemented by hostnamed [2] in systemd.

If /etc/machine-info is not present, the adapter name stored
on disk in /var/lib/bluetooth will be used. If no adapter name
has been set yet, the default from the main.conf will be used.

We don't currently number the name of hci0 if a pretty name is
available, but we should instead number it if it happens not
to be the default adapter. As we cannot be told when the default
adapter changes, we'll behave this way for now.

Note that when an adapter name is set automatically from
the pretty hostname, changing it through the D-Bus interface
will fail.

[1]: http://0pointer.de/public/systemd-man/machine-info.html
[2]: http://www.freedesktop.org/wiki/Software/systemd/hostnamed
2011-06-28 13:19:20 +03:00
Marcel Holtmann
c78787f6ff Update library version 2011-05-31 01:30:37 -07:00
Marcel Holtmann
595abb225e Fix the broken change for udevdir and PCMCIA 2011-05-31 01:29:35 -07:00
Nobuhiro Iwamatsu
5dd8b9aa11 Fix install path for udevdir
If PCMCIA enabled, udevdir value override from /lib/udev to
$(libexecdir)/udev.
2011-05-31 10:55:41 +03:00
Claudio Takahasi
991a7a4f09 Move EIR related functions to a new file 2011-05-17 09:07:28 -07:00
Claudio Takahasi
2b7a21cc33 Remove leftover of attrib plugin build 2011-05-02 17:48:14 -07:00
Kay Sievers
9fc7474d89 Move hid2hci to /lib/udev 2011-05-02 09:23:34 -07:00
Marcel Holtmann
71a7992392 Update library version 2011-04-25 12:22:02 -07:00
Bruna Moreira
d0b675088a Remove deprecated attrib plugin
The attrib plugin is deprecated and it is not used anymore. Remove it
and all related configuration. Note that GATT utility (gatttool)
configuration item was moved to Makefile.tools and it is compiled when
--enable-tools is used in configure.
2011-04-01 16:43:11 +03:00
Anderson Lizardo
a3e9d397f0 Move GATT example server to a standalone plugin
The GATT example server was in the same plugin as the GATT client.
Moving it to a separate plugin will allow to easily disable it.
2011-03-30 19:19:29 +03:00
Vinicius Costa Gomes
c6477c3ccc Move Attrib client to the core 2011-03-30 19:15:43 +03:00
Szymon Janc
d812870321 Add D-Bus OOB plugin
A sample OOB plugin that directly exposes OOB functionality over D-Bus.
2011-03-27 22:58:13 +03:00
Szymon Janc
75397433e8 Add initial support for Out of Band (OOB) association model 2011-03-27 22:52:54 +03:00
Waldemar Rymarkiewicz
f9dc0c0762 Add Sim Access Profile dummy driver
Add SAP dummy driver implementation and extend configure
with --with-sap=<driver>.
2011-03-23 14:57:45 +02:00
Marcel Holtmann
43bfa36567 Update library version 2011-03-15 19:54:49 -07:00
Waldemar Rymarkiewicz
caa8299225 Add Sim Access Profile Server
Add a Sim Access Server to the SAP plugin and a framework for the dummy
sap driver as well.

	* add the server register and unregister rutines
	* add server listening socket setup
	* add SAP DBus API
	* add prototypes for SAP protocol implementation
	* add skeleton of dummy SIM driver
2011-03-15 19:51:01 +02:00
Claudio Takahasi
3ed993262f Add new UUID utility functions
New UUID functions will store the UUIDs values on host order. Added
functions to create, compare and convert UUIDs.
2011-03-15 10:35:40 +02:00
Johan Hedberg
ea8db48924 Add media-api.txt to EXTRA_DIST 2011-03-14 13:41:16 +02:00
Waldemar Rymarkiewicz
e3c94accd0 Add Sim Access Profile Manager
Add a SAP plugin main file and the plugin manager. Also include the SAP
plugin in the Makefile.
2011-03-10 16:03:50 +02:00
Waldemar Rymarkiewicz
2534fbd05a Add Sim Access Profile API
New API for Sim Access Profile.
2011-03-10 16:03:40 +02:00
Marcel Holtmann
892a4b68a5 Fix indentation for source file list 2011-02-20 12:17:33 -08:00
Marcel Holtmann
c23a0f4713 Update library version 2011-02-20 12:13:08 -08:00
Sheldon Demario
eb4e1d6d4b Move do_connect() to a common file between interactive.c and gatttool.c
Since do_connect() is used in both interactive.c and gatttool.c
files, it was moved to a new file that should hold all common functions
2011-02-17 15:48:43 -03:00
Sheldon Demario
a523620a36 Add an initial interactive mode to gatttool
Mode required to allow better GATT procedures control. Some scenarios
require sequential commands without disconnection and delay between
operations. It is also desirable to change some connection parameters
of an active connection.
2011-02-15 14:17:37 -03:00
Marcel Holtmann
1bbbb1331c Update library version 2011-02-13 18:02:30 -08:00
Elvis Pfützenreuter
5d57b628c2 Add Health API document to distribution package 2011-01-27 17:54:38 +02:00
Claudio Takahasi
f9523a9bf5 Implement Discover Primary Service by Service UUID in the gatttool
Implement only the first interaction of the discovery procedure. If the
response doesn't fit in the MTU, "start" and "end" options can be used
to discover the handles ranges of the remaining primary service instances.
UUID16 and UUID128 are supported in the uuid option.

Usage example:
$gatttool -i hcix -b xx:xx:xx:xx:xx:xx --uuid=1801 --primary
2010-11-18 22:00:02 +02:00
Keith Mok
f127d461f5 Add iwmmxt optimization for sbc for pxa series cpu
Add iwmmxt optimization for sbc for pxa series cpu.

Benchmarked on ARM PXA platform:
===  Before (4 bands) ====
$ time  ./sbcenc_orig  -s 4     long.au  > /dev/null
real    0m 2.44s
user    0m 2.39s
sys     0m 0.05s
===  After (4 bands) ====
$ time  ./sbcenc  -s 4     long.au  > /dev/null
real    0m 1.59s
user    0m 1.49s
sys     0m 0.10s

===  Before (8 bands) ====
$ time  ./sbcenc_orig   -s 8     long.au  > /dev/null
real    0m 4.05s
user    0m 3.98s
sys     0m 0.07s
===  After (8 bands) ====
$ time  ./sbcenc  -s 8     long.au  > /dev/null
real    0m 1.48s
user    0m 1.41s
sys     0m 0.06s

===  Before (a2dp usage) ====
$ time  ./sbcenc_orig   -b53 -s8 -j    long.au  > /dev/null
real    0m 4.51s
user    0m 4.41s
sys     0m 0.10s
===  After (a2dp usage) ====
$ time  ./sbcenc   -b53 -s8 -j    long.au  > /dev/null
real    0m 2.05s
user    0m 1.99s
sys     0m 0.06s
2010-11-18 18:50:20 +02:00
Marcel Holtmann
45d99fcfeb Update library version 2010-11-09 02:04:48 +09:00
Marcel Holtmann
b653c1bbc2 Update library version 2010-11-06 12:33:21 +01:00
Johan Hedberg
12d02e7f22 Add initial definitions for the Bluetooth Management interface 2010-10-27 13:51:52 -04:00
Johan Hedberg
0c3e080828 Add initial skeleton for mgmtops 2010-10-27 11:21:38 -04:00
Johan Hedberg
3d036c6e01 Remove security.c completely from the source tree 2010-10-26 16:06:44 -04:00
Johan Hedberg
16d507e0bb Rename dbus-hci.c event.c and use btd_event_ prefix for it 2010-10-26 14:59:49 -04:00
Gustavo F. Padovan
82c56e3892 Fix linkage failure for bluetoothd
Adding -lrt fix the following errors in one of my systems:

health/mcap_sync.o: In function `initialize_caps':
/root/bluez/health/mcap_sync.c:341: undefined reference to `clock_getres'
/root/bluez/health/mcap_sync.c:350: undefined reference to `clock_gettime'
/root/bluez/health/mcap_sync.c:358: undefined reference to `clock_gettime'
/root/bluez/health/mcap_sync.c:363: undefined reference to `clock_gettime'
health/mcap_sync.o: In function `reset_tmstamp':
/root/bluez/health/mcap_sync.c:163: undefined reference to `clock_gettime'
health/mcap_sync.o: In function `mcap_get_timestamp':
/root/bluez/health/mcap_sync.c:309: undefined reference to `clock_gettime'
health/mcap_sync.o:/root/bluez/health/mcap_sync.c:514: more undefined references to `clock_gettime' follow
collect2: ld returned 1 exit status
make[1]: *** [src/bluetoothd] Error 1
make: *** [all] Error 2
2010-10-18 10:37:17 +03:00
Marcel Holtmann
719071c7b1 Fix the bluetooth.ver.in screwup 2010-10-06 14:11:53 +02:00
Marcel Holtmann
ecb835fca7 Remove netlink plugin 2010-10-06 10:21:11 +02:00
Marcel Holtmann
724d9f6a8f Update library version 2010-10-05 09:06:49 +02:00
Bruna Moreira
399d968958 Use bt_io_connect in gatttool
The gatttool was migrated to use bt_io_connect() instead of making
connections manually.
2010-09-30 17:26:55 -03:00
Johan Hedberg
9b4fa9f23b Add a2dp-codecs.h to dist 2010-09-22 12:53:06 +03:00
Lucas De Marchi
534be7a9c3 Simplify linker script
Version linker scripts support function names and globs, so there's no
need to rely on nm tool to gather the exported symbols.
2010-09-21 23:08:57 +03:00
Jose Antonio Santos Cadenas
bbbdb87fc6 Managing applications (create and destroy) 2010-09-17 16:34:53 +02:00
Santiago Carot-Nemesio
2792e639a9 Initial support for HDP plugin 2010-09-17 11:38:02 +02:00
Luiz Augusto von Dentz
f87e1bed13 Add initial implementation of org.bluez.Media spec 2010-09-15 15:21:53 +03:00
Luiz Augusto von Dentz
3622790d16 Add support for media transport in gstreamer plugin 2010-09-15 15:05:44 +03:00
Jose Antonio Santos Cadenas
bccb8dd7f6 Fix mcap INCLUDES variable
With the extra tab at the beginning of the line the includes
are not found correctly.
2010-09-15 13:26:04 +02:00
Zhenhua Zhang
f57cb78379 btio: Seperate btio.[ch] into btio directory
Seperate btio.[ch] from src directory to btio sub-folder.
2010-09-13 11:23:02 +03:00
Marcel Holtmann
30ed3e4a21 Add gdbus/polkit.c file to sources list 2010-09-09 18:31:24 +02:00
Waldemar Rymarkiewicz
926915d17b Fix clean-local target
The fix avoids failure of the second consequent call of 'make clean'.
2010-09-07 12:42:52 +03:00
Bastien Nocera
d23defc944 Add new plugin to set adapter class
This time based on the kernel exported DMI, rather than calling
out to HAL. The HAL plugin can still be preferred with
--enable-hal=yes passed to configure.
2010-09-06 16:02:01 +03:00
Santiago Carot-Nemesio
4ed1e1c608 Add initial support for synchronization protocol 2010-09-02 14:52:06 +03:00
Santiago Carot-Nemesio
49cbd0ac7b Add MCAP instance management 2010-09-02 14:52:04 +03:00
Santiago Carot-Nemesio
f5d82ee872 Initial support for MCAP 2010-09-02 14:52:04 +03:00
Jose Antonio Santos Cadenas
699f982705 Fix compilation when SBC variable is not active
The inclusion of src/attrib-server.c file by default in the daemon
source needs also to compile by default attrib_sources, not only
when SBC is active.
2010-08-31 21:10:01 +03:00
Marcel Holtmann
1c32720c21 Update library version 2010-08-25 23:39:14 +02:00
Johan Hedberg
3d6d85ef3a Add assigned-numbers.txt to EXTRA_DIST 2010-08-17 14:00:34 +03:00
Uwe Kleine-König
d78930cb26 Add hfp-api.txt to EXTRA_DIST 2010-08-11 14:54:19 -04:00
Marcel Holtmann
9c83cf745f Enable attribute code for make distcheck 2010-08-09 18:16:33 -04:00
Bruna Moreira
e321c07ce0 Implement discovery all primary services for gatttool 2010-08-09 18:06:46 -04:00
Bruna Moreira
d873388b67 Add initial gatttool skeleton
New command line tool to test GATT features. For now, it is only parsing
options.
2010-08-09 18:06:45 -04:00
Vinicius Costa Gomes
db86285382 Fix attrib files being compiled only for the plugin
Now as attrib is part of the core bluetoothd, it should be included
as part of the core.
2010-08-09 18:06:45 -04:00
Claudio Takahasi
d2657982a8 Move gatt_discover_primary to gatt.c 2010-08-09 18:06:45 -04:00
Claudio Takahasi
fcc6c7788e Initial GAttrib functions
GAttrib aims to provide high level functions to hide GATT/ATT internals.
GATT client and server shall use these functions to serialize ATT
requests/responses.
2010-08-09 18:06:44 -04:00
Claudio Takahasi
b4ad35aafe Initial GATT server example integration
Initial changes to start the GATT server example. For the server side,
attrib plugin will only register the GATT service record and add
the attributes into the attribute database.
2010-08-09 18:06:44 -04:00
Claudio Takahasi
fc558ffc2a Add attribute server database
Attribute server database will contain functions to manage attributes,
allowing any plugin to add, remove or change attributes. Advertising
data shall be also generated based on exported services/attributes.
2010-08-09 18:06:44 -04:00
Claudio Takahasi
44a3a09fff Add stubs for the attribute client
Contains device driver declaration for attribute protocol. Registers
D-Bus path/interface to represent the remote device client: BR/EDR or
LE. For the most common LE scenarios, devices running BlueZ will be
client role.
2010-08-09 18:06:43 -04:00
Vinicius Costa Gomes
c0abb9dc39 Add stubs for the attribute server
This plugin will have the implementation of a Generic Attribute
Protocol server over Bluetooth Basic Rate and BLE. For BR/EDR this
plugin will register the service record. GATT database will be located
in the BlueZ "core", this plugin will contain only calls to add and
change attributes.
2010-08-09 18:06:43 -04:00
Pacho Ramos
5ea0e85ae6 Install alsa stuff in correct place 2010-07-16 20:43:02 -03:00
Marcel Holtmann
8311b1dfc8 Remove some outdated server code from network plugin 2010-07-12 23:46:09 -03:00
Marcel Holtmann
a552c046c5 Update library version 2010-07-12 20:02:26 -03:00
Luiz Augusto von Dentz
c194337f35 Introduce maemo6 plugin for following the radio state signal
Adds a plugin for listening to the MCE (Mode Control Entity)
radio state signal. Implemented in a new source file,
configuration flag for enabling it added to the build files.

The plugin registers an adapter driver containing a DBus signal
watch for receiving MCE_RADIO_STATES_SIG messages. On receiving
the signal, it sets the powered state of the adapter according
to the Bluetooth field.
2010-07-09 12:05:56 +03:00
Marcel Holtmann
5066066192 Add first draft of D-Bus API for attribute support 2010-07-06 10:33:08 -03:00
Marcel Holtmann
b50eead348 Update library version 2010-07-03 10:37:39 +02:00
Siarhei Siamashka
eb2d4570d3 sbc: ARMv6 optimized version of analysis filter for SBC encoder
The optimized filter gets enabled when the code is compiled
with -mcpu=/-march options set to target the processors which
support ARMv6 instructions. This code is also disabled when
NEON is used (which is a lot better alternative). For additional
safety ARM EABI is required and thumb mode should not be used.

Benchmarks from ARM11:

== 8 subbands ==

$ time ./sbcenc -b53 -s8 -j test.au > /dev/null

real    0m 35.65s
user    0m 34.17s
sys     0m 1.28s

$ time ./sbcenc.armv6 -b53 -s8 -j test.au > /dev/null

real    0m 17.29s
user    0m 15.47s
sys     0m 0.67s

== 4 subbands ==

$ time ./sbcenc -b53 -s4 -j test.au > /dev/null

real    0m 25.28s
user    0m 23.76s
sys     0m 1.32s

$ time ./sbcenc.armv6 -b53 -s4 -j test.au > /dev/null

real    0m 18.64s
user    0m 15.78s
sys     0m 2.22s
2010-07-02 16:02:12 -03:00
Marcel Holtmann
31cfeb8a3e Update library version 2010-05-24 00:57:06 +02:00
Gustavo F. Padovan
e891f7df62 Move logging.{c,h} to log.{c,h}
Try to make log stuff more similar to ConnMan and oFono.
2010-05-21 14:40:36 +02:00
Marcel Holtmann
e20bd41482 Add pragma based workaround for GStreamer warnings 2010-05-19 16:59:30 +02:00
Marcel Holtmann
cf0913d056 Update library version 2010-04-29 00:10:50 +02:00
Luiz Augusto Von Dentz
e3300f188a Introduce maemo6 telephony driver
Copy from maemo5 driver to accomodate API changes done in maemo6.
2010-04-06 12:29:27 +03:00
Luiz Augusto Von Dentz
e03a348e34 Rename maemo telephony driver to maemo5 2010-03-24 23:16:45 +02:00
Marcel Holtmann
2b416a2fdc Update library version 2010-03-07 13:34:06 -08:00
Bastien Nocera
4e68b91447 Fix DSO linking
Explicitely link against libm, to avoid linking problems:

CCLD   sbc/sbctester
/usr/bin/ld: sbc/sbctester.o: undefined reference to symbol 'sqrt@@GLIBC_2.2.5'
/usr/bin/ld: note: 'sqrt@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command line
/lib64/libm.so.6: could not read symbols: Invalid operation
2010-02-15 11:24:01 -08:00
Johan Hedberg
1202ec1f3e Add initial skeleton for Phonet AT (DUN) plugin 2010-02-02 11:07:33 -08:00
Marcel Holtmann
764c9cbf08 Disable udev rules during make distcheck 2009-12-24 08:35:17 -08:00
Marcel Holtmann
0ee53226df Update library version 2009-12-24 07:46:37 -08:00
Marcel Holtmann
a0a8c6f196 Include info(), error() and debug() as exported symbols
This is needed until everything has a proper btd_ symbol prefix.
2009-11-09 12:28:29 +01:00
Marcel Holtmann
acf4ac6fcd Update library version 2009-10-10 13:12:52 +02:00
Marcel Holtmann
677542049c Update library version 2009-10-04 12:41:36 +02:00
Marcel Holtmann
d0cd6ba872 Add CFLAGS from capabilities library 2009-10-02 11:45:25 +02:00
Steve Grubb
6a870c1779 Drop Posix Capabilities
The following patch against the 4.54 codebase drops posix capabilities
after startup so that the bluetooth daemon is less of a threat to the
system should there be any way to compromise it. The retained
capabilities was compared to selinux policy to make sure that its
roughly the same. It uses the libcap-ng library which allows patches
for dropping capabilities to be much smaller.
2009-10-02 11:40:02 +02:00
Adam Gołębiowski
5c4cbb4be5 Fix parallel build
Since src/bluetoothd needs libbluetooth, add it to its dependencies.
Parallel build tested with make -j16.
2009-09-22 14:49:57 -07:00
Marcel Holtmann
dd5d60af94 Update library version 2009-09-03 01:51:48 -07:00
Marcel Holtmann
7b6d0c0512 Restrict exported symbols of Bluetooth daemon 2009-08-28 23:08:34 -07:00
Marcel Holtmann
c26bb9e6c0 Use a fake build target for the telephony drivers 2009-08-28 22:54:03 -07:00
Marcel Holtmann
854ef8b1fe Move ALSA and GStreamer rules into main Makefile 2009-08-28 22:46:22 -07:00
Marcel Holtmann
ccaed46859 Move common files into src directory 2009-08-28 22:24:04 -07:00
Marcel Holtmann
8ddf2e8466 All manual pages need a special EXTRA_DIST statement 2009-08-24 14:56:11 -07:00
Marcel Holtmann
00a014316a Use simpler way of creating include directory 2009-08-24 12:51:50 -07:00
Marcel Holtmann
0b9d2da1c4 Fix issue with the configuration and state directories 2009-08-24 12:42:37 -07:00
Marcel Holtmann
86650a089b Fix issue with creating include directory 2009-08-24 12:35:53 -07:00
Marcel Holtmann
07229c1a71 Use proper command variables 2009-08-24 11:06:16 -07:00
Marcel Holtmann
da5b533266 Fix issue with missing manual pages in distribution 2009-08-24 11:04:32 -07:00