| 7a0a0770 |
android: Add missing HAL IPC error status definitions |
Szymon Janc |
12 years ago |
1 file, +9, -0 |
| a95d8678 |
android: Add proper define for HAL IPC error |
Johan Hedberg |
12 years ago |
2 files, +9, -4 |
| 2d3a04ef |
android: Minor coding style cleanups |
Johan Hedberg |
12 years ago |
1 file, +3, -3 |
| 6add6837 |
android: Implement core service functionality
This allows HAL to register and unregister of services. |
Szymon Janc |
12 years ago |
1 file, +54, -0 |
| 3852d136 |
android: Add initial code for handling HAL commands
This enable watch for input and do basic sanity checks on received
command. If there is protocol error mainloop is stopped and daemon
exits. |
Szymon Janc |
12 years ago |
1 file, +40, -3 |
| 16265b99 |
android: Add IPC helper for convenient error sending
This simple helper will simplify error paths in code. |
Szymon Janc |
12 years ago |
2 files, +10, -0 |
| 4e4307e2 |
android: Add IPC helper for sending command responses and notification
If send failed mainloop is stopped. |
Szymon Janc |
12 years ago |
4 files, +107, -1 |
| 388f9e6c |
android: Add HAL_SERVICE_ID_MAX define |
Szymon Janc |
12 years ago |
1 file, +2, -0 |
| 7b6aeccf |
android: Define IPC MTU size
This defines buffer size big enough to hold the largest possible IPC
message. |
Szymon Janc |
12 years ago |
1 file, +2, -0 |
| 99bd2669 |
android: Split command and notification socket watch |
Szymon Janc |
12 years ago |
1 file, +13, -4 |
| e28c3072 |
android/hal: Register adapter and socket interface on HAL init
After daemon is started HAL needs to register those two interfaces
to performe initialization procedure as described in IPC documentation. |
Szymon Janc |
12 years ago |
1 file, +28, -0 |
| e1debdf2 |
android/hal: Add initial code for sending commands
This will be used by all HAL modules to send commands and get response
from daemon. In case of any protocol error abort.
If non-null fd pointer is passed auxiliary data with passed FD will be
received as part of response. |
Szymon Janc |
12 years ago |
2 files, +110, -0 |
| 2b9988f3 |
android/hal: Move IPC and sockets related code to separate file
hal-ipc will provide functionality related to IPC initialization and
sockets handling (including upcoming callbacks thread).
This allow to remove code from bluetooth HAL not related to adapter. |
Szymon Janc |
12 years ago |
5 files, +163, -115 |
| c9f37f70 |
android: Add help and quit to haltest
This patch adds help and quit commands.
It also adds tab completion for commands (it used to work
for interfaces). |
Jerzy Kasenberg |
12 years ago |
3 files, +240, -68 |
| ae76520d |
android: Add space in prompt in haltest
This patch makes prompt more consistent with other bluez tools.
This also fixes small issue when prompt was printed twice. |
Jerzy Kasenberg |
12 years ago |
1 file, +10, -7 |
| 94a9b4fa |
tools/mgmt-tester: Add basic connectable advertising test case |
Johan Hedberg |
12 years ago |
1 file, +32, -0 |
| 3fe3c05d |
tools/mgmt-tester: Add basic LE-only set_connectable test cases |
Johan Hedberg |
12 years ago |
1 file, +31, -0 |
| 6199aa4e |
tools/mgmt-tester: Add 'Not Supported' test case for set_fast_connectable |
Johan Hedberg |
12 years ago |
1 file, +11, -0 |
| 073714c3 |
core: Fix not forwarding errors caused by SDP search properly
In case bt_search_service fails while processing (e.g. connection is
dropped) the error forward is a positive value leading
btd_service_connecting_complete to not change any state at all.
Futhermore the error from sdp_process was completely ignored which may
cause problems as well. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +4, -3 |
| 9c9b0187 |
android: Add missing error status description for Core Service
We need at least one failed status description. |
Szymon Janc |
12 years ago |
1 file, +3, -1 |
| 919ef7d0 |
tools/mgmt-tester: Remove unnecessary "no-BR/EDR" setup helpers |
Johan Hedberg |
12 years ago |
1 file, +5, -44 |
| 75ec3768 |
tools/mgmt-tester: Add disable_bredr and discov_limited to generic setup |
Johan Hedberg |
12 years ago |
1 file, +13, -1 |
| 901aadcd |
tools/mgmt-tester: Rename setup_le_nobr_powered to setup_nobr_powered |
Johan Hedberg |
12 years ago |
1 file, +3, -4 |
| e01aa88b |
tools/mgmt-tester: Rename setup_le_callback to setup_nobr_callback |
Johan Hedberg |
12 years ago |
1 file, +7, -10 |
| e3df5294 |
tools/mgmt-tester: Minor formatting fix |
Johan Hedberg |
12 years ago |
1 file, +8, -8 |
| 6dc17e07 |
tools/mgmt-tester: Remove unnecessary setup_start_discovery_callback function |
Johan Hedberg |
12 years ago |
1 file, +4, -24 |
| 9e5fad37 |
tools/mgmt-tester: Remove unneeded setup_ssp_powered function |
Johan Hedberg |
12 years ago |
1 file, +11, -19 |
| f14029be |
tools/mgmt-tester: Remove unneeded setup_le_powered function |
Johan Hedberg |
12 years ago |
1 file, +11, -19 |
| 9aad8daf |
tools/mgmt-tester: Remove unneeded setup_le function |
Johan Hedberg |
12 years ago |
1 file, +10, -16 |
| 415e1bb9 |
tools/mgmt-tester: Remove unneeded setup_ssp function |
Johan Hedberg |
12 years ago |
1 file, +14, -31 |
| faca2bb5 |
tools/mgmt-tester: Remove unneeded setup_link_sec_powered function |
Johan Hedberg |
12 years ago |
1 file, +6, -16 |
| ea64c4a2 |
tools/mgmt-tester: Remove unneeded setup_link_sec function |
Johan Hedberg |
12 years ago |
1 file, +6, -27 |
| 20cecea6 |
tools/mgmt-tester: Remove unneeded setup_connectable function |
Johan Hedberg |
12 years ago |
1 file, +17, -33 |
| c973ac9f |
tools/mgmt-tester: Remove unneeded setup_powered_connectable function |
Johan Hedberg |
12 years ago |
1 file, +9, -34 |
| 7a448b99 |
tools/mgmt-tester: Remove unneeded setup_powered_discoverable function |
Johan Hedberg |
12 years ago |
1 file, +9, -24 |
| da44f2c7 |
tools/mgmt-tester: Remove unnecessary setup_powered function |
Johan Hedberg |
12 years ago |
1 file, +40, -31 |
| 403ddcc5 |
tools/mgmt-tester: Add basic ability to list initial settings |
Johan Hedberg |
12 years ago |
1 file, +55, -10 |
| 9c2efe61 |
tools/mgmt-tester: Refactor all setup calls to a centralized function |
Johan Hedberg |
12 years ago |
1 file, +17, -3 |
| 483cd7ad |
tools/mgmt-tester: Remove (now) unnecessary powered delay option |
Johan Hedberg |
12 years ago |
1 file, +1, -38 |
| 9cfeff18 |
tools/mgmt-tester: Add set_connectable(off) while discoverable test |
Johan Hedberg |
12 years ago |
1 file, +16, -0 |
| 954c35d0 |
android: Add A2DP skeleton
This adds initial skeleton for A2DP Android HAL. |
Luiz Augusto von Dentz |
12 years ago |
4 files, +99, -0 |
| 491b1302 |
android: Remove SHUTDOWN_GRACE_SECONDS
This is not being used for now and in case it is really needed for
waiting an adapter to power down we can reintroduce it latter. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +0, -2 |
| f7bc0744 |
monitor: Fix small typo in class of device strings |
Marcel Holtmann |
12 years ago |
1 file, +1, -1 |
| 73a9e627 |
monitor: Add command for extracting missing decodings |
Marcel Holtmann |
12 years ago |
3 files, +39, -0 |
| 093f6c96 |
monitor: Add support for decoding hold mode activity commands |
Marcel Holtmann |
12 years ago |
2 files, +49, -2 |
| 8e7a4c34 |
android: Remove not needed cutils/log.h stub |
Szymon Janc |
12 years ago |
2 files, +0, -31 |
| fc4b260c |
android: Use hal-log.h for logging in socket HAL
This will allow to log both on Android and Linux (in haltest) |
Szymon Janc |
12 years ago |
1 file, +8, -11 |
| 9422d5a0 |
android: Use hal-log.h for logging in pan HAL
This will allow to log both on Android and Linux (in haltest) |
Szymon Janc |
12 years ago |
1 file, +7, -9 |
| 092cf57f |
android: Use hal-log.h for logging in hidhost HAL
This will allow to log both on Android and Linux (in haltest) |
Szymon Janc |
12 years ago |
1 file, +12, -14 |
| 8241f7de |
android: Use hal-log.h for logging in bluetooth HAL
This will allow to log both on Android and Linux (in haltest). |
Szymon Janc |
12 years ago |
2 files, +36, -36 |