Commit Graph

116 Commits

Author SHA1 Message Date
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
Marcel Holtmann
fe21207793 Fix dependencies of include file generation 2009-08-24 10:57:50 -07:00
Marcel Holtmann
df64d2c229 Add missing configuration files to distribution 2009-08-23 00:51:39 -07:00
Marcel Holtmann
a5b1e3d02c Switch to a full non-recursive build system 2009-08-23 00:40:59 -07:00
Marcel Holtmann
d1003b737c Prepare for better subdirectory automake support 2009-08-16 14:52:28 -07:00
Marcel Holtmann
f57c2d54ff Remove really outdated M4 file 2009-08-10 14:26:29 -07:00
Marcel Holtmann
f5f61c23d7 Make all major plugins builtin to simplify debugging 2009-08-09 14:35:39 -07:00
Marcel Holtmann
33f51f71f9 Build the builtin plugins along with the daemon 2009-08-09 14:05:57 -07:00
Marcel Holtmann
1f40f75b32 Generate bluetooth.rules with the correct prefix 2009-07-06 10:29:57 -07:00
Marcel Holtmann
5fae6277ba Add generated compile script to .gitignore 2009-05-21 14:07:31 -07:00
Marcel Holtmann
1ab388feb3 Add support for builtin plugins 2009-05-03 18:54:22 -07:00
Marcel Holtmann
bf169e8d82 Add directory for client application 2008-12-29 16:28:25 +01:00
Marcel Holtmann
bc470c2977 Don't install bluez.m4 anymore 2008-09-01 22:41:23 +02:00