| a316c44d |
tools/mgmt-tester: Remove not used condition |
Lukasz Rymanowski |
11 years ago |
1 file, +0, -3 |
| 89d1fca0 |
tools/mgmt-tester: Update Stop Discovery-BR/EDR (Inquiry) Success 1
With new way of handling inquiry in btdev there is no need to register
inquiry event hook |
Lukasz Rymanowski |
11 years ago |
1 file, +0, -3 |
| 4fdee4cb |
tools/mgmt-tester: Fix for Stop discovery test
Test "Stop Discovery - BR/EDR (Inquiry) Success 1" uses hciemu_type
BREDR but uses power settings to enable LE and tries to set LE:
mgmt: [0x0002] command 0x000d
mgmt: < 0d 00 02 00 01 00 01 .......
mgmt: > 02 00 02 00 03 00 0d 00 0c .........
mgmt: [0x0002] command 0x0d status: 0x0c
This patch fixes this minor issue |
Lukasz Rymanowski |
11 years ago |
1 file, +1, -1 |
| 26389bf2 |
android/tester: Fix handling inquiry by android tester
Previously btdev sent inquiry_complete in one mainloop iteration. Due to
new way of handling it we need to make sure cancel_discovery is called
if start_discovery has been used.
There is also no need to hook before inquiry_complete_event in case of
test for cancel_discovery. |
Lukasz Rymanowski |
11 years ago |
1 file, +7, -17 |
| 0e6b13b7 |
emulator: Minor coding style fix |
Johan Hedberg |
11 years ago |
1 file, +2, -1 |
| fa34a2dc |
emulator: Add handling inquiry_lenght from inquiry command
With this patch, btdev is taking into accoung inquiry_lenght from hci
inquiry command.
Inquiry session will last that long unless number of devices parameter
has been provided different then 0 |
Lukasz Rymanowski |
11 years ago |
1 file, +36, -4 |
| 400cb288 |
emulator: Add handling inquiry number of responses |
Lukasz Rymanowski |
11 years ago |
1 file, +17, -7 |
| ce83fbee |
emulator: Add inquiry cancel
With this patch, scheduled inquiry session in btdev can be canceled |
Lukasz Rymanowski |
11 years ago |
1 file, +25, -4 |
| f1f2ad60 |
emulator: Use timeout for sending inquiry results
With this patch btdev uses timeout to schedule inquiry results
It also allows btdev to receive hci commands during inquiry.
Previously btdev was blocked since all the inquiry result were sent in
single loop |
Lukasz Rymanowski |
11 years ago |
3 files, +92, -12 |
| 7c10f774 |
core: Treat NOT_CONNECTED response as disconnection success |
Johan Hedberg |
11 years ago |
1 file, +3, -1 |
| 62fa7208 |
attrib: Fix gatt_primary leaks when a failure occurs |
Johan Hedberg |
11 years ago |
2 files, +18, -4 |
| 8203def2 |
tools/ibeacon: Convert to using shared/timeout.h |
Johan Hedberg |
11 years ago |
2 files, +9, -5 |
| 7d6bc43b |
tools/btinfo: Convert to using shared/timeout.h |
Johan Hedberg |
11 years ago |
2 files, +9, -5 |
| 4625ed3d |
tools/3dsp: Convert to using shared/timeout.h |
Johan Hedberg |
11 years ago |
2 files, +9, -5 |
| f058041a |
shared: Fix mainloop timeout return value check |
Marcel Holtmann |
11 years ago |
1 file, +2, -2 |
| f6c017e8 |
shared: Use unsigned int for timeout identifier |
Marcel Holtmann |
11 years ago |
3 files, +29, -17 |
| ba4d5160 |
build: Add timeout abstraction to Bluetooth emulation |
Marcel Holtmann |
11 years ago |
1 file, +2, -0 |
| b0b1f564 |
build: Add timeout abstraction to main Bluetooth daemon |
Marcel Holtmann |
11 years ago |
1 file, +1, -0 |
| 48f93f76 |
attrib: Use destroy notify for included query |
Johan Hedberg |
11 years ago |
1 file, +9, -5 |
| b82916da |
attrib: Fix potential leaks with primary discovery context |
Johan Hedberg |
11 years ago |
1 file, +24, -6 |
| d8c009db |
core: Don't try to continue ATT discovery after a failure |
Johan Hedberg |
11 years ago |
1 file, +8, -8 |
| 22f4a6af |
core: Add debug logs to track ATT discover progress |
Johan Hedberg |
11 years ago |
1 file, +4, -0 |
| 4d789940 |
gattrib: Fix pending command handling when getting disconnected |
Johan Hedberg |
11 years ago |
1 file, +9, -0 |
| 91441909 |
core: Fix replying to Pair() if disconnected during included discovery |
Johan Hedberg |
11 years ago |
1 file, +25, -9 |
| 83b00fdb |
core: Fix completing ATT service discovery when no services are discovered |
Johan Hedberg |
11 years ago |
1 file, +4, -1 |
| a0d064bb |
core: Fix memory leaks with struct discover_char |
Johan Hedberg |
11 years ago |
1 file, +18, -5 |
| b92eb54a |
android/health: Move unregister app command definition to proper place |
Szymon Janc |
11 years ago |
1 file, +5, -5 |
| 0721e76a |
core: Fix agent ref leak when freeing auth request |
Johan Hedberg |
11 years ago |
1 file, +11, -3 |
| b42d23e5 |
core: Fix unnecessary calls to agent_cancel()
The agent_unref() function already takes care of agent_cancel() so
there's no need to call both functions in sequence. |
Johan Hedberg |
11 years ago |
3 files, +2, -8 |
| a8e2a118 |
core: Fix missing agent_unref call when cancelling authorization |
Johan Hedberg |
11 years ago |
1 file, +3, -1 |
| 79bd6bce |
test: Fix cyclingspeed manager interface name |
Andrzej Kaczmarek |
11 years ago |
1 file, +1, -1 |
| 294326c0 |
test: Add missing import in cyclingspeed |
Andrzej Kaczmarek |
11 years ago |
1 file, +1, -0 |
| b6b29c9a |
android/handsfree: Add support for WBS mode
This patch adds support for WBS mode in handsfree HAl as well as
redefining current modes.
"persist.sys.bluetooth.handsfree" property can be used to tune
handsfree HAL. Setting it to "hfp" or "hfp_wbs" values enables HFP
profile with narrowband only or with both narrowband and wideband
speech support. Any other value or lack of property defaults to
HSP only mode. |
Szymon Janc |
11 years ago |
3 files, +50, -19 |
| 1d5cf84f |
android: Add WBS mode to handsfree HAL
This adds additional modes for Handsfree HAL:
0x00 = Headset Profile only mode (default)
0x01 = Handsfree Profile (narrowband speech)
0x02 = Handsfree Profile (narrowband and wideband speech)
Currently wideband mode requires chip to assume that eSCO transparent
data is mSBC. |
Szymon Janc |
11 years ago |
1 file, +3, -1 |
| c62dfb9b |
unit/avrcp: Fix possible buffer overflow
values[] should be the same size as attr[]. |
Andrei Emeltchenko |
11 years ago |
1 file, +3, -1 |
| 9bf4b1c7 |
android/client: Add AVRCP list_player_app_attr_cb support |
Ravi kumar Veeramally |
11 years ago |
1 file, +6, -0 |
| b8fb2fb4 |
android/client: Add AVRCP list_player_app_values_cb support |
Ravi kumar Veeramally |
11 years ago |
1 file, +6, -0 |
| ef961df1 |
android/client: Add AVRCP get_player_app_attrs_text_cb support |
Ravi kumar Veeramally |
11 years ago |
1 file, +13, -0 |
| 0df30e3a |
android/client: Add AVRCP get_player_app_value_cb support |
Ravi kumar Veeramally |
11 years ago |
1 file, +12, -0 |
| 5b8dd462 |
android/client: Add AVRCP get_player_app_values_text_cb support |
Ravi kumar Veeramally |
11 years ago |
1 file, +8, -0 |
| 797a75dc |
android/client: Add AVRCP set_player_app_value_cb support |
Ravi kumar Veeramally |
11 years ago |
1 file, +12, -0 |
| c817ad1a |
android/client: Add AVRCP passthrough_cmd_cb support |
Ravi kumar Veeramally |
11 years ago |
1 file, +6, -0 |
| 40794a94 |
android/client: Add AVRCP set_player_app_value_rsp support |
Ravi kumar Veeramally |
11 years ago |
1 file, +36, -0 |
| 3dd9f237 |
android/pts: Update AVCTP version and test results |
Szymon Janc |
11 years ago |
2 files, +9, -9 |
| c8420c91 |
android/avrcp: Bump AVCTP version to 1.4 |
Szymon Janc |
11 years ago |
1 file, +1, -1 |
| 4801abcd |
android/avrcp: Fix possible buffer overflow |
Andrei Emeltchenko |
11 years ago |
1 file, +1, -1 |
| 5d9a2898 |
android/avrcp-lib: Fix avrcp_get_player_attribute_text_rsp
avrcp_get_player_attribute_text_rsp was generating invalid responses as
it fills the string data in the wrong field. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +1, -1 |
| e2b4f2fc |
unit/test-avrcp: Fix using empty response to /TP/PAS/BV-04-C
The purpose of unit tests is to exercise the code as much as possible so
make the test request a valid number of attributes and return them when
testing avrcp_get_player_attribute_text_rsp. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +8, -4 |
| 5f1f8acb |
unit/test-avrcp: Fix using empty response to /TP/PAS/BV-08-C
The purpose of unit tests is to exercise the code as much as possible so
return non-empty when testing avrcp_get_player_values_text_rsp. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +6, -2 |
| 99f85c8c |
shared/crypto: Fix bt_crypto_s1 byte order handling
The assumption is that this function takes little endian data, i.e. the
most significant 64-bits to be discarded are found at the end of r1 and
r2 instead of the beginning. |
Johan Hedberg |
11 years ago |
1 file, +2, -2 |