Commit Graph

417 Commits

Author SHA1 Message Date
Anderson Lizardo
a9544b8062 unit: Add initial SDP library unit tests
These tests will cover all public SDP library API not covered yet by the
tests in test-sdp.c (which focus on the SDP server).
2013-02-18 09:55:03 +02:00
Marcel Holtmann
faf2b418e1 build: Update library version 2013-01-11 10:37:24 -08:00
Marcel Holtmann
9252aec7f5 build: Enable Bluetooth library for distribution builds 2013-01-09 20:32:40 -08:00
Marcel Holtmann
1b7226cb33 build: Only install old legacy Bluetooth library headers 2013-01-09 20:32:12 -08:00
Johan Hedberg
d69fd6bacf core: Remove no longer used src/mgmt.{c,h} 2013-01-08 13:29:30 +02:00
Marcel Holtmann
187da51fb3 unit: Add tool for testing the SDP protocol PDUs 2013-01-03 21:26:54 -08:00
Marcel Holtmann
d146d07c9a unit: Add simpler mgmt unit test utility 2013-01-03 15:51:30 -08:00
Johan Hedberg
4963a4c6ae core: Introduce initial hooks to new mgmt code for adapter.c 2013-01-03 16:57:28 +02:00
Johan Hedberg
0a67ad2c8e core: Remove manager.{c,h} 2013-01-03 14:48:04 +02:00
Marcel Holtmann
56cb133d69 build: Update library version 2012-12-23 14:37:56 -08:00
Marcel Holtmann
e33fe5dec2 build: Add magic file for BTSnoop file format 2012-12-21 15:13:07 -08:00
Anderson Lizardo
b75058fd36 build: Fix installing udev rules file when $(srcdir) != $(builddir)
Path to files on source tree should be prefixed with $(srcdir),
otherwise they are not found if $(srcdir) != $(builddir).
2012-12-22 00:15:52 +02:00
Marcel Holtmann
0986cd07af build: Include obex-api.txt and obex-agent-api.txt into package 2012-12-21 17:59:04 +01:00
Marcel Holtmann
2f2a5066ad build: Split documentation files into multiple separate lists 2012-12-21 09:48:17 +01:00
Marcel Holtmann
f41f255555 doc: Remove outdated audio-telephony-design.txt for now
Since the document has large portions that are outdated, remove it
for now. It should be brought back with updated information later on.
2012-12-21 09:48:17 +01:00
Marcel Holtmann
2935c04e3d build: Remove support for external OOB plugin 2012-12-20 00:23:53 +01:00
Marcel Holtmann
1156c04dbc build: Remove doc/control-api.txt from package 2012-12-20 00:17:21 +01:00
Marcel Holtmann
55bf340c04 build: Move bluez.pc into the library directory 2012-12-19 18:27:14 +01:00
Marcel Holtmann
af9464b0f2 build: Don't create empty udev rules.d directory
When UDEV_DIR is empty it will create "/rules.d" directory which is
not desired. So check for enabled HID2HCI support before installing
any udev rules.
2012-12-19 15:03:45 +01:00
Marcel Holtmann
e289901615 build: Move EXTRA_DIST for systemd files into same location 2012-12-18 21:44:47 +01:00
Marcel Holtmann
81ae935d1b unit: Add test case for D-Bus client connect/disconnect handling 2012-12-16 23:03:16 +01:00
Marcel Holtmann
68b42ae96a build: Remove left-overs from previous cleanup 2012-12-13 15:14:39 +01:00
Johan Hedberg
076d3dbc6c core: Remove attribute client API
There will be a more comprehensive API coming soon and we don't want to
have this one around for 5.0 since it'd immediately have to be
deprecated.
2012-12-13 14:12:47 +02:00
Marcel Holtmann
01be8a3196 build: Compile support for new D-Bus client helpers 2012-12-12 21:59:25 +01:00
Johan Hedberg
c4c9436697 plugins: Remove service plugin (replaced by Profile interface) 2012-12-12 14:01:14 +02:00
Marcel Holtmann
a18a70c898 build: Add support for installing test scripts if requested 2012-12-11 22:28:15 +01:00
Marcel Holtmann
df13abbc7f build: Use @libexecdir@/bluetooth path for daemons 2012-12-11 21:46:00 +01:00
Marcel Holtmann
e57efd6fbb build: Add option for D-Bus system bus services directory 2012-12-11 17:55:24 +01:00
Marcel Holtmann
f3b0e90c18 build: Don't use systemd integration when building package 2012-12-11 15:35:56 +01:00
Marcel Holtmann
52519d6a72 build: Use D-Bus config directory and not guess it 2012-12-11 15:32:04 +01:00
Marcel Holtmann
c7476c4e65 build: Handle systemd system and user unit directories 2012-12-11 14:52:23 +01:00
Marcel Holtmann
9bb8b24201 build: Don't require USB support to build packages 2012-12-11 00:01:15 +01:00
Marcel Holtmann
c909e32f1f build: Don't install main.conf anymore 2012-12-10 23:35:40 +01:00
Marcel Holtmann
7ca701a612 build: Put hid2hci udev rules next to the source code 2012-12-10 22:56:05 +01:00
Marcel Holtmann
62b1cf40d5 build: Move SAP plugin definition next to all other plugins 2012-12-10 22:48:44 +01:00
Marcel Holtmann
9356713283 build: Use one central place for all plugin definitions 2012-12-10 22:44:54 +01:00
Marcel Holtmann
a66050d7f4 build: Do not install libbluetooth by default 2012-12-10 22:34:47 +01:00
Marcel Holtmann
cc9e4e7cae build: Update configure option handling 2012-12-10 21:32:51 +01:00
Marcel Holtmann
658196b2a5 build: Always generate bluetooth.service file 2012-12-10 00:05:50 +01:00
Marcel Holtmann
41b411a391 core: Add stub for systemd notification integration 2012-12-09 23:58:51 +01:00
Marcel Holtmann
184b7fc867 unit: Add test-textfile to list of unit tests 2012-12-09 13:15:27 +01:00
Marcel Holtmann
68f4f17a7e unit: Convert uuidtest utility into a real unit test 2012-12-09 12:46:11 +01:00
Marcel Holtmann
5a2fda0be9 build: Use libexecdir for Bluetooth daemon 2012-12-09 11:19:53 +01:00
Marcel Holtmann
292a37990c build: Remove dependency for check library 2012-12-09 10:33:32 +01:00
Marcel Holtmann
9507ea3a91 build: Use a separate Makefile.plugins 2012-12-09 10:05:17 +01:00
Marcel Holtmann
d8fa61f92a build: Remove left-over $(mcap_sources) variable 2012-12-09 10:00:40 +01:00
Marcel Holtmann
149803cffb build: Remove unused empty storage plugin stub 2012-12-09 01:32:09 +01:00
Marcel Holtmann
bc974ed905 build: Use a separate Makefile.profiles 2012-12-09 01:26:22 +01:00
Marcel Holtmann
f6168cfe82 build: Remove old PCMCIA serial support 2012-12-09 00:59:22 +01:00
Marcel Holtmann
3b886d255b build: Remove compat helper for ppoll 2012-12-09 00:42:26 +01:00
Marcel Holtmann
8ece6196e2 build: Compile bluetoothd without OUI helper function 2012-12-09 00:38:39 +01:00
Johan Hedberg
b8779d2202 Revert "Ensure config.h is included by using CPPFLAGS"
This reverts commit 8a03376544.

