OSDN Git Service

android-x86/external-bluetooth-bluez.git
9 years agoobexd/client: Add support for MAP Event Report 1.1
Gowtham Anandha Babu [Tue, 16 Sep 2014 12:50:03 +0000 (18:20 +0530)]
obexd/client: Add support for MAP Event Report 1.1

This adds support for Event Report 1.1 of MAP 1.2 which includes the
following atributes: Subject, datetime, sender_name, priority.

9 years agotools/btgatt-client: Fix memory leak
Andrei Emeltchenko [Tue, 16 Sep 2014 14:03:50 +0000 (17:03 +0300)]
tools/btgatt-client: Fix memory leak

Simplify code and fix memory leaks

9 years agoemulator: Failed encryption shouldn't affect success of LTK reply
Johan Hedberg [Tue, 16 Sep 2014 19:07:51 +0000 (22:07 +0300)]
emulator: Failed encryption shouldn't affect success of LTK reply

9 years agodoc/test-coverage: Update mgmt-tester test count
Johan Hedberg [Tue, 16 Sep 2014 13:37:33 +0000 (16:37 +0300)]
doc/test-coverage: Update mgmt-tester test count

9 years agotools/mgmt-tester: Add basic LE pairing acceptor test case
Johan Hedberg [Tue, 16 Sep 2014 13:36:32 +0000 (16:36 +0300)]
tools/mgmt-tester: Add basic LE pairing acceptor test case

9 years agoemulator: Indicate encryption failure if LTKs don't match
Johan Hedberg [Tue, 16 Sep 2014 13:35:46 +0000 (16:35 +0300)]
emulator: Indicate encryption failure if LTKs don't match

9 years agoemulator: Fix up SMP Pairing Confirm/Random handling
Johan Hedberg [Tue, 16 Sep 2014 12:13:34 +0000 (15:13 +0300)]
emulator: Fix up SMP Pairing Confirm/Random handling

9 years agoemulator: Add support for specifying SMP authentication requirement
Johan Hedberg [Tue, 16 Sep 2014 11:30:44 +0000 (14:30 +0300)]
emulator: Add support for specifying SMP authentication requirement

9 years agoandroid/gatt: Fix whitespace and style issues
Szymon Janc [Tue, 16 Sep 2014 10:08:30 +0000 (12:08 +0200)]
android/gatt: Fix whitespace and style issues

9 years agoandroid/gatt: Fix bogus device unref
Szymon Janc [Tue, 16 Sep 2014 10:05:02 +0000 (12:05 +0200)]
android/gatt: Fix bogus device unref

remove_autoconnect_device() already drops device reference internally.

9 years agoandroid/gatt: Move bt_le_discovery_stop_cb up in the file
Szymon Janc [Tue, 16 Sep 2014 09:44:29 +0000 (11:44 +0200)]
android/gatt: Move bt_le_discovery_stop_cb up in the file

This is to avoid forward declaration.

9 years agotools: Fix dereference before NULL check
Andrei Emeltchenko [Tue, 16 Sep 2014 08:30:19 +0000 (11:30 +0300)]
tools: Fix dereference before NULL check

9 years agoandroid/tester: Fix wrong check
Andrei Emeltchenko [Tue, 16 Sep 2014 08:10:47 +0000 (11:10 +0300)]
android/tester: Fix wrong check

9 years agoTODO: Minor formatting fix
Johan Hedberg [Tue, 16 Sep 2014 08:16:12 +0000 (11:16 +0300)]
TODO: Minor formatting fix

9 years agoTODO: Remove obsolete Management Interface task
Johan Hedberg [Tue, 16 Sep 2014 08:11:23 +0000 (11:11 +0300)]
TODO: Remove obsolete Management Interface task

9 years agoTODO: Remove obsolete Low Energy task entries
Johan Hedberg [Tue, 16 Sep 2014 08:10:05 +0000 (11:10 +0300)]
TODO: Remove obsolete Low Energy task entries

9 years agotools/seq2bseq : Fix the same expression issue in if condition
Gowtham Anandha Babu [Mon, 15 Sep 2014 06:10:05 +0000 (11:40 +0530)]
tools/seq2bseq : Fix the same expression issue in if condition

Fix the usage of same expression on both sides of '||' in if

