| 70643c3b |
monitor: Fix constants for default data length commands |
Marcel Holtmann |
11 years ago |
1 file, +2, -2 |
| fa0003a5 |
emulator: Add support white and resolving list commands |
Marcel Holtmann |
11 years ago |
1 file, +129, -7 |
| 00152e75 |
monitor: Add support for decoding resolving list related commands |
Marcel Holtmann |
11 years ago |
2 files, +60, -4 |
| c25dde94 |
android: Use shared helpers for endian conversion |
Marcel Holtmann |
11 years ago |
1 file, +17, -17 |
| fcfa3f85 |
core: Fix endian bug with read info settings |
Marcel Holtmann |
11 years ago |
1 file, +2, -2 |
| d73b5442 |
doc/test-coverage: Update test count |
Luiz Augusto von Dentz |
11 years ago |
1 file, +3, -3 |
| b72dee02 |
shared/mgmt: Remove unnecessary code
This flags were added because calling function like queue_foreach were
not safe as the callbacks may remove or destroy the queue before
returning but this has been fixed and it is now safe to do that. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +11, -78 |
| 110edd66 |
unit/test-mgmt: Add /mgmt/destroy/1 test
This tests if mgmt_unref can be called within event callback. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +29, -0 |
| c423d3e8 |
unit/test-mgmt: Add /mgmt/unregister/2 test
This tests if mgmt_unregister_index can be called within event callback. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +28, -0 |
| 2fb97fd6 |
unit/test-mgmt: Add /mgmt/unregister/1 test
This tests if mgmt_unregister_all can be called within event callback. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +29, -0 |
| 329c7184 |
unit/test-mgmt: Add /mgmt/event/2 test
This tests if multiple events can be received. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +20, -0 |
| 601b3c6c |
unit/test-mgmt: Add /mgmt/event/1 test
This tests if an event can be received. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +36, -0 |
| 5b34d4bc |
unit/test-mgmt: Add /mgmt/response/2 test
This tests if an error can be received. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +30, -8 |
| 14ee81e7 |
unit/test-mgmt: Add /mgmt/response/1 test
This tests if a success response can be received. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +50, -2 |
| fc1dcf35 |
shared/queue: Add reference counting to entries
This makes queue_foreach much more efficient when tracking if the next
entry was remove by the callback. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +48, -29 |
| c9528d9a |
unit/test-queue: Add /queue/foreach_remove_backward test
This tests queue_remove from queue_foreach callback in backward order. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +24, -0 |
| 7dade6cd |
unit/test-queue: Add /queue/foreach_remove test
This tests queue_remove from queue_foreach callback. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +22, -0 |
| 6a56b171 |
build: Add coverage support
Coverage is enabled with --enable-maintainer-mode, 2 new targets are
added 'coverage' and 'clean-coverage', the first generate the reports
using lcov and depend on the second to cleanup previous generated
reports and .gcda files. |
Luiz Augusto von Dentz |
11 years ago |
4 files, +33, -0 |
| b1b312d4 |
Release 5.26 |
Marcel Holtmann |
11 years ago |
2 files, +11, -1 |
| 86007752 |
build: Update library version |
Marcel Holtmann |
11 years ago |
1 file, +1, -1 |
| 7b3c09e7 |
lib: Update company identifiers |
Marcel Holtmann |
11 years ago |
1 file, +17, -1 |
| cf0d80a1 |
tools/mgmt-tester: Fix expected status for pairing power off |
Johan Hedberg |
11 years ago |
1 file, +1, -1 |
| 2caf7a4b |
android/pts: Update gatt server status |
Jakub Tyszkowski |
11 years ago |
1 file, +11, -11 |
| e4602395 |
android/gatt: Fix server send response status value
Cast status to uint8_t, due to (byte) cast in java layer. |
Jakub Tyszkowski |
11 years ago |
1 file, +8, -6 |
| 1669312d |
android/pts: Update of GATT test results |
Mariusz Skamra |
11 years ago |
1 file, +2, -2 |
| cc6502ef |
android/gatt: Fix find_info_handle function
Server can contain attributes with 128-bit attribute types |
Mariusz Skamra |
11 years ago |
1 file, +40, -10 |
| 7ffe7944 |
android/gatt: Fix service changed indication
This patch fixes the service changed indication issue.
Without confirmation callback indications were not sent.
Dummy ignore_confirmation_cb is used for this purpose. |
Mariusz Skamra |
11 years ago |
1 file, +10, -7 |
| 4e8ab0f6 |
android/gatt: Add callback for test command
It is needed in new gattrib. Without callback command won't be send. |
Mariusz Skamra |
11 years ago |
1 file, +8, -1 |
| 0732383d |
android/gatt: Fix missing error response to find by type value request
This patch fixes Find By Type Value Request issue.
When the attribute queue is empty, error response should be sent. |
Mariusz Skamra |
11 years ago |
1 file, +11, -0 |
| aae8b515 |
android/socket: Add support for dynamic MAP record
Android 5.0 uses service name (sic!) for defining instance ID and
supported message types. Name passed is in format of "XXYYname"
where XX is hex coded instance and YY is hex coded message types
mask.
This patch adds new mode for Socket HAL in which daemon tries to
extract instance ID and message types from service name. |
Szymon Janc |
11 years ago |
3 files, +36, -3 |
| 5fb15cc5 |
android/bluetooth: Add support to read Le features by Android
LE Features is new property added in Android Lollipop. Framework is
expecting to get those features on bluetooth start. |
Lukasz Rymanowski |
11 years ago |
2 files, +49, -0 |
| 59aaa3a7 |
android/pts: Update GATT server results |
Jakub Tyszkowski |
11 years ago |
1 file, +15, -15 |
| 3b900bbd |
android/gatt: Fix passing out of att range errors
Those statuses or errors are of type int and and we need to crop
them to att's range. This fixes potential issues when user app sends
status that is equal or greater than GATT_FAILURE. |
Jakub Tyszkowski |
11 years ago |
1 file, +2, -2 |
| 193f2c3e |
android/gatt: Fix not setting error properly for exec write
We were not properly propagating errors returned by applications. |
Jakub Tyszkowski |
11 years ago |
1 file, +1, -0 |
| 42b74d58 |
android/tester: Remove not needed include of hal_msg.h
We shouldn't include header for one define. All test cases use internal
defines for commands as adopted. |
Grzegorz Kolodziejczyk |
11 years ago |
3 files, +14, -11 |
| 1b4a15a3 |
android/tester: Put gatt callback declaration in right place
Gatt callback declaration should be defined after their definitions.
This is the adopted style. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +43, -43 |
| e22f7885 |
android/tester: Add missing AVRCP cb_table entries
cb_table should be filled simultaneously with expected bt_callbacks
enum. Without this, debug logs can cause errors. |
Grzegorz Kolodziejczyk |
11 years ago |
1 file, +8, -0 |
| 344e3bab |
android/handsfree-client: Decrease number of memcpy
Some strings we can directly copy from context to IPC event struct. |
Lukasz Rymanowski |
11 years ago |
1 file, +13, -14 |
| 6c01cf54 |
android/build: Add libcutils to LOCAL_SHARED_LIBRARIES for haltest
Fixes build error for Nexus 9.
...
aarch64-linux-android/bin/ld:
out/target/product/flounder/obj/EXECUTABLES/haltest_intermediates/
bluez/android/hal-utils.o:
undefined reference to symbol 'property_get'
... |
Andrei Emeltchenko |
11 years ago |
1 file, +3, -1 |
| e8d8dc6d |
android/a2dp-sink: Fix including wrong log header
Fixes build for Nexus 9.
...
aarch64-linux-android/bin/ld:
out/target/product/flounder/obj/EXECUTABLES/
bluetoothd-main_intermediates/bluez/android/a2dp-sink.o:
undefined reference to symbol '__android_log_print'
... |
Andrei Emeltchenko |
11 years ago |
1 file, +1, -1 |
| bf963a26 |
android/gatt: Fix offset in prepare write notifications
This fixes TC_GAW_SR_BI_07_C and probably few other cases. |
Jakub Tyszkowski |
11 years ago |
1 file, +1, -1 |
| e157be92 |
android/gatt: Fix execute write request still pending
For execute write no write callback is called thus we have to change its
state directly in app's response handler.
This fixes not sending execute write responses in TC_GAW_SR_BI_07_C. |
Jakub Tyszkowski |
11 years ago |
1 file, +10, -0 |
| b1b1db7d |
android/pts: Update gatt server results
Patches fixing this issues were already merged. |
Jakub Tyszkowski |
11 years ago |
1 file, +3, -3 |
| 608bfc2c |
core: Fix minor issue in bluetoothd manual page |
Johan Hedberg |
11 years ago |
1 file, +1, -1 |
| d3f51cbc |
attrib/gatt: Minor coding style fix |
Lukasz Rymanowski |
11 years ago |
1 file, +0, -1 |
| 1010aca5 |
attrib/gatt: Fix for attrib ref
This patch makes sure that attrib instance will not disappear while
reading characteristic |
Lukasz Rymanowski |
11 years ago |
1 file, +6, -3 |
| 215fe573 |
unit/gatt: minor fix for test PDUs |
Michael Janssen |
11 years ago |
1 file, +2, -2 |
| e2f3cd0d |
unit/gatt: Add test spec "small test database"
This patch adds the first of a set of databases which are specified by
the Bluetooth GATT Test Specification document.
It is specifically the "small test database" constructed carefully to
fit the first requirement.
It satisfies the following requirements in section 3.3.2 of the GATT TS:
1. One small test database whose services fit into a single minimum
sized PDU, with only 16-biy UUIDs
3. At least one of those has a Primary Service at the MAX handle
8. All have some services that are simple, and some that include other
services
9. Each has at last one instance where the handle of an included service
is before the handle of the including service
11. Each has instances of simple characteristics (no descriptors) and
complex characteristics (multiple descriptors)
12. Each has instances of complex characteristics with 16-bit and
128-bit characteristic descriptor UUIDs, and these are in no
particular order. |
Michael Janssen |
11 years ago |
1 file, +146, -1 |
| 89e701a9 |
unit/gatt: Use source db for server_tests
Use the passed-in gatt_db for server tests instead of populating
with the same db every time. |
Michael Janssen |
11 years ago |
1 file, +16, -54 |
| cb6777d2 |
unit/gatt: Define repeated MTU PDUs
The MTU PDUs are repeated many times in the code, add a define for them.
Also use "PDUS" instead of "PDU" because these macros contain multiples. |
Michael Janssen |
11 years ago |
1 file, +25, -32 |