The patch needs to be split up and the gdbus/ changes were bogus
compared to the original commit message.

Conflicts:
	Makefile.am
	Makefile.obexd
	profiles/cyclingspeed/cyclingspeed.c
	profiles/heartrate/heartrate.c
	src/error.c
2012-12-07 12:46:04 +02:00
Lucas De Marchi
49b5612042 Use the entire include path for btio.h 2012-12-05 17:23:04 +02:00
Lucas De Marchi
aa77b0bea9 Use the entire include path for gdbus.h 2012-12-05 17:23:03 +02:00
Lucas De Marchi
c61a78c877 build-sys: Add missing force arg to symlink creation
If we don't force the symlink creation the build fails when the link
already exists. This happens if the rule to create the link is triggered
again because the file it points to changed. This is the case when doing
incremental builds and we modified the file.

$ make
$ touch lib/cmtp.h
$ make
  GEN      lib/bluetooth/cmtp.h
ln: failed to create symbolic link ‘lib/bluetooth/cmtp.h’: File exists
make: *** [lib/bluetooth/cmtp.h] Error 1
make: *** Waiting for unfinished jobs....
2012-12-05 17:23:03 +02:00
Lucas De Marchi
8a03376544 Ensure config.h is included by using CPPFLAGS
Instead of trying to include config.h in each file over the tree and
possibly forgetting to include it, give a "-include config.h" argument
to the compiler so it's guaranteed that a) it will be included for all
source files and b) it will be the first header included.