9 years agotools/btsnoop : Fix variable reassigning issue
Gowtham Anandha Babu [Mon, 15 Sep 2014 06:10:04 +0000 (11:40 +0530)]
tools/btsnoop : Fix variable reassigning issue

The Variable 'written' is reassigned a value before the old one has been used.

9 years agoobexd/client/map: Check msg value is valid
Gowtham Anandha Babu [Mon, 15 Sep 2014 12:59:16 +0000 (18:29 +0530)]
obexd/client/map: Check msg value is valid

Checks for NULL value before passing to the callback.

9 years agotools: Update bluemoon firmware and harware variant strings
Marcel Holtmann [Mon, 15 Sep 2014 22:03:23 +0000 (00:03 +0200)]
tools: Update bluemoon firmware and harware variant strings

9 years agotools: Fix usage text for address parameter
Marcel Holtmann [Mon, 15 Sep 2014 21:48:01 +0000 (23:48 +0200)]
tools: Fix usage text for address parameter

9 years agoandroid/hal-sco: Fix coding style
Luiz Augusto von Dentz [Mon, 15 Sep 2014 18:40:02 +0000 (21:40 +0300)]
android/hal-sco: Fix coding style

9 years agoobexd/mns: Check event value is valid
Luiz Augusto von Dentz [Mon, 15 Sep 2014 10:41:20 +0000 (13:41 +0300)]
obexd/mns: Check event value is valid

This adds a common check before passing the event value to the callback.

9 years agoobexd/client: Fix leaking memory on MNS
Luiz Augusto von Dentz [Mon, 15 Sep 2014 10:30:46 +0000 (13:30 +0300)]
obexd/client: Fix leaking memory on MNS

In case an event is received twice, due to remote side misbehaving or
not, it would leak the previous data.

9 years agogdbus: Fix match rule for NameOwnerChanged
Alban Crequy [Tue, 15 Jul 2014 10:29:41 +0000 (11:29 +0100)]
gdbus: Fix match rule for NameOwnerChanged

When subscribing to the D-Bus signal NameOwnerChanged from the bus driver,
specify the object path and the sender in the match rule. Otherwise, random
connections on the bus could impersonate the bus driver.

9 years agoMonitor: Modify design of AVRCP callback functions
Vikrampal Yadav [Fri, 12 Sep 2014 13:16:56 +0000 (18:46 +0530)]
Monitor: Modify design of AVRCP callback functions

Modified the design of AVRCP callback functions.

9 years agomonitor: Update GATT Descriptor UUID translations
Marcel Holtmann [Sun, 14 Sep 2014 17:51:01 +0000 (19:51 +0200)]
monitor: Update GATT Descriptor UUID translations

9 years agomonitor: Update GATT Service UUID translations
Marcel Holtmann [Sun, 14 Sep 2014 17:48:31 +0000 (19:48 +0200)]
monitor: Update GATT Service UUID translations

9 years agomonitor: Update Appearance categories and subtypes
Marcel Holtmann [Sun, 14 Sep 2014 17:42:19 +0000 (19:42 +0200)]
monitor: Update Appearance categories and subtypes

9 years agomonitor: Update GATT Characteristics UUID translations
Marcel Holtmann [Sun, 14 Sep 2014 17:29:26 +0000 (19:29 +0200)]
monitor: Update GATT Characteristics UUID translations

9 years agomonitor: Update UUID to string mapping table
Marcel Holtmann [Sun, 14 Sep 2014 17:04:56 +0000 (19:04 +0200)]
monitor: Update UUID to string mapping table

9 years agotools/l2cap-tester: Specify explicit IO capability when necessary
Johan Hedberg [Sat, 13 Sep 2014 02:52:40 +0000 (05:52 +0300)]
tools/l2cap-tester: Specify explicit IO capability when necessary

9 years agoemulator: Use explicit IO capability for bthost
Johan Hedberg [Sat, 13 Sep 2014 02:51:00 +0000 (05:51 +0300)]
emulator: Use explicit IO capability for bthost

9 years agoemulator: Fix clearing advertising state when connected
Johan Hedberg [Fri, 30 May 2014 10:12:25 +0000 (13:12 +0300)]
emulator: Fix clearing advertising state when connected

9 years agocore: Fix missing channel unref on cached session watch
Szymon Janc [Fri, 12 Sep 2014 08:54:07 +0000 (10:54 +0200)]
core: Fix missing channel unref on cached session watch

