Commit Graph

328 Commits

Author SHA1 Message Date
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
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
Marcel Holtmann
975f5d049e Process doc directory last 2008-08-14 22:57:57 +02:00
Marcel Holtmann
40372f9dc3 Move hidd pand and dund into compat directory 2008-08-04 20:58:34 +02:00
Marcel Holtmann
e0581b5e29 Move hcid to src directory and rename it to bluetoothd 2008-07-29 20:35:12 +02:00
Marcel Holtmann
6ff0013177 Integrate sdpd natively into hcid without any library tricks 2008-07-29 20:22:40 +02:00
Luiz Augusto von Dentz
1d13df54ae Remove eglib. 2008-07-28 10:43:25 -03:00
Marcel Holtmann
d6ae1c3f77 Import bluez-utils-3.36 revision history 2008-07-26 19:00:53 +02:00
Marcel Holtmann
b8e5fea8d3 Move library source to lib directory 2008-07-26 18:45:23 +02:00
Marcel Holtmann
ca212a494f Remove print directory 2008-06-03 14:16:20 +00:00
Marcel Holtmann
14f1866993 Remove the empty daemon directory 2008-06-03 12:56:55 +00:00
Marcel Holtmann
bd3c21b0cc Add directory for libgdbus library 2008-05-08 17:36:48 +00:00
Marcel Holtmann
2b91b57b25 Remove sync service skeleton since it is useless 2008-03-12 21:47:42 +00:00
Marcel Holtmann
118d58046f Remove the transfer service skeleton since it is useless 2008-03-12 21:43:07 +00:00
Marcel Holtmann
4dc25b9fef Add directory for plugins 2008-03-11 19:41:53 +00:00
Marcel Holtmann
6f3ffb5dc8 Add directory for documentation 2008-03-06 12:40:47 +00:00
Marcel Holtmann
00eb768523 Improve build system 2007-12-08 21:46:12 +00:00
Marcel Holtmann
2b3b216ea1 Remove compile script helper on cleanup 2007-08-26 15:41:35 +00:00
Marcel Holtmann
61f64a95d1 Add skeleton for embedding SBC library 2007-01-31 08:52:52 +00:00
Marcel Holtmann
7a0e09996a Add subdirectory print 2007-01-23 06:38:03 +00:00
Marcel Holtmann
287567b16f Remove subdirectory with ALSA plugins 2007-01-20 15:33:17 +00:00
Marcel Holtmann
1c62e7ed6e Add embedded GLib directory 2007-01-20 05:35:38 +00:00
Marcel Holtmann
be94d76f25 Add serial subdirectory 2007-01-20 01:25:50 +00:00
Marcel Holtmann
a5e44201d3 Add transfer subdirectory 2007-01-14 02:53:03 +00:00
Marcel Holtmann
578f7d88f0 Remove experimental FUSE support 2007-01-14 00:15:32 +00:00
Marcel Holtmann
f238b6612f Build SDP server first 2007-01-13 23:24:49 +00:00
Marcel Holtmann
924e04f177 Remove ylwrap on cleanup 2006-12-24 13:58:59 +00:00
Marcel Holtmann
ea2ad75761 Create one master daemon 2006-11-17 23:06:49 +00:00
Marcel Holtmann
8d4c64d0e8 Add synchronization daemon skeleton 2006-11-07 18:54:07 +00:00
Marcel Holtmann
c761480865 Add skeletons for service implementations 2006-10-27 14:46:36 +00:00
Marcel Holtmann
cdf746c483 Remove bcm203x firmware loader 2006-08-10 10:51:27 +00:00
Marcel Holtmann
53a07765b2 Remove PCMCIA relics 2006-06-06 00:08:22 +00:00
Marcel Holtmann
632a943277 Big cleanup of CVS relics 2005-10-29 22:36:31 +00:00
Marcel Holtmann
c0d524486a Big cleanup of CVS relics 2005-10-29 19:25:42 +00:00
Marcel Holtmann
51cf782b65 Add support for the Filesystem in Userspace (FUSE) 2005-09-10 10:25:38 +00:00
Marcel Holtmann
db90836e94 Add daemon directory 2005-07-04 16:59:12 +00:00
Marcel Holtmann
a66a22cd29 Add the textfile library for ASCII based file access 2005-04-22 12:15:36 +00:00
Marcel Holtmann
0b7448998d Remove depcomp file 2005-04-21 21:48:57 +00:00
Marcel Holtmann
ef77675318 Remove depcomp file 2005-04-21 21:48:34 +00:00
Marcel Holtmann
ecb55bb1b7 Fix the use of a wrong directory 2005-02-10 12:58:06 +00:00
Marcel Holtmann
93070a1a7a Add the ALSA library plugin for A2DP 2005-02-10 00:21:01 +00:00
Marcel Holtmann
518528c361 Add simple AM_PATH_BLUEZ macro 2004-11-23 06:46:40 +00:00
Marcel Holtmann
82c455c669 Remove RPM spec file 2004-07-29 09:27:17 +00:00
Marcel Holtmann
c2ce952c89 Remove RPM spec file 2004-07-29 09:26:14 +00:00
Marcel Holtmann
5105558375 Use simpler way to install bluez.pc 2004-07-28 07:09:49 +00:00
Marcel Holtmann
c37be1ab24 Make more parts optional 2004-07-27 13:01:42 +00:00
Marcel Holtmann
4a754e79fd No need to add ChangeLog to EXTRA_DIST 2004-07-21 15:31:39 +00:00
Marcel Holtmann
8d358dc737 No need to add ChangeLog to EXTRA_DIST 2004-07-21 15:31:20 +00:00
Marcel Holtmann
4df671d230 Update autoconf routines for better lib/lib64 checks 2004-07-21 15:24:22 +00:00
Marcel Holtmann
3429ef600f Make use of MAINTAINERCLEANFILES 2004-07-21 13:30:34 +00:00
Marcel Holtmann
7ab16cfb4c Change permission for bluez.pc file 2004-07-07 15:55:31 +00:00
Marcel Holtmann
72c595e96c Add PKGConfig support 2004-06-03 10:05:20 +00:00
Marcel Holtmann
bc08505422 Add Bluetooth backend for CUPS 2004-05-02 03:36:18 +00:00
Marcel Holtmann
2281c91ec7 Add the hidd utility 2004-04-28 16:16:19 +00:00
Marcel Holtmann
bc4cb70ddb Add the dund utility 2004-04-25 22:03:05 +00:00
Marcel Holtmann
965c347ab1 Add the pand utility 2004-04-25 21:54:11 +00:00
Marcel Holtmann
5a8fbb2366 Add sdpd subdirectory 2004-03-31 20:29:10 +00:00
Max Krasnyansky
976e691e5d Add RPM spec file. Configure fixes. 2002-12-21 06:47:32 +00:00
Max Krasnyansky
2ac228bc6f Add RPM spec file. 2002-12-21 05:17:15 +00:00
Marcel Holtmann
b5edb3c0a9 Move testing programs from tools directory into the test directory 2002-10-14 20:46:47 +00:00
Max Krasnyansky
6728b0dbbf Add RFCOMM TTY configuration tool. 2002-10-07 05:58:18 +00:00
Max Krasnyansky
9bf1d0ca2a Libtoolize and fix top level build.
Make cleanup.
2002-05-27 02:25:33 +00:00
Max Krasnyansky
ce0f133679 Libtoolize and fix top level build.
Make cleanup.
2002-05-27 02:25:33 +00:00
Max Krasnyansky
8e9ea9b77e Fix "make dist" 2002-05-17 01:09:28 +00:00
Max Krasnyansky
c7057958d5 Fix "make dist". 2002-05-17 01:01:13 +00:00
Max Krasnyansky
aced690cd4 Cleanup. 2002-03-12 18:59:15 +00:00
Max Krasnyansky
c98b2f82a4 Initial revision 2002-03-08 21:12:35 +00:00
Max Krasnyansky
a48d8b4639 Initial revision 2002-03-08 21:10:06 +00:00