OSDN Git Service
Johan Hedberg [Tue, 11 Mar 2014 12:10:49 +0000 (14:10 +0200)]
emulator/btdev: Store LE adv params for later use
Johan Hedberg [Tue, 11 Mar 2014 11:35:12 +0000 (13:35 +0200)]
emulator/btdev: Add storing of LE Scan Response Data
Johan Hedberg [Tue, 11 Mar 2014 11:32:39 +0000 (13:32 +0200)]
emulator/btdev: Store LE Scan type for later use
Grzegorz Kolodziejczyk [Tue, 11 Mar 2014 10:09:32 +0000 (11:09 +0100)]
emulator/btdev: Add support for LE set scan response command
This adds support for btdev LE set scan response command.
Marcin Kraglak [Tue, 11 Mar 2014 10:16:39 +0000 (11:16 +0100)]
android/handsfree: Fix HF features bitmasks
Add missing Remote volume control feature.
Petri Gynther [Fri, 7 Mar 2014 22:55:45 +0000 (14:55 -0800)]
bdaddr: Remove *_CP_SIZE defines
Remove *_CP_SIZE defines and use sizeof(cp) instead.
Petri Gynther [Fri, 7 Mar 2014 22:28:07 +0000 (14:28 -0800)]
bdaddr: Add Marvell support
Johan Hedberg [Mon, 10 Mar 2014 20:07:04 +0000 (22:07 +0200)]
core: Ignore unknown LTK types
Johan Hedberg [Mon, 10 Mar 2014 11:29:00 +0000 (13:29 +0200)]
core: Add support for storing CSRKs
Marcel Holtmann [Mon, 10 Mar 2014 18:34:35 +0000 (11:34 -0700)]
android: Some minor markup changes for the README
Sebastian Chlad [Mon, 10 Mar 2014 17:08:26 +0000 (18:08 +0100)]
android/pts: AVRCP PTS tests results
Adding PTS tests results, mainly for Volume Level Handling section.
Szymon Janc [Mon, 10 Mar 2014 16:37:17 +0000 (17:37 +0100)]
android/handsfree: Fix not removing RING timer on disconnect
Szymon Janc [Mon, 10 Mar 2014 15:12:05 +0000 (16:12 +0100)]
android/handsfree: Fix response for AT+CHLD=?
Szymon Janc [Mon, 10 Mar 2014 14:38:02 +0000 (15:38 +0100)]
android/handsfree: Fix +BRSF and +CHLD responses
Andrei Emeltchenko [Mon, 10 Mar 2014 09:09:53 +0000 (11:09 +0200)]
doc: Update test coverage document
Andrei Emeltchenko [Mon, 10 Mar 2014 09:09:52 +0000 (11:09 +0200)]
unit/avrcp: Add /TP/NFY/BV-04-C test
Test verifies that Target responds to Register notification - Track
Changed - No Selected Track.
Andrei Emeltchenko [Mon, 10 Mar 2014 09:09:51 +0000 (11:09 +0200)]
unit/avrcp: Add /TP/NFY/BV-03-C test
Test verifies that Target responds Register notification command with
parameter AVRCP_EVENT_SETTINGS_CHANGED.
Andrei Emeltchenko [Mon, 10 Mar 2014 09:09:50 +0000 (11:09 +0200)]
unit/avrcp: Add /TP/NFY/BV-02-C test
Test verifies that Target responds to Register notification command.
Andrei Emeltchenko [Mon, 10 Mar 2014 09:09:49 +0000 (11:09 +0200)]
unit/avrcp: Add /TP/NFY/BV-01-C test
Test verifies that Register notification command is issued by
Controller.
Andrei Emeltchenko [Mon, 10 Mar 2014 09:09:48 +0000 (11:09 +0200)]
unit/avrcp: Add /TP/MDI/BV-05-C test
Test verifies that Target responds to Get element attributes cmd.
Andrei Emeltchenko [Mon, 10 Mar 2014 09:09:47 +0000 (11:09 +0200)]
unit/avrcp: Add /TP/MDI/BV-04-C test
Test verifies Get element attributes responded by Target.
Andrei Emeltchenko [Mon, 10 Mar 2014 09:09:46 +0000 (11:09 +0200)]
unit/avrcp: Add /TP/MDI/BV-03-C test
Test verifies that Get element attributes issued correctly.
Andrei Emeltchenko [Mon, 10 Mar 2014 09:09:45 +0000 (11:09 +0200)]
android/avrcp: Add avrcp_get_element_attributes() function
Andrei Emeltchenko [Mon, 10 Mar 2014 09:09:44 +0000 (11:09 +0200)]
unit/avrcp: Add /TP/MDI/BV-01-C test
Test verifies Get play status.
Luiz Augusto von Dentz [Mon, 10 Mar 2014 11:56:25 +0000 (13:56 +0200)]
android/avrcp: Fix setting wrong type for volume changed event
Notification for volume changed should carry the original ctype and
not translate to HAL_AVRCP_EVENT_TYPE_INTERIM or
HAL_AVRCP_EVENT_TYPE_CHANGED which are only valid for register
notification command.
Luiz Augusto von Dentz [Sun, 9 Mar 2014 11:17:42 +0000 (13:17 +0200)]
android/avrcp: Fix not handling SetAbsoluteVolume response
This follow what is stated in AVRCP specification 1.5 page 83:
" When the volume is changed on the TG by this command the Volume Change
notification shall not be completed."
Therefore the only option is to treat the response and self generate
changed notification.
Luiz Augusto von Dentz [Fri, 7 Mar 2014 22:43:38 +0000 (00:43 +0200)]
android/avrcp: Fill attributes in case of empty for GetElementAttributes
This has to be done since Android do not interpret empty list as get all
attributes as it should.
Szymon Janc [Mon, 10 Mar 2014 11:45:10 +0000 (12:45 +0100)]
android/README: Update handsfree implementation state
Szymon Janc [Fri, 7 Mar 2014 23:23:42 +0000 (00:23 +0100)]
android/handsfree: Add comment for AT+VGS/AT+VGM result code
Szymon Janc [Fri, 7 Mar 2014 22:47:47 +0000 (23:47 +0100)]
android/handsfree: Add support for AT+CLIP command
Szymon Janc [Fri, 7 Mar 2014 20:51:44 +0000 (21:51 +0100)]
android/handsfree: Add support for phone state change command
Unfortunately HAL is not getting call, callsetup and callheld
indicators values directly from Android Framework and those need to be
chosen based on number of active/hold calls and call state that
triggered phone state change.
This patch adds only basic call state handling (no three way call).
Szymon Janc [Fri, 7 Mar 2014 15:00:19 +0000 (16:00 +0100)]
android/hal-handsfree: Fix handling of dial notification
Empty number means re-dial and should be passed as NULL.
Szymon Janc [Fri, 7 Mar 2014 14:29:14 +0000 (15:29 +0100)]
android/handsfree: Add support for AT+CHUP command
Szymon Janc [Fri, 7 Mar 2014 14:20:37 +0000 (15:20 +0100)]
android/handsfree: Add support for AT+BLDN command
Szymon Janc [Fri, 7 Mar 2014 13:59:20 +0000 (14:59 +0100)]
android/handsfree: Add support for ATD command
Szymon Janc [Fri, 7 Mar 2014 12:33:37 +0000 (13:33 +0100)]
android/handsfree: Fix checking AT+COPS parameters
Szymon Janc [Fri, 7 Mar 2014 11:25:38 +0000 (12:25 +0100)]
android/handsfree: Add support for ATA command
Szymon Janc [Fri, 7 Mar 2014 11:04:04 +0000 (12:04 +0100)]
android/handsfree: Add support for AT+VTS command
Szymon Janc [Fri, 7 Mar 2014 10:05:30 +0000 (11:05 +0100)]
android/handsfree: Add support fot AT+CNUM command
Szymon Janc [Thu, 6 Mar 2014 19:50:12 +0000 (20:50 +0100)]
android/handsfree: Add support for AT+CKPD command
Szymon Janc [Thu, 6 Mar 2014 19:37:06 +0000 (20:37 +0100)]
android/handsfree: Add support for AT+CMEE command
Szymon Janc [Thu, 6 Mar 2014 19:18:55 +0000 (20:18 +0100)]
android/handsfree: Add support for AT+CHLD command
Szymon Janc [Thu, 6 Mar 2014 15:32:42 +0000 (16:32 +0100)]
android/handsfree: Add support for AT+CLCC command
Szymon Janc [Thu, 6 Mar 2014 15:04:51 +0000 (16:04 +0100)]
android/handsfree: Add support for AT+NREC command
Szymon Janc [Thu, 6 Mar 2014 13:11:29 +0000 (14:11 +0100)]
android/handsfree: Add support for voice recognition function
Szymon Janc [Thu, 6 Mar 2014 12:43:03 +0000 (13:43 +0100)]
android/handsfree: Add support for unknown AT commands
Those commands are passed to Framework without parsing.
Szymon Janc [Thu, 6 Mar 2014 10:46:52 +0000 (11:46 +0100)]
android/handsfree: Add stubs for all AT commands defines by spec
Szymon Janc [Thu, 6 Mar 2014 14:42:28 +0000 (15:42 +0100)]
android/handsfree: Add AG and HF features masks
Szymon Janc [Sun, 9 Mar 2014 22:25:28 +0000 (23:25 +0100)]
android/handsfree: Pass strings as NULL terminated arrays in IPC
If type in HAL IPC is defined as string pass it as NULL terminated
array. This will allow to avoid extra copy when passing strings.
Szymon Janc [Sat, 8 Mar 2014 13:01:17 +0000 (14:01 +0100)]
android/hal-ipc-api: Fix not describing call numbers as strings
Marcin Kraglak [Fri, 7 Mar 2014 20:23:19 +0000 (21:23 +0100)]
android/handsfree: Handle disconnect_audio call
This change adds handling of disconnect_audio call.
Marcin Kraglak [Fri, 7 Mar 2014 20:23:18 +0000 (21:23 +0100)]
android/handsfree: Handle connect_audio call
This change handle connect_audio and start connect procedure.
Marcin Kraglak [Fri, 7 Mar 2014 20:23:17 +0000 (21:23 +0100)]
android/handsfree: Add support for handling incoming SCO connections
This adds support for accepting SCO connections from remote devices.
Szymon Janc [Mon, 10 Mar 2014 10:57:40 +0000 (11:57 +0100)]
android: Fix enabling debug logs when running under Valgrind
Lukasz Rymanowski [Thu, 6 Mar 2014 09:38:01 +0000 (10:38 +0100)]
android: Enable mgmt debug logs
This patch introduce possibility to enable mgmt interface logs.
In order to enable it is required to set property:
persist.sys.bluetooth.mgmtdbg to 1 or literaly "true".
More info in README
Lukasz Rymanowski [Thu, 6 Mar 2014 09:38:00 +0000 (10:38 +0100)]
android: Add possible to enable BlueZ debug logs
With this patch it is possible to enable BlueZ logs. In order
to enable it is required to set property:
persist.sys.bluetooth.debug to 1 or literaly "true".
More info in README
Lukasz Rymanowski [Thu, 6 Mar 2014 09:37:59 +0000 (10:37 +0100)]
android: Change property name for valgrind
Marcel Holtmann [Sun, 9 Mar 2014 22:17:07 +0000 (15:17 -0700)]
doc: List commands and events added to each management version
Marcel Holtmann [Sun, 9 Mar 2014 20:21:34 +0000 (13:21 -0700)]
doc: Fix indentation of management event parameters
Marcel Holtmann [Sun, 9 Mar 2014 19:13:22 +0000 (12:13 -0700)]
tools: Add some extra debug prints to GATT service example
Marcel Holtmann [Sun, 9 Mar 2014 19:12:25 +0000 (12:12 -0700)]
doc: Add description for New Signature Resolving Key event
Marcel Holtmann [Sun, 9 Mar 2014 19:11:04 +0000 (12:11 -0700)]
monitor: Add support for decoding New Signature Resolving Key controls
Marcel Holtmann [Sun, 9 Mar 2014 19:10:41 +0000 (12:10 -0700)]
lib: Add management event structure for signature resolving key
Marcel Holtmann [Sun, 9 Mar 2014 18:59:58 +0000 (11:59 -0700)]
core: Rename IRK key variable from irk to key
Lukasz Rymanowski [Fri, 7 Mar 2014 10:28:30 +0000 (11:28 +0100)]
android: Support LE discovery if adapter supports LE
Lukasz Rymanowski [Fri, 7 Mar 2014 10:28:29 +0000 (11:28 +0100)]
android: Fix type of discovery on start/stop discovery
Discovering type was confused with adapter settings. With this patch it
is fixed
Szymon Janc [Sat, 8 Mar 2014 19:30:50 +0000 (20:30 +0100)]
android/pts: Use descriptive date format
This will avoid confusion between DD.MM.YYYY and MM.DD.YYYY formats.
Sebastian Chlad [Fri, 7 Mar 2014 18:42:47 +0000 (19:42 +0100)]
android/pts: Add AVRCP 1.5 PTS tests
Adding PTS test results for AVRCP 1.5.
Sebastian Chlad [Fri, 7 Mar 2014 18:42:46 +0000 (19:42 +0100)]
android/pics: Correct PICS for AbsoluteVolume
As Specification for AVRCP 1.4+ requires, in case of Absolute
Volume, roles are reveresed and IUT plays CT while PTS plays TG
role (PTS acts as sink. See section 6.13.2 AVRCP 1.5 Spec)
Marcin Kraglak [Fri, 7 Mar 2014 20:23:20 +0000 (21:23 +0100)]
android/handsfree: Remove empty line
Marcin Kraglak [Fri, 7 Mar 2014 20:23:16 +0000 (21:23 +0100)]
android/handsfree: Fix possible g_io_channel_shutdown() on NULL channel
Return false if listen failed.
Szymon Janc [Sat, 8 Mar 2014 18:30:03 +0000 (19:30 +0100)]
android/handsfree: Split AT+VGS and AT+VGM parsing function
Luiz Augusto von Dentz [Fri, 7 Mar 2014 21:23:18 +0000 (23:23 +0200)]
android/avrcp: Bump version to 1.5
Luiz Augusto von Dentz [Fri, 7 Mar 2014 11:16:00 +0000 (13:16 +0200)]
android/avrcp: Add support to set volume command
Luiz Augusto von Dentz [Fri, 7 Mar 2014 11:04:03 +0000 (13:04 +0200)]
android/avrcp-lib: Add avrcp_set_volume function
This adds avrcp_set_volume function which can be used to send
SetAbsoluteVolume PDUs.
Luiz Augusto von Dentz [Fri, 7 Mar 2014 10:44:41 +0000 (12:44 +0200)]
android/avrcp: Add support to receive volume changed notifications
This checks if remote stack supports volume changed notification and
in case it does register to receive notification when volume changes.
Luiz Augusto von Dentz [Fri, 7 Mar 2014 10:43:19 +0000 (12:43 +0200)]
android/avrcp-lib: Add avrcp_register_notification function
This adds avrcp_register_notification which can be used to send
RegisterNotification PDUs.
Szymon Janc [Fri, 7 Mar 2014 09:47:44 +0000 (10:47 +0100)]
android/hal-gatt: Refactor get_device_type to check for cmd status
Szymon Janc [Fri, 7 Mar 2014 09:47:26 +0000 (10:47 +0100)]
android/hal-gatt: Remove dead code
Szymon Janc [Fri, 7 Mar 2014 09:46:55 +0000 (10:46 +0100)]
android/hal-gatt: Fix whitespace issues
Sebastian Chlad [Thu, 6 Mar 2014 09:02:41 +0000 (10:02 +0100)]
android/pics: Change AVRCP to 1.5
Simple PICS switch from AVRCP 1.3 to 1.5
Jakub Tyszkowski [Thu, 6 Mar 2014 11:27:59 +0000 (12:27 +0100)]
android/hal-gatt: Add Server API calls
Send API calls data using IPC.
Jakub Tyszkowski [Thu, 6 Mar 2014 11:27:58 +0000 (12:27 +0100)]
android/hal-gatt: Add Server Event handlers
Call registered handlers with data received through IPC.
Jakub Tyszkowski [Thu, 6 Mar 2014 11:27:57 +0000 (12:27 +0100)]
android/hal-gatt: Add Client API calls
Send API calls data using IPC.
Jakub Tyszkowski [Thu, 6 Mar 2014 11:27:56 +0000 (12:27 +0100)]
android/hal-gatt: Add Client Event handlers
Call registered handlers with data received through IPC.
Johan Hedberg [Fri, 7 Mar 2014 09:28:28 +0000 (11:28 +0200)]
tools/mgmt-tester: Fix own_addr_type for non-connectable advertising
Newer kernels always a private address for non-connectable advertising.
Anderson Lizardo [Sat, 1 Mar 2014 14:25:25 +0000 (10:25 -0400)]
emulator/btdev: Add dummy support for clearing the LE white list
Add just enough support for being able to bring up LE capable virtual
controllers using "btvirt".
Fixes this error on "btvirt -l2":
Unsupported command 0x2010
And on "hciconfig hci0 up":
Can't init device hci0: Invalid request code (56)
Petri Gynther [Thu, 6 Mar 2014 23:00:55 +0000 (15:00 -0800)]
hog: Fill ev.u.create.{phys,uniq} for UHID_CREATE
Fill ev.u.create.{phys,uniq} fields when uHID device is created.
These values are copied to kernel hid_device structure.
linux/include/linux/hid.h:
struct hid_device {
...
char name[128]; /* Device name */
char phys[64]; /* Device physical location */
char uniq[64]; /* Device unique identifier (serial #) */
Petri Gynther [Thu, 6 Mar 2014 23:00:42 +0000 (15:00 -0800)]
hog: Remove hog_device.name
Remove hog_device.name and use hog_device.device to get the device name.
Petri Gynther [Thu, 6 Mar 2014 23:00:22 +0000 (15:00 -0800)]
input: Remove input_device.name
Remove input_device.name and use input_device.device to get the device name.
Szymon Janc [Thu, 6 Mar 2014 19:12:43 +0000 (20:12 +0100)]
android/handsfree: Fix bogus goto in AT+BIA parsing function
Command was not parsed at all.
Marcel Holtmann [Thu, 6 Mar 2014 17:46:57 +0000 (09:46 -0800)]
build: Move gatt-service test utility into tools directory
Andrei Emeltchenko [Wed, 5 Mar 2014 14:32:31 +0000 (16:32 +0200)]
unit/avrcp: Add /TP/MDI/BV-01-C test
Test verifies Get play status command.
Andrei Emeltchenko [Wed, 5 Mar 2014 14:32:30 +0000 (16:32 +0200)]
android/avrcp: Add avrcp_get_play_status() function
Andrei Emeltchenko [Wed, 5 Mar 2014 14:32:29 +0000 (16:32 +0200)]
unit/avrcp: Add /TP/PAS/BI-05-C test
Test verifies that Set player application setting value returns error on
invalid attribute value.
Andrei Emeltchenko [Wed, 5 Mar 2014 14:32:28 +0000 (16:32 +0200)]
unit/avrcp: Add /TP/PAS/BI-04-C test
Test verifies that Get current player application setting value return
error when given invalid attribute id.
Andrei Emeltchenko [Wed, 5 Mar 2014 14:32:27 +0000 (16:32 +0200)]
unit/avrcp: Add /TP/PAS/BI-03-C test
Test verifies thst Get player application setting value text returns
error for invalid attribute value.
Andrei Emeltchenko [Wed, 5 Mar 2014 14:32:26 +0000 (16:32 +0200)]
unit/avrcp: Add attributes and value check
Adds check to get_player_value_text() and update test case.
Andrei Emeltchenko [Wed, 5 Mar 2014 14:32:25 +0000 (16:32 +0200)]
unit/avrcp: Add /TP/PAS/BI-02-C test
Test verifies that List player application setting values returns error
when invalid attribute id is provided.
Andrei Emeltchenko [Wed, 5 Mar 2014 14:32:24 +0000 (16:32 +0200)]
unit/avrcp: Add attributes check in list_player_vals()
Add check and fix test case since it was testing that response is
received but attribute 0 is illegal one.