g_io_add_watch function takes own reference so local one needs to
be dropped. Fix following Valgrind report:

126 (120 direct, 6 indirect) bytes in 1 blocks are definitely lost in
    loss record 146 of 158
at 0x4C2745D: malloc (in /usr/lib64/valgrind/
   vgpreload_memcheck-amd64-linux.so)
by 0x4E7FE6E: g_malloc (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x4EBC5B7: g_io_channel_unix_new (in /usr/lib64/
   libglib-2.0.so.0.3800.2)
by 0x4496B4: search_completed_cb (sdp-client.c:129)
by 0x45217B: sdp_process (sdp.c:4350)
by 0x449814: search_process_cb (sdp-client.c:228)
by 0x4E7A2A5: g_main_context_dispatch (in /usr/
   lib64/libglib-2.0.so.0.3800.2)
by 0x4E7A627: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x4E7AA39: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x404372: main (main.c:550)

9 years agodoc/obex-api: Add API for PBAP 1.2 features
Luiz Augusto von Dentz [Wed, 18 Jun 2014 08:31:42 +0000 (11:31 +0300)]
doc/obex-api: Add API for PBAP 1.2 features

These changes add support for PBAP 1.2 features, the idea is that upon
connecting the stack will auto retrieve the DatabaseIdentifier which will
very likely be used by applications to detect if anything should be done.

In case DatabaseIdentifier is present the user application can then
request the folder version via GetVersion.

Two new filter are added, Operator which should be used along with FilterBy
and ResetNewMissedCalls the later can only be used in mch and cch folders.

9 years agodoc/media-api: Remove obsolete properties
Luiz Augusto von Dentz [Thu, 11 Sep 2014 10:29:20 +0000 (12:29 +0200)]
doc/media-api: Remove obsolete properties

Properties related to HFP/HSP are no longer available since BlueZ has
no native support of those profiles.

9 years agoandroid/hal-ipc-api: Fix define for HF-Client
Lukasz Rymanowski [Wed, 10 Sep 2014 11:11:34 +0000 (13:11 +0200)]
android/hal-ipc-api: Fix define for HF-Client

9 years agoandroid/hal-ipc-api: Add missing peer features parameter
Lukasz Rymanowski [Wed, 10 Sep 2014 11:11:33 +0000 (13:11 +0200)]
android/hal-ipc-api: Add missing peer features parameter

9 years agoandroid/hal-ipc-api: Use Tone instead of Code DTMF
Lukasz Rymanowski [Wed, 10 Sep 2014 11:11:32 +0000 (13:11 +0200)]
android/hal-ipc-api: Use Tone instead of Code DTMF

To be consistent with existing code for handsfree

9 years agoandroid/hal-ipc-api: Use 2 bytes for location in dial memory
Lukasz Rymanowski [Wed, 10 Sep 2014 11:11:31 +0000 (13:11 +0200)]
android/hal-ipc-api: Use 2 bytes for location in dial memory

9 years agodoc: Update Android tests coverage
Szymon Janc [Thu, 11 Sep 2014 08:18:57 +0000 (10:18 +0200)]
doc: Update Android tests coverage

9 years agoandroid/tester: Make GATT tests names more descriptive
Szymon Janc [Thu, 11 Sep 2014 08:18:13 +0000 (10:18 +0200)]
android/tester: Make GATT tests names more descriptive

9 years agoandroid/tester: Verify GATT instace IDs in callbacks
Marcin Kraglak [Thu, 11 Sep 2014 06:08:52 +0000 (08:08 +0200)]
android/tester: Verify GATT instace IDs in callbacks

9 years agoandroid/tester: Add GATT Get Included Service 3 test case
Marcin Kraglak [Thu, 11 Sep 2014 06:08:51 +0000 (08:08 +0200)]
android/tester: Add GATT Get Included Service 3 test case

No included service should be returned in this case.

9 years agoandroid/tester: Add GATT Get Included Service 2 test case
Marcin Kraglak [Thu, 11 Sep 2014 06:08:50 +0000 (08:08 +0200)]
android/tester: Add GATT Get Included Service 2 test case

It will test searching include services with 128 bit UUID.

9 years agoandroid/tester: Add GATT Get Included Service 1 test case
Marcin Kraglak [Thu, 11 Sep 2014 06:08:49 +0000 (08:08 +0200)]
android/tester: Add GATT Get Included Service 1 test case

Verify if included service with 16-bit UUID can be found.

9 years agoandroid/tester: Add support for GATT Get Included Service callback
Marcin Kraglak [Thu, 11 Sep 2014 06:08:48 +0000 (08:08 +0200)]
android/tester: Add support for GATT Get Included Service callback

Service and verify GATT Client Get Included Service callback.

9 years agoandroid/gatt: Fix sending Get Descriptor callback
Marcin Kraglak [Thu, 11 Sep 2014 06:08:47 +0000 (08:08 +0200)]
android/gatt: Fix sending Get Descriptor callback

GATT_STATUS_SUCCESS or GATT_STATUS_FAILURE should be send in this
callback.

9 years agoandroid/tester: Add GATT Get Descriptor 3 test case
Marcin Kraglak [Thu, 11 Sep 2014 06:08:46 +0000 (08:08 +0200)]
android/tester: Add GATT Get Descriptor 3 test case

No descriptors will be found in this test case.

9 years agoandroid/gatt: Fix descripors instance IDs
Marcin Kraglak [Thu, 11 Sep 2014 06:08:45 +0000 (08:08 +0200)]
android/gatt: Fix descripors instance IDs

First descriptor should have instance ID with 1.

9 years agoandroid/tester: Add GATT Get Descriptor 2 test case
Marcin Kraglak [Thu, 11 Sep 2014 06:08:44 +0000 (08:08 +0200)]
android/tester: Add GATT Get Descriptor 2 test case

It tests searching muliple descriptors in characteristic.

9 years agoandroid/tester: Add GATT Get Descriptor 1 test case
Marcin Kraglak [Thu, 11 Sep 2014 06:08:43 +0000 (08:08 +0200)]
android/tester: Add GATT Get Descriptor 1 test case

It tests searching for descriptors in characteristic.

9 years agoandroid/tester: Add support for GATT Get Descriptor callback
Marcin Kraglak [Thu, 11 Sep 2014 06:08:42 +0000 (08:08 +0200)]
android/tester: Add support for GATT Get Descriptor callback

Service and verify GATTT Client Get Descriptor callback.

9 years agoandroid/gatt: Fix sending callback in get_characteristic
Marcin Kraglak [Thu, 11 Sep 2014 06:08:41 +0000 (08:08 +0200)]
android/gatt: Fix sending callback in get_characteristic

Notification should be send to client in case of error.

9 years agoandroid/tester: Add GATT Get Characteristic 2 test case
Marcin Kraglak [Thu, 11 Sep 2014 06:08:40 +0000 (08:08 +0200)]
android/tester: Add GATT Get Characteristic 2 test case

It tests getting characteristics of non existing service.

9 years agoandroid/tester: Fix characteristic instance ID
Marcin Kraglak [Thu, 11 Sep 2014 06:08:39 +0000 (08:08 +0200)]
android/tester: Fix characteristic instance ID

Characteristics instance id starts from 1.

9 years agocore: Remove not used device_set_conn_param function
Szymon Janc [Wed, 10 Sep 2014 20:13:07 +0000 (22:13 +0200)]
core: Remove not used device_set_conn_param function

This function is not used since connection parameters are stored from
adapter.c. Also remove no longer needed members from struct btd_device.

9 years agocore: Fix storing connection parameters without store hint set
Szymon Janc [Wed, 10 Sep 2014 20:13:06 +0000 (22:13 +0200)]
core: Fix storing connection parameters without store hint set

If store hint is not set those should not be stored persistently.

9 years agoTODO: Reference counted notify functions implemented
Arman Uguray [Wed, 10 Sep 2014 16:36:27 +0000 (09:36 -0700)]
TODO: Reference counted notify functions implemented

9 years agotools/btgatt-client: Add "unregister-notify" command.
Arman Uguray [Wed, 10 Sep 2014 16:36:26 +0000 (09:36 -0700)]
tools/btgatt-client: Add "unregister-notify" command.

This patch adds the "unregister-notify" command which can be used to test the
bt_gatt_client_unregister_notify function.

9 years agotools/btgatt-client: Add the "register-notify" command.
Arman Uguray [Wed, 10 Sep 2014 16:36:25 +0000 (09:36 -0700)]
tools/btgatt-client: Add the "register-notify" command.

This patch adds the "register-notify" command, which registers a
notification/indication handler for a given characteristic value handle.

9 years agoshared/gatt-client: Handle incoming not/ind PDUs.
Arman Uguray [Wed, 10 Sep 2014 16:36:24 +0000 (09:36 -0700)]
shared/gatt-client: Handle incoming not/ind PDUs.

bt_gatt_client now registers an incoming PDU handler for notification and
indication PDUs. The PDU is parsed and routed to the notify handler registered
with bt_gatt_client_register_notify for the corresponding characteristic value
handle. A confirmation PDU is sent automatically for received indications.

This patch removes the bt_gatt_register function from shared/gatt-helpers.

9 years agoshared/gatt-client: Implement bt_gatt_client_unregister_notify.
Arman Uguray [Wed, 10 Sep 2014 16:36:23 +0000 (09:36 -0700)]
shared/gatt-client: Implement bt_gatt_client_unregister_notify.

This patch implements bt_gatt_client_unregister_notify, which is used to remove
a previous registered notification/indication handler. This function decreases
the per-characteristic count of handlers, and if the count drops to 0, a write
request is sent to the CCC descriptor to disable notifications/indications.

9 years agoshared/gatt-client: Implement bt_gatt_client_register_notify.
Arman Uguray [Wed, 10 Sep 2014 16:36:22 +0000 (09:36 -0700)]
shared/gatt-client: Implement bt_gatt_client_register_notify.

This patch introduces the bt_gatt_client_register_notify and
bt_gatt_client_unregister_notify functions and implements the latter. The
bt_gatt_client_register_notify function does the following:

  - If the given characteristic has a CCC descriptor, it writes to it based on
    which notify/indicate properties are present in the characteristic
    properties bit field.

  - It maintains a per-characteristic count of how many callbacks have been
    registered, so that the CCC descriptor is written to only if the count is 0.

  - It stores the passed in callback and user data in bt_gatt_client, which will
    be invoked when a notification/indication is received from the corresponding
    characteristic.

  - It queues register requests if the count is 0 and a CCC write is pending,
    and processes them once the write request has completed.

9 years agoshared/gatt-client: Introduce struct bt_gatt_characteristic_iter.
Arman Uguray [Wed, 10 Sep 2014 16:36:21 +0000 (09:36 -0700)]
shared/gatt-client: Introduce struct bt_gatt_characteristic_iter.

shared/gatt-client currently defines a service iterator which returns service
data in a copy. The user then accesses the service's characteristics by manually
going through an array of bt_gatt_characteristic_t.

This patch changes this by restricting access to individual characteristic
entries via a new characteristic iterator. This is done so that gatt-client code
can internally store private data on each characteristic (e.g. reference count
for notification sessions) which shouldn't be exposed to external code.

The code also changes the service iterator functions to return a pointer to an
internally stored bt_gatt_service_t structure rather than returning its contents
in a copy.

9 years agoandroid/avrcp: Clean up command order
Lukasz Rymanowski [Wed, 10 Sep 2014 10:01:35 +0000 (12:01 +0200)]
android/avrcp: Clean up command order

Idea about order in this file is that commands goes first and
notifications in the end of file.

This patch moves AVRCP commands up in the file

9 years agosdp-client: Minor code style fix
Lukasz Rymanowski [Tue, 9 Sep 2014 09:02:10 +0000 (11:02 +0200)]
sdp-client: Minor code style fix

9 years agosdp-client: Add disconnect watch for cached session
Lukasz Rymanowski [Tue, 9 Sep 2014 09:02:09 +0000 (11:02 +0200)]
sdp-client: Add disconnect watch for cached session

SDP client keeps sdp session alive for 2 more second after usage in case
there is need for reuse it. However, if ACL is disconnected and
reconnected during that time, sdp session becomes outdated. This patch
makes sure that cached sdp session will be cleaned up on ACL disconnect

9 years agosdp-client: Extract cleanup function for cached session
Lukasz Rymanowski [Tue, 9 Sep 2014 09:02:08 +0000 (11:02 +0200)]
sdp-client: Extract cleanup function for cached session

Cleanup function will be used by next patch

9 years agoandroid/tester: Fix not handled ssp requests in AVRCP cases
Jakub Tyszkowski [Tue, 9 Sep 2014 10:51:58 +0000 (12:51 +0200)]
android/tester: Fix not handled ssp requests in AVRCP cases

Those were previously passing because of ssp handler being not cleaned
between test cases. This is now fixed in tester framework thus test cases
needs to be updated.

9 years agoandroid/hf_client: Import Android hf_client header
Lukasz Rymanowski [Thu, 4 Sep 2014 13:49:46 +0000 (15:49 +0200)]
android/hf_client: Import Android hf_client header

This header file has been taken from Codeaurora forum.

9 years agoandroid/hal-ipc-api: Add Handsfree client IPC API
Lukasz Rymanowski [Thu, 4 Sep 2014 13:49:45 +0000 (15:49 +0200)]
android/hal-ipc-api: Add Handsfree client IPC API

9 years agoandroid/client: Check if hex string is byte format
Grzegorz Kolodziejczyk [Fri, 5 Sep 2014 13:55:41 +0000 (15:55 +0200)]
android/client: Check if hex string is byte format

Data strings should be byte format.

9 years agoRelease 5.23
Marcel Holtmann [Mon, 8 Sep 2014 03:20:15 +0000 (05:20 +0200)]
Release 5.23

9 years agobuild: Update library version
Marcel Holtmann [Mon, 8 Sep 2014 03:08:02 +0000 (05:08 +0200)]
build: Update library version

9 years agolib: Update company identifiers
Marcel Holtmann [Mon, 8 Sep 2014 03:03:20 +0000 (05:03 +0200)]
lib: Update company identifiers

9 years agotools/smp-tester: Remove incorrect invalid data test case
Johan Hedberg [Fri, 5 Sep 2014 20:32:54 +0000 (23:32 +0300)]
tools/smp-tester: Remove incorrect invalid data test case

Latest upstream kernel simply ignores unexpected data without
disconnecting so trying to wait for a HCI_Disconnect will only lead to a
test timeout.

9 years agoshared/tester: Change handling of tester_setup_failed event
Marcin Kraglak [Tue, 2 Sep 2014 09:34:43 +0000 (11:34 +0200)]
shared/tester: Change handling of tester_setup_failed event

If tester_setup_failed() was called, execute post_teardown() to clean
data created in pre_setup phase. In some cases android-tester
couldn't start daemon, and setup failed, but hciemu created in
pre_setup was not removed.

9 years agotools/gatt: Fix accessing NULL cmd
Andrei Emeltchenko [Fri, 5 Sep 2014 14:00:54 +0000 (17:00 +0300)]
tools/gatt: Fix accessing NULL cmd

9 years agocore: Fix concurrent authorizations
Luiz Augusto von Dentz [Fri, 5 Sep 2014 12:49:12 +0000 (15:49 +0300)]
core: Fix concurrent authorizations

In case multiple authorizations happen it can trigger a second call to
agent_authorize_service while the first is still ongoing causing all
authorization to fail.

9 years agoclient: Force redisplay on rl_printf
Luiz Augusto von Dentz [Fri, 5 Sep 2014 12:49:11 +0000 (15:49 +0300)]
client: Force redisplay on rl_printf

It seems some in some version of readline rl_redisplay does not update
when rl_printf is called, so this uses rl_forced_update_display which
should force the new lines to be displayed.

9 years agoclient: Fix typo
Luiz Augusto von Dentz [Fri, 5 Sep 2014 12:49:10 +0000 (15:49 +0300)]
client: Fix typo

9 years agocore: Fix idle watch not being removed properly
Luiz Augusto von Dentz [Fri, 5 Sep 2014 12:49:09 +0000 (15:49 +0300)]
core: Fix idle watch not being removed properly

The idle watch used to dispatch authorization should be removed when
waiting services to be resolved.

9 years agoandrod/client: Extend history line size and depth
Grzegorz Kolodziejczyk [Fri, 5 Sep 2014 12:48:26 +0000 (14:48 +0200)]
androd/client: Extend history line size and depth

For some commands current history line size isn't enough to store it
complete. For complex/long run, extended history depth can be helpful.

9 years agoemulator/bthost: Fix not matching cid data properly
Luiz Augusto von Dentz [Wed, 3 Sep 2014 09:39:41 +0000 (12:39 +0300)]
emulator/bthost: Fix not matching cid data properly

When using bthost_add_l2cap_server the caller expect that both scid and
dcid are the same since the callback only take one value.

9 years agolib/sdp: Split error handing for length and transaction id
Luiz Augusto von Dentz [Wed, 3 Sep 2014 09:33:31 +0000 (12:33 +0300)]
lib/sdp: Split error handing for length and transaction id

This split the handling of invalid PDU length and not matching
transaction id adding proper debug logs.

9 years agoandroid/tester: Add AVRCP Disconnect - Success test case
Luiz Augusto von Dentz [Tue, 2 Sep 2014 14:51:05 +0000 (17:51 +0300)]
android/tester: Add AVRCP Disconnect - Success test case

9 years agoandroid/tester: Add AVRCP Connect - Success test case
Luiz Augusto von Dentz [Tue, 2 Sep 2014 14:35:26 +0000 (17:35 +0300)]
android/tester: Add AVRCP Connect - Success test case

9 years agoandroid/tester: Add AVRCP init - Success test case
Luiz Augusto von Dentz [Mon, 1 Sep 2014 14:49:02 +0000 (17:49 +0300)]
android/tester: Add AVRCP init - Success test case

9 years agoandroid/hidhost: Remove reconnect logic
Lukasz Rymanowski [Fri, 5 Sep 2014 10:37:37 +0000 (12:37 +0200)]
android/hidhost: Remove reconnect logic

GATT can handle reconnect now, so lets remove that part of code from
here.

9 years agomonitor: Remove superfluous call to l2cap_frame_pull
Vikrampal Yadav [Thu, 4 Sep 2014 10:22:38 +0000 (15:52 +0530)]
monitor: Remove superfluous call to l2cap_frame_pull

Removed superfluous call to l2cap_frame_pull.

9 years agomonitor: Add AVRCP InformDisplayableCharacterSet support
Vikrampal Yadav [Tue, 26 Aug 2014 14:20:52 +0000 (19:50 +0530)]
monitor: Add AVRCP InformDisplayableCharacterSet support

Support for decoding AVRCP InformDisplayableCharacterSet added in
Bluetooth monitor.

9 years agomonitor: Add AVRCP GetPlayerApplicationSettingValueText support
Vikrampal Yadav [Tue, 26 Aug 2014 14:20:51 +0000 (19:50 +0530)]
monitor: Add AVRCP GetPlayerApplicationSettingValueText support

Support for decoding AVRCP GetPlayerApplicationSettingValueText
added in Bluetooth monitor.

9 years agomonitor: Add AVRCP GetPlayerApplicationSettingAttributeText support
Vikrampal Yadav [Tue, 26 Aug 2014 14:20:50 +0000 (19:50 +0530)]
monitor: Add AVRCP GetPlayerApplicationSettingAttributeText support

Support for decoding AVRCP GetPlayerApplicationSettingAttributeText
added in Bluetooth monitor.

9 years agomonitor: Add AVRCP SetPlayerApplicationSettingValue support
Vikrampal Yadav [Tue, 26 Aug 2014 14:20:49 +0000 (19:50 +0530)]
monitor: Add AVRCP SetPlayerApplicationSettingValue support

Support for decoding AVRCP SetPlayerApplicationSettingValue
added in Bluetooth monitor.

9 years agomonitor: Add AVRCP GetCurrentPlayerApplicationSettingValue support
Vikrampal Yadav [Thu, 4 Sep 2014 08:40:13 +0000 (14:10 +0530)]
monitor: Add AVRCP GetCurrentPlayerApplicationSettingValue support

Support for decoding AVRCP GetCurrentPlayerApplicationSettingValue
added in Bluetooth monitor.

9 years agoandroid/tester: Use default ssp handler in A2dp - Suspend test case
Marcin Kraglak [Fri, 5 Sep 2014 08:09:56 +0000 (10:09 +0200)]
android/tester: Use default ssp handler in A2dp - Suspend test case

Because ssp_handler was incorrectly overriden with default_ssp_req_cb
in previous test case, this test case used it also. Now it is needed
to define it for each test case where it should be used.

9 years agoandroid/tester: Set ssp_request_cb to default value in teardown
Marcin Kraglak [Fri, 5 Sep 2014 08:09:55 +0000 (10:09 +0200)]
android/tester: Set ssp_request_cb to default value in teardown

It could be set te default_ssp_req_cb and should be set again to
ssp_request_cb.

9 years agoandroid/gatt: Remove device from white list on device destroy
Lukasz Rymanowski [Wed, 3 Sep 2014 14:42:32 +0000 (16:42 +0200)]
android/gatt: Remove device from white list on device destroy