OSDN Git Service
Johan Hedberg [Tue, 11 Dec 2012 05:42:53 +0000 (07:42 +0200)]
doc: Fix minor whitespace issues in obexd API
Szymon Janc [Fri, 23 Nov 2012 10:09:14 +0000 (11:09 +0100)]
sdpd-request: Fix build errors due to unaligned memory access
This fix following compilation errors on ARM.
CC src/bluetoothd-sdpd-request.o
src/sdpd-request.c: In function ‘extract_des’:
src/sdpd-request.c:186:17: error: cast increases required alignment of
target type [-Werror=cast-align]
src/sdpd-request.c:186:17: error: cast increases required alignment of
target type [-Werror=cast-align]
src/sdpd-request.c:210:17: error: cast increases required alignment of
target type [-Werror=cast-align]
src/sdpd-request.c:210:17: error: cast increases required alignment of
target type [-Werror=cast-align]
cc1: all warnings being treated as errors
make[1]: *** [src/bluetoothd-sdpd-request.o] Error 1
Szymon Janc [Fri, 23 Nov 2012 10:09:13 +0000 (11:09 +0100)]
monitor: Fix build errors due to unaligned memory access
This fix following compilation errors on ARM.
CC monitor/hcidump.o
monitor/hcidump.c: In function ‘device_callback’:
monitor/hcidump.c:147:11: error: cast increases required alignment of
target type [-Werror=cast-align]
monitor/hcidump.c:150:10: error: cast increases required alignment of
target type [-Werror=cast-align]
monitor/hcidump.c: In function ‘stack_internal_callback’:
monitor/hcidump.c:348:9: error: cast increases required alignment of
target type [-Werror=cast-align]
cc1: all warnings being treated as errors
make[1]: *** [monitor/hcidump.o] Error 1
CC monitor/control.o
monitor/control.c: In function ‘data_callback’:
monitor/control.c:584:10: error: cast increases required alignment of
target type [-Werror=cast-align]
cc1: all warnings being treated as errors
make[1]: *** [monitor/control.o] Error 1
Szymon Janc [Fri, 23 Nov 2012 10:09:12 +0000 (11:09 +0100)]
sdp: Fix build errors due to unaligned memory access
This fix following compilation errors on ARM.
CC lib/sdp.lo
lib/sdp.c: In function 'sdp_device_record_unregister_binary':
lib/sdp.c:2984:11: error: cast increases required alignment of
target type [-Werror=cast-align]
lib/sdp.c:2984:11: error: cast increases required alignment of
target type [-Werror=cast-align]
lib/sdp.c: In function 'sdp_device_record_update':
lib/sdp.c:3089:11: error: cast increases required alignment of
target type [-Werror=cast-align]
lib/sdp.c:3089:11: error: cast increases required alignment of
target type [-Werror=cast-align]
lib/sdp.c: In function 'sdp_process':
lib/sdp.c:4139:22: error: cast increases required alignment of
target type [-Werror=cast-align]
lib/sdp.c:4146:14: error: cast increases required alignment of
target type [-Werror=cast-align]
lib/sdp.c:4146:14: error: cast increases required alignment of
target type [-Werror=cast-align]
cc1: all warnings being treated as errors
make[1]: *** [lib/sdp.lo] Error 1
Szymon Janc [Fri, 23 Nov 2012 10:09:11 +0000 (11:09 +0100)]
sap-u8500: Fix build errors due to unaligned memory access
This fix following compilation error on ARM.
CC profiles/sap/sap-u8500.o
profiles/sap/sap-u8500.c: In function recv_card_status:
profiles/sap/sap-u8500.c:323:16: error: cast increases required
alignment of target type [-Werror=cast-align]
profiles/sap/sap-u8500.c: In function recv_response:
profiles/sap/sap-u8500.c:423:12: error: cast increases required
alignment of target type [-Werror=cast-align]
cc1: all warnings being treated as errors
Marcel Holtmann [Tue, 11 Dec 2012 00:37:52 +0000 (01:37 +0100)]
build: Enable tools compilation and installation by default
Marcel Holtmann [Tue, 11 Dec 2012 00:33:53 +0000 (01:33 +0100)]
build: Add skeleton for command line client
Marcel Holtmann [Mon, 10 Dec 2012 23:24:43 +0000 (00:24 +0100)]
build: Fix issue with tools dependencies
Marcel Holtmann [Mon, 10 Dec 2012 23:01:15 +0000 (00:01 +0100)]
build: Don't require USB support to build packages
Marcel Holtmann [Mon, 10 Dec 2012 22:39:26 +0000 (23:39 +0100)]
test: Remove outdated agent and gaptest utilities
Marcel Holtmann [Mon, 10 Dec 2012 22:35:40 +0000 (23:35 +0100)]
build: Don't install main.conf anymore
Marcel Holtmann [Mon, 10 Dec 2012 22:26:28 +0000 (23:26 +0100)]
core: Mention bluetoothd manual page
Marcel Holtmann [Mon, 10 Dec 2012 22:16:49 +0000 (23:16 +0100)]
obexd: Don't daemonize and just toggle foreground logging
Marcel Holtmann [Mon, 10 Dec 2012 22:16:20 +0000 (23:16 +0100)]
core: Don't daemonize and just toggle foreground logging
Marcel Holtmann [Mon, 10 Dec 2012 22:03:24 +0000 (23:03 +0100)]
doc: Add API documentation from obexd repository
Marcel Holtmann [Mon, 10 Dec 2012 22:01:18 +0000 (23:01 +0100)]
test: Add test scripts from obexd repository
Marcel Holtmann [Mon, 10 Dec 2012 21:56:05 +0000 (22:56 +0100)]
build: Put hid2hci udev rules next to the source code
Marcel Holtmann [Mon, 10 Dec 2012 21:48:44 +0000 (22:48 +0100)]
build: Move SAP plugin definition next to all other plugins
Marcel Holtmann [Mon, 10 Dec 2012 21:44:54 +0000 (22:44 +0100)]
build: Use one central place for all plugin definitions
Marcel Holtmann [Mon, 10 Dec 2012 21:34:47 +0000 (22:34 +0100)]
build: Do not install libbluetooth by default
Marcel Holtmann [Mon, 10 Dec 2012 21:06:22 +0000 (22:06 +0100)]
build: Add support for building Message Access profile
Marcel Holtmann [Mon, 10 Dec 2012 20:56:44 +0000 (21:56 +0100)]
build: Add support for building Phonebook Access profile
Marcel Holtmann [Mon, 10 Dec 2012 20:56:07 +0000 (21:56 +0100)]
build: Fix typo in udev configure statement
Marcel Holtmann [Mon, 10 Dec 2012 20:55:14 +0000 (21:55 +0100)]
build: Support OBEX USB and PC-Suite plugins
Vinicius Costa Gomes [Mon, 10 Dec 2012 20:24:12 +0000 (17:24 -0300)]
build: Fix 'hcitool' and 'bdaddr' compilation
Now with the addition of src/oui.c that depends on udev, these tools
should also be linked against libudev, in case libudev includes the
function udev_hwdb_new().
Build error:
CCLD tools/hcitool
CCLD tools/sdptool
CCLD tools/ciptool
CCLD tools/bccmd
src/oui.o: In function `batocomp':
/home/vinicius/work/bluez/src/oui.c:42: undefined reference to `udev_new'
/home/vinicius/work/bluez/src/oui.c:46: undefined reference to `udev_hwdb_new'
/home/vinicius/work/bluez/src/oui.c:50: undefined reference to `udev_hwdb_get_properties_list_entry'
/home/vinicius/work/bluez/src/oui.c:53: undefined reference to `udev_list_entry_get_name'
/home/vinicius/work/bluez/src/oui.c:52: undefined reference to `udev_list_entry_get_next'
/home/vinicius/work/bluez/src/oui.c:61: undefined reference to `udev_hwdb_unref'
/home/vinicius/work/bluez/src/oui.c:64: undefined reference to `udev_unref'
/home/vinicius/work/bluez/src/oui.c:56: undefined reference to `udev_list_entry_get_value'
collect2: error: ld returned 1 exit status
make[1]: *** [tools/hcitool] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
Marcel Holtmann [Mon, 10 Dec 2012 20:31:55 +0000 (21:31 +0100)]
build: Update configure option handling
Marcel Holtmann [Mon, 10 Dec 2012 19:22:17 +0000 (20:22 +0100)]
build: Always build the Wiimote plugin
Johan Hedberg [Mon, 10 Dec 2012 19:59:26 +0000 (21:59 +0200)]
audio: Remove non-existing struct declarations
João Paulo Rechi Vita [Mon, 10 Dec 2012 18:52:26 +0000 (15:52 -0300)]
audio: remove unused field from audio_device
Marcel Holtmann [Mon, 10 Dec 2012 13:39:49 +0000 (14:39 +0100)]
obexd: Build support for FTP and OBEX Push profiles
Luiz Augusto von Dentz [Mon, 10 Dec 2012 12:41:59 +0000 (14:41 +0200)]
audio: Remove more left over of headset removal
Szymon Janc [Wed, 5 Dec 2012 10:10:24 +0000 (11:10 +0100)]
audio: Remove src and dst from struct audio_device
Those are not used anymore as addresses are takes from btd_device
reference.
Szymon Janc [Wed, 5 Dec 2012 10:10:23 +0000 (11:10 +0100)]
avrcp: Don't use audio_device src field
Use address from btd_dev reference in audio_device to get source
address.
Szymon Janc [Wed, 5 Dec 2012 10:10:22 +0000 (11:10 +0100)]
audio: Don't use audio_device src and dst in manager_find_devices
Use addresses taken from btd_dev reference in audio_device to get
device source and destination.
Szymon Janc [Wed, 5 Dec 2012 10:10:21 +0000 (11:10 +0100)]
avdtp: Don't use audio_device src and dst fields in avdtp_confirm_cb
There is already src and dst available from bt_io.
Szymon Janc [Wed, 5 Dec 2012 10:10:20 +0000 (11:10 +0100)]
avctp: Don't use audio_device src and dst in avctp_control_confirm
Use src and dst addresses from btd_dev reference.
Szymon Janc [Wed, 5 Dec 2012 10:10:19 +0000 (11:10 +0100)]
avctp: Convert avctp_get to accept audio_device
Use addresses taken from btd_dev reference in audio_device to get
session source and destination.
Szymon Janc [Wed, 5 Dec 2012 10:10:18 +0000 (11:10 +0100)]
avctp: Convert avctp_connect to accept audio_device
Use addresses taken from btd_dev reference in audio_device to get
session source and destination.
Szymon Janc [Wed, 5 Dec 2012 10:10:17 +0000 (11:10 +0100)]
avdtp: Convert avdtp_is_connected to accept audio_device
Use addresses taken from btd_dev reference in audio_device to get
session source and destination.
Szymon Janc [Wed, 5 Dec 2012 10:10:16 +0000 (11:10 +0100)]
avdtp: Convert avdtp_get to accept audio_device
Use addresses taken from btd_dev reference in audio_device to get
session source and destination.
Luiz Augusto von Dentz [Mon, 10 Dec 2012 12:02:27 +0000 (14:02 +0200)]
build: Remove left over of gstreamer removal
Johan Hedberg [Mon, 10 Dec 2012 11:52:29 +0000 (13:52 +0200)]
core: Remove unused adapter off_timer variable
Johan Hedberg [Mon, 10 Dec 2012 11:43:29 +0000 (13:43 +0200)]
core: Remove unused adapter powered callbacks feature
Johan Hedberg [Mon, 10 Dec 2012 11:42:25 +0000 (13:42 +0200)]
core: Remove useless bt_hci_result_t typedef
Johan Hedberg [Mon, 10 Dec 2012 11:41:14 +0000 (13:41 +0200)]
core: Remove useless btd_adapter_enable_auto_connect function
Johan Hedberg [Mon, 10 Dec 2012 11:39:58 +0000 (13:39 +0200)]
core: Remove useless adapter_powering_down function
Johan Hedberg [Mon, 10 Dec 2012 11:39:08 +0000 (13:39 +0200)]
core: Remove useless adapter_any_get_path function
Johan Hedberg [Mon, 10 Dec 2012 11:36:17 +0000 (13:36 +0200)]
core: Remove useless adapter_has_discov_sessions function
Johan Hedberg [Mon, 10 Dec 2012 11:28:46 +0000 (13:28 +0200)]
core: Remove useless device_is_creating function
Johan Hedberg [Mon, 10 Dec 2012 11:25:35 +0000 (13:25 +0200)]
device: Merge device_create_bonding() into pair_device()
Johan Hedberg [Mon, 10 Dec 2012 11:22:26 +0000 (13:22 +0200)]
core: Make device_create_bonding private to device.c
Johan Hedberg [Mon, 10 Dec 2012 11:16:53 +0000 (13:16 +0200)]
core: Remove unused device_is_busy function
Johan Hedberg [Mon, 10 Dec 2012 11:13:24 +0000 (13:13 +0200)]
core: Pass explicit address type info when creating device objects
Johan Hedberg [Mon, 10 Dec 2012 10:49:34 +0000 (12:49 +0200)]
core: Make device_browse_primary and device_browse_sdp private
These functions are not needed outside of device.c so make them private.
There is however an unfortunate circular dependency which mandates
forward declarations: dev_connect may need to discover services and upon
completion the dev_connect sequence needs to be retried.
Johan Hedberg [Mon, 10 Dec 2012 08:58:23 +0000 (10:58 +0200)]
TODO: All deprecated APIs are already gone
Marcel Holtmann [Mon, 10 Dec 2012 00:25:02 +0000 (01:25 +0100)]
core: Set LimitNPROC and CapabilityBoundingSet options
Marcel Holtmann [Mon, 10 Dec 2012 00:13:11 +0000 (01:13 +0100)]
core: Add options for systemd status notification and watchdog
Marcel Holtmann [Mon, 10 Dec 2012 00:11:34 +0000 (01:11 +0100)]
core: Add support for systemd watchdog handling
Marcel Holtmann [Mon, 10 Dec 2012 00:10:40 +0000 (01:10 +0100)]
core: Provide implementation for sd_notify helper
Marcel Holtmann [Sun, 9 Dec 2012 23:05:50 +0000 (00:05 +0100)]
build: Always generate bluetooth.service file
Marcel Holtmann [Sun, 9 Dec 2012 22:58:51 +0000 (23:58 +0100)]
core: Add stub for systemd notification integration
Marcel Holtmann [Sun, 9 Dec 2012 19:58:24 +0000 (20:58 +0100)]
test: Move mpris-player utility into tools directory
Marcel Holtmann [Sun, 9 Dec 2012 19:54:33 +0000 (20:54 +0100)]
test: Move btiotest utility into tools directory
Marcel Holtmann [Sun, 9 Dec 2012 19:47:10 +0000 (20:47 +0100)]
test: Move bdaddr utility into tools directory
Marcel Holtmann [Sun, 9 Dec 2012 14:44:21 +0000 (15:44 +0100)]
README: Lexical Analyzer and YACC is no longer needed
Marcel Holtmann [Sun, 9 Dec 2012 14:10:51 +0000 (15:10 +0100)]
build: Reorder tools section
Marcel Holtmann [Sun, 9 Dec 2012 13:53:38 +0000 (14:53 +0100)]
build: Remove another left-over from .gitignore
Marcel Holtmann [Sun, 9 Dec 2012 13:52:45 +0000 (14:52 +0100)]
test: Remove deprecated hciemu utility
Marcel Holtmann [Sun, 9 Dec 2012 13:50:32 +0000 (14:50 +0100)]
test: Remove unused lmptest utility
Marcel Holtmann [Sun, 9 Dec 2012 13:48:48 +0000 (14:48 +0100)]
test: Remove unused sdptest utility
Marcel Holtmann [Sun, 9 Dec 2012 13:47:43 +0000 (14:47 +0100)]
test: Move scotest utility into tools directory
Marcel Holtmann [Sun, 9 Dec 2012 13:44:19 +0000 (14:44 +0100)]
test: Move rctest utility into tools directory
Marcel Holtmann [Sun, 9 Dec 2012 13:37:30 +0000 (14:37 +0100)]
test: Move l2test utility into tools directory
Marcel Holtmann [Sun, 9 Dec 2012 13:30:33 +0000 (14:30 +0100)]
test: Move avtest utility into tools directory
Marcel Holtmann [Sun, 9 Dec 2012 13:27:30 +0000 (14:27 +0100)]
unit: Convert test-textfile utility into a real unit test
Marcel Holtmann [Sun, 9 Dec 2012 12:15:27 +0000 (13:15 +0100)]
unit: Add test-textfile to list of unit tests
Marcel Holtmann [Sun, 9 Dec 2012 11:46:11 +0000 (12:46 +0100)]
unit: Convert uuidtest utility into a real unit test
Marcel Holtmann [Sun, 9 Dec 2012 10:19:53 +0000 (11:19 +0100)]
build: Use libexecdir for Bluetooth daemon
Marcel Holtmann [Sun, 9 Dec 2012 10:03:46 +0000 (11:03 +0100)]
build: Move all programs to be installed into bin directory
Marcel Holtmann [Sun, 9 Dec 2012 10:03:11 +0000 (11:03 +0100)]
tools: Remove reference to old SDP daemon
Marcel Holtmann [Sun, 9 Dec 2012 09:48:23 +0000 (10:48 +0100)]
build: Remove unused hstest utility
Marcel Holtmann [Sun, 9 Dec 2012 09:44:04 +0000 (10:44 +0100)]
build: Remove unused attest utility
Marcel Holtmann [Sun, 9 Dec 2012 09:37:26 +0000 (10:37 +0100)]
build: Remove left-over from telephony driver framework
Marcel Holtmann [Sun, 9 Dec 2012 09:35:21 +0000 (10:35 +0100)]
unit: Always return with g_test_run() return value
Marcel Holtmann [Sun, 9 Dec 2012 09:33:32 +0000 (10:33 +0100)]
build: Remove dependency for check library
Marcel Holtmann [Sun, 9 Dec 2012 09:29:40 +0000 (10:29 +0100)]
unit: Use GTest for EIR unit test
Marcel Holtmann [Sun, 9 Dec 2012 09:17:57 +0000 (10:17 +0100)]
build: Enable bccmd utility when tools are enabled
Marcel Holtmann [Sun, 9 Dec 2012 09:09:44 +0000 (10:09 +0100)]
build: Move GATT example plugin to Makefile.plugins
Marcel Holtmann [Sun, 9 Dec 2012 09:05:17 +0000 (10:05 +0100)]
build: Use a separate Makefile.plugins
Marcel Holtmann [Sun, 9 Dec 2012 09:00:40 +0000 (10:00 +0100)]
build: Remove left-over $(mcap_sources) variable
Marcel Holtmann [Sun, 9 Dec 2012 00:34:45 +0000 (01:34 +0100)]
build: Remove another left-over from .gitignore
Marcel Holtmann [Sun, 9 Dec 2012 00:32:09 +0000 (01:32 +0100)]
build: Remove unused empty storage plugin stub
Marcel Holtmann [Sun, 9 Dec 2012 00:26:22 +0000 (01:26 +0100)]
build: Use a separate Makefile.profiles
Marcel Holtmann [Sun, 9 Dec 2012 00:05:34 +0000 (01:05 +0100)]
build: Remove two left-overs from .gitignore
Marcel Holtmann [Sat, 8 Dec 2012 23:59:22 +0000 (00:59 +0100)]
build: Remove old PCMCIA serial support
Marcel Holtmann [Sat, 8 Dec 2012 23:49:40 +0000 (00:49 +0100)]
tools: Remove dfutool utility
This tool got replaced with dfu-util from http://dfu-util.gnumonks.org/
Marcel Holtmann [Sat, 8 Dec 2012 23:42:26 +0000 (00:42 +0100)]
build: Remove compat helper for ppoll
Marcel Holtmann [Sat, 8 Dec 2012 23:42:07 +0000 (00:42 +0100)]
tools: Remove include of compat ppoll header
Marcel Holtmann [Sat, 8 Dec 2012 23:38:39 +0000 (00:38 +0100)]
build: Compile bluetoothd without OUI helper function
Marcel Holtmann [Sat, 8 Dec 2012 23:27:20 +0000 (00:27 +0100)]
core: Add support for udev based batocomp implementation