gdbus/ directory is left out, since it would break other projects using
it.
2012-12-05 17:18:07 +02:00
Mikel Astiz
86a7b07c22 dbus: Remove org.bluez.Manager
After the decision to drop the "default-adapter" feature in the D-Bus
API, the org.bluez.Manager interface can be entirely dropped since it
has been replaced by the ObjectManager.
2012-12-05 16:40:12 +02:00
Andrzej Kaczmarek
3b4574cbf2 build: Add CSCP API document to EXTRA_DIST 2012-12-05 10:14:35 +02:00
Andrzej Kaczmarek
941c44472a cyclingspeed: Add CSC profile plugin skeleton
This patch adds stub profile driver plugin for CSC profile.
2012-12-05 10:08:43 +02:00
Marcel Holtmann
41aa85d123 build: Compile obexd and obex-client 2012-12-04 23:38:48 +01:00
Marcel Holtmann
855f220dae build: Add gobex sources and tools 2012-12-04 22:22:27 +01:00
Johan Hedberg
eba1c40cb5 core: Remove unused event.{c,h} 2012-12-04 13:21:26 +02:00
Johan Hedberg
4c7dd07277 build: Add missing lib/amp.h to Makefile.am 2012-11-30 12:44:48 +02:00
Luiz Augusto von Dentz
972e90cc1c build: Fix make distcheck
Remove doc/input-api.txt and doc/audio-api.txt also from Makefile.am
2012-11-26 17:41:35 +02:00
Frédéric Danis
dc7be9cbbd doc: Add HFP design document 2012-11-21 13:05:17 +02:00
Marcel Holtmann
ce06826bd7 build: Remove stupid -I directives 2012-11-20 16:12:51 +01:00
Luiz Augusto von Dentz
28913ce349 hfp-api: Remove HandsfreeGateway interface
This API is not longer supported
2012-11-14 15:10:07 +02:00
Luiz Augusto von Dentz
fce327a0af audio: Move to profiles directory 2012-11-13 16:24:25 +02:00
Luiz Augusto von Dentz
5f8166c466 build: Remove gateway.c and gateway.h 2012-11-13 16:24:23 +02:00
Luiz Augusto von Dentz
c64cb602ce build: Remove telephony.h 2012-11-13 16:23:38 +02:00
Luiz Augusto von Dentz
95c8234c92 build: Remove headset.c and headset.h 2012-11-13 16:23:38 +02:00
Luiz Augusto von Dentz
79c8009d46 build: Remove telephony-dummy.c 2012-11-13 16:23:38 +02:00
Luiz Augusto von Dentz
e58e672636 build: Remove telephony-ofono.c 2012-11-13 16:23:34 +02:00
Luiz Augusto von Dentz
2af3af8dc1 build: Remove telephony-maemo6.c 2012-11-13 16:23:14 +02:00
Luiz Augusto von Dentz
8a60bd0f4b build: Remove telephony-maemo5.c 2012-11-13 16:22:39 +02:00
Anderson Lizardo
77796c9f7b build: Fix make distcheck for input plugin
suspend.c is a symlink generated at build time, therefore it should be
created on build directory. Additionally, it is necessary to add
-I$(srcdir)/profiles/input to CPPFLAGS so suspend.h can be found (the
compiler does not follow symlinks prior to resolving #include
directives).
2012-11-13 10:05:18 +02:00
Marcel Holtmann
c4858bbf24 build: Always enable GATT support 2012-11-09 20:30:54 +01:00
Marcel Holtmann
c52ae81e53 build: Remove SBC source files 2012-11-09 10:03:22 +01:00
Marcel Holtmann
8d439d85b3 build: Remove option to build SBC support 2012-11-09 09:57:08 +01:00
Marcel Holtmann
15df7842e1 build: Remove option to build GStreamer plugin 2012-11-09 09:49:22 +01:00
Luiz Augusto von Dentz
80b085fc97 audio: Export remote player as children object path of device
The object implements org.bluez.MediaPlayer similar to the target role.
2012-10-31 10:37:39 +02:00
João Paulo Rechi Vita
394b893a4d build: Fix selecting HoG suspend backend
The dummy backend was always being compiled and the --with-hog-suspend
option was not being accepted by configure. Now the backend can be
selected with --with-hog-suspend and the suspend implementation file is
generated during compile time.
2012-10-30 14:12:08 +02:00
Lucas De Marchi
4cfce686ab build-sys: Remove leftover AM_YFLAGS 2012-10-09 23:15:44 +02:00
Andrzej Kaczmarek
e90b16a04d build: Add missing documentation files to EXTRA_DIST
This patch adds missing documentation files to EXTRA_DIST variable so
they are included when creating tarball.
2012-10-09 18:45:32 +02:00
Lucas De Marchi
d21f6a666a build-sys: Don't use deprecated INCLUDES variable
Makefile.am:410: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
2012-10-04 11:23:59 +03:00
Szymon Janc
fd1e9c5852 Add initial neard plugin implementation
Initial implementation. Only register and unregister support.
2012-10-03 22:44:51 +03:00
Szymon Janc
94667c8290 oob: Refactor oob callback handling and move it to adapter code
This allows oob plugin to register for callback after executing
certain action on adapter. Currently reading local OOB data and
pairing is supported. It should be easy to support more callbacks
in future if needed e.g. powering on.

