Commit Graph

16674 Commits

Author SHA1 Message Date
Marcel Holtmann
28a3044d61 tools: Use shared HCI code for information tool 2014-01-01 20:53:58 -08:00
Grzegorz Kolodziejczyk
54c0afae72 android/tester: Add SCAN_MODE=NONE set prop done test case
This adds SCAN_MODE property set to NONE - done test case.

SCAN_MODE at startup is set to NONE. Bluez return status - done when
requested status is the same as was.
2014-01-01 18:30:56 +02:00
Grzegorz Kolodziejczyk
ae06d36aa1 android/tester: Add BONDED_DEVICES get prop success test case
This adds BONDED_DEVICES get property success test case.

At this time there are no bonded devices. Clear bonded devices list is
expected.
2014-01-01 18:30:47 +02:00
Grzegorz Kolodziejczyk
204fc85115 android/tester: Add UUIDS get prop success test case
This adds UUIDS get property success test case.
2014-01-01 18:30:39 +02:00
Grzegorz Kolodziejczyk
19c7222c47 android/tester: Add DISCOVERY_TIMEOUT get prop success test case
This adds DISCOVERY_TIMEOUT get property success test case.
2014-01-01 18:30:32 +02:00
Grzegorz Kolodziejczyk
cc2352a2fc android/tester: Add SCAN_MODE get prop success test case
This adds SCAN_MODE get property success test case.
2014-01-01 18:30:21 +02:00
Szymon Janc
b057f428da android/build: Fix building HAL library on Linux
PLATFORM_SDK_VERSION was not passed while building HAL library on Linux
host resulting in 4.3+ features not being build.
2014-01-01 18:29:19 +02:00
Szymon Janc
5ea252c446 android/haltest: Implement missing functions from bluetooth HAL
Implement functions added in Android 4.3+ to Bluetooth HAL.
2014-01-01 18:29:03 +02:00
Szymon Janc
475e1c3639 android/haltest: Improve EXEC macro robustness
Print info about method being NULL instead of crashing.
2014-01-01 18:28:56 +02:00
Szymon Janc
c927bb6db3 android/hal-bluetooth: Add debug print to config_hci_snoop_log
Improves debugs and make it consistent with other methods.
2014-01-01 18:28:50 +02:00
Szymon Janc
500007e24f android/system-emulator: Add support for bluetoothd-snoop service
This allows to test bluetoothd-snoop service on Linux host.
2014-01-01 18:28:31 +02:00
Szymon Janc
4758660275 android/hal-bluetooth: Update snoop service name
Match service name with android snoop binary name. It is more common
to use '-' instead of '_' in the code for binaries name.
2014-01-01 18:27:58 +02:00
Szymon Janc
ffde7eee83 android: Add HCI snooping tool
This tool is intended to be run as Android service. It supports
writing HCI snoop data in old btsnoop format only. By default traffic
is stored in /sdcard/btsnoop_hci.log file (can be overridded with
option - mainly for testing on Linux host). Only index 0 is sniffed.
2014-01-01 18:26:47 +02:00
Marcel Holtmann
b0ad16cf4d tools: Fix issue with too short packet length variable 2014-01-01 00:24:27 -08:00
Marcel Holtmann
4305e6c3ef monitor: Add support for decoding set triggered clock capture command 2013-12-31 23:42:21 -08:00
Marcel Holtmann
f8c2b5e4e1 tools: Add support for proxying Qualcomm SMD based channels 2013-12-31 23:16:16 -08:00
Ravi kumar Veeramally
885cf9d846 android/pan: Add PAN SDP record for NAP role 2013-12-31 15:43:39 +02:00
Luiz Augusto von Dentz
afec6e365e tools/obexctl: Removes leading and trailing whitespace from commands
Leading and trailing whitespace shall be ignored
2013-12-31 13:38:37 +02:00
Sebastian Chlad
e8799bfd2d tools/bluetooth-player: Formatting commands
Formatting commands passed to bluetooth player.
Whitespace character trimmed.
2013-12-31 13:32:59 +02:00
Szymon Janc
47e30d43c5 android/hidhost: Move set_report parameter check to daemon
HAL library is to be as simple as possible and parameters values should
be verified by daemon for robustness anyway. Move this check to daemon.
2013-12-31 11:34:32 +02:00
Szymon Janc
33c2a480a8 android/hidhost: Move get_report parameter check to daemon
HAL library is to be as simple as possible and parameters values should
be verified by daemon for robustness anyway. Move this check to daemon.
2013-12-31 11:34:30 +02:00
Szymon Janc
af6b7bef23 android/hidhost: Move set_protocol parameter check to daemon
HAL library is to be as simple as possible and parameters values should
be verified by daemon for robustness anyway. Move this check to daemon.
2013-12-31 11:34:28 +02:00
Szymon Janc
81617ffdfc android/hidhost: Move get_protocol parameter check to daemon
HAL library is to be as simple as possible and parameters values should
be verified by daemon for robustness anyway. Move this check to daemon.
2013-12-31 11:34:05 +02:00
Marcel Holtmann
98921e1bd5 tools: Add support for connecting to proxying servers 2013-12-30 23:35:23 -08:00
Marcel Holtmann
15097d34e1 monitor: Allow HCI controller proxying over TCP 2013-12-30 21:26:31 -08:00
Marcel Holtmann
43177237f7 tools: Add utility for proxying/forwarding HCI controllers 2013-12-30 20:50:03 -08:00
Marcel Holtmann
d0e729fd75 monitor: Add structure for SCO packets 2013-12-30 20:33:57 -08:00
Grzegorz Kolodziejczyk
a222b8440f android/tester: Add TYPE_OF_DEVICE get prop success test case
This adds TYPE_OF_DEVICE get property success test case.
2013-12-30 16:24:55 +01:00
Grzegorz Kolodziejczyk
cd59f96561 android/tester: Add CLASS_OF_DEVICE get prop success test case
This adds CLASS_OF_DEVICE get property success test case.
2013-12-30 16:24:55 +01:00
Grzegorz Kolodziejczyk
3b6585276b android/tester: Add BONDED_DEVICES set prop fail test case
This adds BONDED_DEVICES set property fail test case due to only
get possibility.
2013-12-30 16:24:55 +01:00
Grzegorz Kolodziejczyk
f4dfa41d08 android/tester: Add SCAN_MODE=CONNECTABLE set prop success test case
This adds SCAN_MODE property set to CONNECTABLE - success test case.
2013-12-30 16:24:55 +01:00
Grzegorz Kolodziejczyk
e3d0d1ec24 android/tester: Add BDADDR set prop fail test case
This adds BDADDR set property fail test case due to only get
possibility.
2013-12-30 16:24:55 +01:00
Lukasz Rymanowski
89d8dee407 android: Make stream example generic in the API doc
The stream direction should not really matter.
2013-12-30 14:27:20 +02:00
Lukasz Rymanowski
d781d37d07 android: Minor fix to Android Bluetooth Audio protocol API doc
Make picture consistent with example below it.
2013-12-30 14:23:42 +02:00
Lukasz Rymanowski
7b5890f57d android/audio: Fix Makefile.am for libaudio
Use CFLAGS instread of CPPFLAGS
2013-12-30 14:23:42 +02:00
Lukasz Rymanowski
aed795faa3 android/ipc: Remove not needed include 2013-12-30 14:23:42 +02:00
Johan Hedberg
df8c064867 btio: Fix falling back to L2CAP_OPTIONS if BT_RCVMTU fails 2013-12-30 14:15:58 +02:00
Johan Hedberg
5acde7b7ef core: Fix checking for g_attrib_new failure 2013-12-30 14:05:19 +02:00
Marcel Holtmann
877dbcdb0b monitor: Clearly mark supported command bits that are unknown 2013-12-29 21:59:29 -08:00
Marcel Holtmann
add3e20ace monitor: Decode detailed AFH channel list 2013-12-29 18:34:36 -08:00
Marcel Holtmann
6ae0891b96 monitor: Decode eSCO/SCO and ACL/CSB packet types 2013-12-29 17:58:16 -08:00
Marcel Holtmann
e5b7993ab9 monitor: Separate SCO/eSCO packet types from ACL/CSB packet types 2013-12-29 17:34:22 -08:00
Marcel Holtmann
b7d96cc489 monitor: Decode voice setting bit values 2013-12-29 17:28:45 -08:00
Marcel Holtmann
1f8fb96a65 tools: Check class of device value for 3D display 2013-12-29 15:24:48 -08:00
Marcel Holtmann
9116f11020 tools: Include disconnection event for 3D displays 2013-12-29 15:02:08 -08:00
Andrei Emeltchenko
bcdc98b2d7 btmon: Fix build for Android
Android build was really broken with additions of functions hwdb_*

...
external/bluetooth/bluez/android/../monitor/packet.c:406: error:
undefined reference to 'hwdb_get_company'
external/bluetooth/bluez/android/../monitor/packet.c:2487: error:
undefined reference to 'hwdb_get_vendor_model'
collect2: error: ld returned 1 exit status
...
2013-12-29 21:21:41 +02:00
Marcel Holtmann
7f92310ccc emulator: Add simple standalone single mode LE device 2013-12-28 21:49:49 -08:00
Marcel Holtmann
0007671cf8 emulator: Add support for secure connections host support commands 2013-12-28 19:13:55 -08:00
Marcel Holtmann
558bc9f464 monitor: Fix output of hash and randomizer 2013-12-28 19:02:26 -08:00
Marcel Holtmann
e310672dd2 tools: Increase width for html2text conversion for long company names 2013-12-27 21:13:10 -08:00