| 7699549b |
unit: Fix remaining references to bluetooth/uuid.h
These headers are not public anymore, so need to use "lib/uuid.h". |
Anderson Lizardo |
13 years ago |
1 file, +2, -1 |
| 5434627c |
attrib: Fix remaining references to bluetooth/uuid.h
These headers are not public anymore, so need to use "lib/uuid.h". |
Anderson Lizardo |
13 years ago |
7 files, +8, -9 |
| 77b3c8e1 |
proximity: Fix remaining references to bluetooth/uuid.h
These headers are not public anymore, so need to use "lib/uuid.h". |
Anderson Lizardo |
13 years ago |
4 files, +4, -4 |
| 3e05e2de |
time: Fix remaining references to bluetooth/uuid.h
These headers are not public anymore, so need to use "lib/uuid.h". |
Anderson Lizardo |
13 years ago |
1 file, +1, -2 |
| 1f40f4d9 |
alert: Fix remaining references to bluetooth/uuid.h
These headers are not public anymore, so need to use "lib/uuid.h". |
Anderson Lizardo |
13 years ago |
1 file, +1, -1 |
| 9da3948b |
scanparam: Fix remaining references to bluetooth/uuid.h
These headers are not public anymore, so need to use "lib/uuid.h". |
Anderson Lizardo |
13 years ago |
1 file, +1, -1 |
| 753bb9e2 |
gatt: Fix remaining references to bluetooth/uuid.h
These headers are not public anymore, so need to use "lib/uuid.h". |
Anderson Lizardo |
13 years ago |
1 file, +1, -1 |
| cdb2d6a5 |
input: Fix remaining references to bluetooth/uuid.h
These headers are not public anymore, so need to use "lib/uuid.h". |
Anderson Lizardo |
13 years ago |
1 file, +1, -1 |
| dbb2b838 |
plugins: Fix remaining references to bluetooth/uuid.h
These headers are not public anymore, so need to use "lib/uuid.h". |
Anderson Lizardo |
13 years ago |
1 file, +1, -1 |
| 377845f1 |
core: Fix remaining references to bluetooth/uuid.h
These headers are not public anymore, so need to use "lib/uuid.h". |
Anderson Lizardo |
13 years ago |
3 files, +3, -3 |
| e90c260d |
unit: Avoid D-Bus calling _exit() during SDP tests
While running tests, the D-Bus library was set to call _exit() when the
client leaves the bus. This caused the second test to be interrupted
without providing a PASS/FAIL result. This was confirmed by running
test-sdp with DBUS_VERBOSE=1.
This commit disables this behavior, which does not exist on BlueZ
because g_dbus_set_disconnect_function() implicitly does this. |
Anderson Lizardo |
13 years ago |
1 file, +3, -0 |
| 5c3174b4 |
tools: Fix up testing of discoverable management command |
Marcel Holtmann |
13 years ago |
1 file, +44, -16 |
| 15e74b99 |
doc: Clarify the error codes of some management commands |
Marcel Holtmann |
13 years ago |
1 file, +33, -22 |
| 9252aec7 |
build: Enable Bluetooth library for distribution builds |
Marcel Holtmann |
13 years ago |
1 file, +2, -2 |
| 1b7226cb |
build: Only install old legacy Bluetooth library headers |
Marcel Holtmann |
13 years ago |
1 file, +10, -8 |
| c5d3784f |
monitor: Fix includes from Bluetooth library |
Marcel Holtmann |
13 years ago |
1 file, +3, -3 |
| 00e7dde4 |
tools: Fix includes for mgmt.h |
Marcel Holtmann |
13 years ago |
1 file, +2, -1 |
| 86cd7d08 |
obexd: Fix includes for uuid.h |
Marcel Holtmann |
13 years ago |
1 file, +1, -1 |
| 211412b8 |
profiles: Fix includes for uuid.h |
Marcel Holtmann |
13 years ago |
21 files, +26, -28 |
| 935f00c3 |
core: Fix includes for mgmt.h and uuid.h |
Marcel Holtmann |
13 years ago |
3 files, +6, -6 |
| 72a0a706 |
shared: Remove redundant include |
Marcel Holtmann |
13 years ago |
1 file, +0, -1 |
| e26f64b0 |
tools: Remove redundant include |
Marcel Holtmann |
13 years ago |
1 file, +0, -1 |
| 6861b49c |
lib: Remove all management settings helpers since they are unused now |
Marcel Holtmann |
13 years ago |
1 file, +0, -25 |
| f4f6f229 |
core: Fix setting up discoverable from stored settings on power on |
Marcel Holtmann |
13 years ago |
1 file, +38, -45 |
| 454e1dee |
lib: Remove current unused management settings helpers |
Marcel Holtmann |
13 years ago |
1 file, +0, -20 |
| 82ab825b |
shared: Use < for management commands and > for events |
Marcel Holtmann |
13 years ago |
1 file, +2, -2 |
| ee0c0702 |
core: Add support for graceful shutdown of adapters |
Marcel Holtmann |
13 years ago |
4 files, +68, -6 |
| 6600b258 |
unit: Print D-Bus error message in verbose mode
If g_dbus_setup_private() fails (e.g. a session bus is not available,
and there is no X11 for dbus-launch to work), the tests are silently
skipped.
With this commit, the D-Bus error message is also printed if verbose
mode is enabled. The test is still skipped as before. |
Anderson Lizardo |
13 years ago |
1 file, +11, -1 |
| 30d3b6d4 |
core: Don't bother with return value for setting device class |
Marcel Holtmann |
13 years ago |
2 files, +10, -13 |
| 1500f1f6 |
core: Don't bother with major and minor class for LE only adapters
In case the adapter supports only Low Energy, don't even try to set
major and minor classes for the kernel. |
Marcel Holtmann |
13 years ago |
1 file, +10, -0 |
| e3a6442a |
core: Load link keys and long term keys only when controller supports it
Check for BR/EDR support before loading link keys and check for LE support
before loading long term keys.
This has the nice benefit that for BR/EDR only controllers the warning
message from the kernel bug for loading long term keys is gone now. And
only systems with dual mode controllers will expierence it. Makes it a
little bit less confusing. |
Marcel Holtmann |
13 years ago |
1 file, +23, -0 |
| db7db9c8 |
doc: Add missing empty return parameters for load long term keys |
Marcel Holtmann |
13 years ago |
1 file, +1, -0 |
| 38c4c17d |
unit: Add advertising data from Cookoo watch for testing |
Marcel Holtmann |
13 years ago |
1 file, +15, -0 |
| 47f40b55 |
unit: Rename x_pdu() macro on SDP test program
Using the "raw_data" name makes sense, given the macro is just casting
input (raw) data. It will also be reused in other tests with raw input
data.
Also fix this minor checkpatch.pl error:
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in
parenthesis
+#define raw_data(args...) (const unsigned char[]) { args } |
Anderson Lizardo |
13 years ago |
1 file, +5, -5 |
| c71f05f6 |
unit: Reuse define_test() macro for /TP/SERVER/BRW/* tests
This is made possible by adding the mtu parameter, given
/TP/SERVER/BRW/* tests use MTU of 672. |
Anderson Lizardo |
13 years ago |
1 file, +6, -18 |
| 3bcea1a1 |
core: Fix canceling all types of agent requests
When we get a bonding complete we should take care to cancel any kind of
potential pending agent requests. This can (and will) particularly
occur if there are multiple mgmt sockets around and some other mgmt
socket responded to the authentication request. |
Johan Hedberg |
13 years ago |
1 file, +1, -2 |
| 1e78da0e |
sdp-xml: Remove newline before EOF |
Syam Sidhardhan |
13 years ago |
1 file, +0, -1 |
| 4780944e |
audio: Remove unused struct audio_adapter |
Syam Sidhardhan |
13 years ago |
1 file, +0, -6 |
| 4c4872c0 |
unit: Replace g_test_fail() with g_assert_not_reached()
g_test_fail() is introduced in Glib v2.30 and we are using Glib v2.28 as
the minimum requirement for the build. This patch resolves the
compilation error that happen with Glib v2.28.
Error log:
CC unit/test-mgmt.o
unit/test-mgmt.c: In function ‘check_actions’:
unit/test-mgmt.c:100:2: error: implicit declaration of
function ‘g_test_fail’ [-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors
make[1]: *** [unit/test-mgmt.o] Error 1
make: *** [all] Error 2 |
Syam Sidhardhan |
13 years ago |
1 file, +1, -1 |
| c112d459 |
health: Fix possible use after free
A pointer to freed memory is dereferenced if we call function
channel_acquire_continue() with out any earlier reference. |
Syam Sidhardhan |
13 years ago |
1 file, +1, -1 |
| 1f8d0d30 |
health: Fix pointer to local variable out-of-scope
The address of the local variable is used outside the scope. |
Syam Sidhardhan |
13 years ago |
1 file, +4, -8 |
| 8aa2d757 |
unit: Fix hardcoded test for complete name in EIR |
Johan Hedberg |
13 years ago |
1 file, +1, -1 |
| c074bb36 |
tools: Add helper for extracting advertising data out of btsnoop files |
Marcel Holtmann |
13 years ago |
1 file, +73, -0 |
| 989cd2fd |
unit: Add advertising data from Wahoo BlueSC for testing |
Marcel Holtmann |
13 years ago |
1 file, +18, -2 |
| 040000d6 |
unit: Add inquiry data from Nike+ FuelBand for testing |
Marcel Holtmann |
13 years ago |
1 file, +42, -0 |
| 85f5c707 |
unit: Add inquiry data from iPhone 5 and iPad mini for testing |
Marcel Holtmann |
13 years ago |
1 file, +90, -6 |
| 5fee6d6b |
tools: Add helper for extracting EIR data out of btsnoop files |
Marcel Holtmann |
13 years ago |
1 file, +96, -10 |
| b3e78d7e |
unit: Add inquiry data from MacBook Air for testing |
Marcel Holtmann |
13 years ago |
1 file, +75, -0 |
| 68c6916f |
tools: Add helper for extracting SDP PDUs out of btsnoop files |
Marcel Holtmann |
13 years ago |
1 file, +120, -2 |
| 504a0cf4 |
lib: Fix SDP_TEXT_STR16/SDP_URL_STR16 parsing
sdp_extract_attr() uses the "size" parameter to return the number of
bytes consumed when parsing SDP Data Elements. This size is used to
advance a buffer pointer to parse next element.
This size was being incorrectly calculated for SDP_{TEXT,URL}_STR16 in
extract_str(), where the string length was added twice. The string
length is already added later in the function for {TEXT,URL}_STR{8,16}
by this statement:
*len += n; |
Anderson Lizardo |
13 years ago |
1 file, +1, -1 |