Thanks to this plugin is not required to duplicate code that would
validate adapter/device when callback is received as callback condition
is check in adapter.

It also allows to pass user data which will be provided back when cb
is called further reducing plugin code.
2012-10-03 22:44:15 +03:00
Anderson Lizardo
4d629a9656 alert: Introduce manager abstraction layer
This abstraction layer makes the GATT Phone Alert Status and Alert
Notification implementation consistent with other GATT profiles.
2012-10-03 22:21:07 +03:00
Anderson Lizardo
bbaccd71b0 doc: Introduce Alert API
This API will be implemented and initially used by Phone Alert Status
and Alert Notification GATT profiles (server role).
2012-10-03 22:20:17 +03:00
Johan Hedberg
c17ef83d60 build: Add missing heartrate to builtin_modules 2012-09-28 16:56:49 +03:00
Rafal Garbat
bada796a03 heartrate: Add initial HRP client support
This patch adds initial support for the Heart Rate Profile client.
Profile driver is registered to keep track of adapters and devices.
2012-09-28 13:14:09 +03:00
Claudio Takahasi
02dd29d72e scan: Add ATTIO callbacks registration
This patch add the functions to manage ATTIO callbacks. The current
registration mechanism is not suitable for this service since it needs
to be passive. Scan Parameters should not actively request connections,
it needs to be notified if the connections has been established
requested by other services.
2012-09-28 13:03:35 +03:00
Claudio Takahasi
1342e68c29 scan: Register profile
This patch add the probe and remove callbacks for the GATT Scan
Parameters service.
2012-09-28 13:00:41 +03:00
Claudio Takahasi
ef697e827d scan: Add plugin skeleton
This patch adds the Makefile changes and plugin declaration to support
Scan Parameters service. BlueZ will act as Scan Client writting to a Scan
Server the scanning parameters.
2012-09-28 12:59:28 +03:00
Claudio Takahasi
16a8c88963 hog: Add suspend back-end selection
This patch series introduces back-end selection for HoG suspend drivers.
The default back-end is called "dummy", added for testing purpose only.
2012-09-28 12:55:25 +03:00
Claudio Takahasi
df78f047c0 hog: Add initial files for suspend support
This patch adds the initial files to support HoG suspend. The suspend
concept for HoG is implementation specific. The proposal is allowing
back-end selection at build time. Each Linux distribution/platform is
responsible for defining and writting their own policy to manage suspend
on HoG capable devices.

When setting the Control Point, the report device can execute actions to
save power. eg: Reduce the cycle of the key press detection or disable
LEDs.
2012-09-28 12:53:01 +03:00
Johan Hedberg
246f60f6a2 doc: Add profile API documentation 2012-09-25 17:39:02 +03:00
Johan Hedberg
2e16cbf325 input: Remove fakhid functionality
The HSP code conflicts with a real HSP implementation and the PS3
support should be done through the kernel.
2012-09-11 11:29:58 +03:00
Johan Hedberg
b1cde69a66 core: Move profile code into profile.{c,h} 2012-09-11 11:29:57 +03:00
Claudio Takahasi
e6bba78960 gatt: Add GAP/GATT device registration
This patch adds GAP/GATT device driver probe function and the skeleton
of the register GAP/GATT device function.
2012-08-20 12:10:01 +03:00