OSDN Git Service

android-x86/external-bluetooth-bluez.git
11 years agoaudio: Remove unused parameters from sink_connect/sink_disconnect
Luiz Augusto von Dentz [Wed, 19 Dec 2012 11:27:00 +0000 (13:27 +0200)]
audio: Remove unused parameters from sink_connect/sink_disconnect

Profile .connect and .disconnect no longer use callbacks so there is no
reason to keep these parameters around.

11 years agoaudio: Fix not cleaning up player when device is removed
Luiz Augusto von Dentz [Wed, 19 Dec 2012 11:26:59 +0000 (13:26 +0200)]
audio: Fix not cleaning up player when device is removed

All profile connections need to be reported to the core otherwise it
won't be able to disconnect them properly.

11 years agocore: Print profile name in device_profile_connected
Luiz Augusto von Dentz [Wed, 19 Dec 2012 11:26:58 +0000 (13:26 +0200)]
core: Print profile name in device_profile_connected

11 years agotest: Update test-discovery to cope with removed DevicesFound signal
Johan Hedberg [Wed, 19 Dec 2012 09:20:10 +0000 (11:20 +0200)]
test: Update test-discovery to cope with removed DevicesFound signal

This patch updates test-discovery to reply only on ObjectManager and
standard D-Bus properties signals for device discovery.

11 years agoaudio: Make media_player_get_position private to player.c
Johan Hedberg [Wed, 19 Dec 2012 08:39:37 +0000 (10:39 +0200)]
audio: Make media_player_get_position private to player.c

11 years agocore: Remove unused device_get_addr_type function
Johan Hedberg [Wed, 19 Dec 2012 08:38:01 +0000 (10:38 +0200)]
core: Remove unused device_get_addr_type function

11 years agocore: Access device struct internals directly in device.c
Johan Hedberg [Wed, 19 Dec 2012 08:37:14 +0000 (10:37 +0200)]
core: Access device struct internals directly in device.c

11 years agocore: Remove unused textfile_caseget function
Johan Hedberg [Wed, 19 Dec 2012 08:33:38 +0000 (10:33 +0200)]
core: Remove unused textfile_caseget function

11 years agonetwork: Remove unused bnep_kill_all_connections function
Johan Hedberg [Wed, 19 Dec 2012 08:32:41 +0000 (10:32 +0200)]
network: Remove unused bnep_kill_all_connections function

11 years agonetwork: Remove unused bnep_service_id function
Johan Hedberg [Wed, 19 Dec 2012 08:31:54 +0000 (10:31 +0200)]
network: Remove unused bnep_service_id function

11 years agoobexd: Remove unused D-Bus helper functions
Johan Hedberg [Wed, 19 Dec 2012 08:29:18 +0000 (10:29 +0200)]
obexd: Remove unused D-Bus helper functions

11 years agoobexd: Remove unused obex_server_find_driver function
Johan Hedberg [Wed, 19 Dec 2012 08:25:07 +0000 (10:25 +0200)]
obexd: Remove unused obex_server_find_driver function

11 years agocore: Add serialization for removing UUIDs through mgmt
Johan Hedberg [Wed, 19 Dec 2012 08:21:03 +0000 (10:21 +0200)]
core: Add serialization for removing UUIDs through mgmt

This is needed to avoid potential "busy" errors from the kernel. Adding
UUIDs already uses the same mechanism.

11 years agotest: Fix obexd object path in test scripts
Johan Hedberg [Wed, 19 Dec 2012 07:42:45 +0000 (09:42 +0200)]
test: Fix obexd object path in test scripts

11 years agocore: Remove reference to old "mgmtops" name
Anderson Lizardo [Wed, 19 Dec 2012 01:16:15 +0000 (21:16 -0400)]
core: Remove reference to old "mgmtops" name

11 years agocore: Remove bogus DBG()
Anderson Lizardo [Wed, 19 Dec 2012 01:16:14 +0000 (21:16 -0400)]
core: Remove bogus DBG()

mgmt_set_name() already prints the same information, and message still
refers to mgmtops.

11 years agocore: Fix trying to store NULL adapter->name
Anderson Lizardo [Wed, 19 Dec 2012 01:16:13 +0000 (21:16 -0400)]
core: Fix trying to store NULL adapter->name

When BlueZ starts without a main.conf, adapter->name will be initially
NULL, until adapter_name_changed() is called and name is set to "BlueZ".

Before this, store_adapter_info() will try to access a NULL pointer.

Fixes this GLib error:

(bluetoothd:1721): GLib-CRITICAL **: g_key_file_set_string: assertion
`string != NULL' failed

11 years agobuild: Add systemd integration for obexd
Marcel Holtmann [Tue, 18 Dec 2012 21:00:01 +0000 (22:00 +0100)]
build: Add systemd integration for obexd

11 years agobuild: Fix typo with D-Bus system service directory check
Marcel Holtmann [Tue, 18 Dec 2012 20:54:25 +0000 (21:54 +0100)]
build: Fix typo with D-Bus system service directory check

11 years agobuild: Check for D-Bus session services directory
Marcel Holtmann [Tue, 18 Dec 2012 20:53:30 +0000 (21:53 +0100)]
build: Check for D-Bus session services directory

11 years agobuild: Move EXTRA_DIST for systemd files into same location
Marcel Holtmann [Tue, 18 Dec 2012 20:44:47 +0000 (21:44 +0100)]
build: Move EXTRA_DIST for systemd files into same location

11 years agotest: Update to new org.bluez.obex service name
Marcel Holtmann [Tue, 18 Dec 2012 20:25:56 +0000 (21:25 +0100)]
test: Update to new org.bluez.obex service name

11 years agodoc: Service name changed from org.bluez.obex.client to org.bluez.obex
Marcel Holtmann [Tue, 18 Dec 2012 20:25:47 +0000 (21:25 +0100)]
doc: Service name changed from org.bluez.obex.client to org.bluez.obex

11 years agoobexd: Use /org/bluez/obex as root path
Marcel Holtmann [Tue, 18 Dec 2012 20:22:07 +0000 (21:22 +0100)]
obexd: Use /org/bluez/obex as root path

11 years agoobexd: Use a single bus name for obexd and obex-client
Marcel Holtmann [Tue, 18 Dec 2012 20:19:18 +0000 (21:19 +0100)]
obexd: Use a single bus name for obexd and obex-client

11 years agobuild: Use single section for all obexd sources
Marcel Holtmann [Tue, 18 Dec 2012 20:18:19 +0000 (21:18 +0100)]
build: Use single section for all obexd sources

11 years agomonitor: Include flow control lag feature bits
Marcel Holtmann [Tue, 18 Dec 2012 19:46:18 +0000 (20:46 +0100)]
monitor: Include flow control lag feature bits

11 years agomonitor: Highlight unknown feature bits and event masks
Marcel Holtmann [Tue, 18 Dec 2012 19:32:50 +0000 (20:32 +0100)]
monitor: Highlight unknown feature bits and event masks

11 years agoclient: Print message when pairing attempt is in progress
Marcel Holtmann [Tue, 18 Dec 2012 16:42:10 +0000 (17:42 +0100)]
client: Print message when pairing attempt is in progress

11 years agoclient: Add support for providing agent capability
Marcel Holtmann [Tue, 18 Dec 2012 16:39:56 +0000 (17:39 +0100)]
client: Add support for providing agent capability

11 years agocore: Check for valid agent capability
Marcel Holtmann [Tue, 18 Dec 2012 16:38:00 +0000 (17:38 +0100)]
core: Check for valid agent capability

11 years agoclient: Add support for request authorization callbacks
Marcel Holtmann [Tue, 18 Dec 2012 16:23:19 +0000 (17:23 +0100)]
client: Add support for request authorization callbacks

11 years agoclient: Handle legacy pairing and input of PIN codes
Marcel Holtmann [Tue, 18 Dec 2012 16:06:12 +0000 (17:06 +0100)]
client: Handle legacy pairing and input of PIN codes

11 years agocore: Only force SSP and LE setting through the initial read_info
Johan Hedberg [Tue, 18 Dec 2012 16:05:43 +0000 (18:05 +0200)]
core: Only force SSP and LE setting through the initial read_info

11 years agoobexd: Merge obex-client into obexd daemon
Johan Hedberg [Tue, 18 Dec 2012 15:54:03 +0000 (17:54 +0200)]
obexd: Merge obex-client into obexd daemon

11 years agoadapter: Remove DevicesFound signal
Mikel Astiz [Thu, 8 Nov 2012 14:30:13 +0000 (15:30 +0100)]
adapter: Remove DevicesFound signal

ObjectManager reports the D-Bus interfaces of all known devices,
including the ones detected during discovery. Therefore this signal is
not required.

11 years agocore: Remove DisablePlugins main.conf entry
Johan Hedberg [Tue, 18 Dec 2012 15:25:34 +0000 (17:25 +0200)]
core: Remove DisablePlugins main.conf entry

The plugins can still be disabled through the -P command line switch.

11 years agohog: Fix removing HoG device bug
Andre Guedes [Tue, 18 Dec 2012 14:41:21 +0000 (11:41 -0300)]
hog: Fix removing HoG device bug

We should remove only hog_devices from the given btd_device.
Otherwise, all hog_devices will be removed.

11 years agohog: Refactor hog init and exit functions
Andre Guedes [Tue, 18 Dec 2012 14:41:20 +0000 (11:41 -0300)]
hog: Refactor hog init and exit functions

This patch simply renames hog_manager_init and hog_manager_exit
functions to hog_init and hog_exit.

11 years agohog: Merge hog_device.h code into hog_device.c
Andre Guedes [Tue, 18 Dec 2012 14:41:19 +0000 (11:41 -0300)]
hog: Merge hog_device.h code into hog_device.c

This patch merges hog_device.h code into hog_device.c and removes
hog_device.h file. As long as hog_manager.c was merged into hog_
device.c, there is no need to have a header for hog_device.

This patch also adds the static modifier to functions which are
now used only in hog_device.c.

11 years agohog: Merge hog_manager.c code into hog_device.c
Andre Guedes [Tue, 18 Dec 2012 14:41:18 +0000 (11:41 -0300)]
hog: Merge hog_manager.c code into hog_device.c

This patch merges hog_manager.c code into hog_device.c and removes
hog_manager.c file. hog_manager.c is a very small file, so there is
no need to keep it separated.

11 years agotest: Update simple-agent to match latest agent API
Johan Hedberg [Tue, 18 Dec 2012 15:16:55 +0000 (17:16 +0200)]
test: Update simple-agent to match latest agent API

11 years agocore: Update agent manager implementation to match API doc
Johan Hedberg [Tue, 18 Dec 2012 15:16:12 +0000 (17:16 +0200)]
core: Update agent manager implementation to match API doc

11 years agodoc: Add object path parameter to RequestDefaultAgent
Johan Hedberg [Tue, 18 Dec 2012 14:54:42 +0000 (16:54 +0200)]
doc: Add object path parameter to RequestDefaultAgent

11 years agocore: Turn some messages into debugs and fix warning
Marcel Holtmann [Tue, 18 Dec 2012 14:34:29 +0000 (15:34 +0100)]
core: Turn some messages into debugs and fix warning

11 years agoclient: Remove broken helper for message blocks
Marcel Holtmann [Tue, 18 Dec 2012 14:02:47 +0000 (15:02 +0100)]
client: Remove broken helper for message blocks

11 years agoclient: Always print messages with checking readline state
Marcel Holtmann [Tue, 18 Dec 2012 14:02:03 +0000 (15:02 +0100)]
client: Always print messages with checking readline state

11 years agoclient: Check for RL_STATE_DONE before trying to print
Marcel Holtmann [Tue, 18 Dec 2012 13:52:56 +0000 (14:52 +0100)]
client: Check for RL_STATE_DONE before trying to print

11 years agoobexd: Add client prefix to client manager functions
Johan Hedberg [Tue, 18 Dec 2012 14:03:40 +0000 (16:03 +0200)]
obexd: Add client prefix to client manager functions

This is in preparation of merging the client into the daemon.

11 years agocore: Fix memory leak of keys in check_config()
Johan Hedberg [Tue, 18 Dec 2012 12:27:19 +0000 (14:27 +0200)]
core: Fix memory leak of keys in check_config()

11 years agoaudio: Don't print an error for missing conf file
Johan Hedberg [Tue, 18 Dec 2012 12:09:46 +0000 (14:09 +0200)]
audio: Don't print an error for missing conf file

11 years agoinput: Don't print an error for missing conf file
Johan Hedberg [Tue, 18 Dec 2012 12:09:37 +0000 (14:09 +0200)]
input: Don't print an error for missing conf file

11 years agoproximity: Don't print an error for missing conf file
Johan Hedberg [Tue, 18 Dec 2012 12:09:26 +0000 (14:09 +0200)]
proximity: Don't print an error for missing conf file

11 years agocore: Don't print an error for missign main.conf file
Johan Hedberg [Tue, 18 Dec 2012 12:09:12 +0000 (14:09 +0200)]
core: Don't print an error for missign main.conf file

11 years agocore: Add checking for unknown main.conf entries
Johan Hedberg [Tue, 18 Dec 2012 11:58:05 +0000 (13:58 +0200)]
core: Add checking for unknown main.conf entries

11 years agoadapter: Use int for storing signed value
Szymon Janc [Tue, 18 Dec 2012 11:10:58 +0000 (12:10 +0100)]
adapter: Use int for storing signed value

char can be signed or unsigned depending on architecture. This fix
following compilation error on ARM:

src/adapter.c: In function 'convert_primaries_entry`:
src/adapter:2272:2: error: comparison is always true due to limited
range of data type [-Werror=type-limits]
cc1: all warnings being treated as errors
make[1]: *** [src/adapter.o] Error 1

11 years agohcidump: Fix compilation errors due to unaligned memory access
Szymon Janc [Tue, 18 Dec 2012 11:10:57 +0000 (12:10 +0100)]
hcidump: Fix compilation errors due to unaligned memory access

Use bt_get_le* helper functions to access unaligned memory. This fix
number of compilation errors on ARM similar to:

CC     tools/parser/hci.o
tools/parser/hci.c: In function ‘ext_inquiry_data_dump’:
tools/parser/hci.c:797:10 error: cast increases required alignment of
target type [-Werror=cast-align]
tools/parser/hci.c:797:10: error: cast increases required alignment of
target type [-Werror=cast-align]
cc1: all warnings being treated as errors
make[1]: *** [tools/parser/hci.o] Error 1

11 years agodoc: Clarify ConnectProfile UUID parameter
Johan Hedberg [Tue, 18 Dec 2012 10:37:01 +0000 (12:37 +0200)]
doc: Clarify ConnectProfile UUID parameter

11 years agodoc: Bump AVRCP version from 1.4 to 1.5 in supported-features
Johan Hedberg [Tue, 18 Dec 2012 10:34:37 +0000 (12:34 +0200)]
doc: Bump AVRCP version from 1.4 to 1.5 in supported-features

11 years agodoc: Add Cycling Speed to supported-features document
Johan Hedberg [Tue, 18 Dec 2012 10:33:25 +0000 (12:33 +0200)]
doc: Add Cycling Speed to supported-features document

11 years agocore: Remove DisconnectRequested signal
Johan Hedberg [Tue, 18 Dec 2012 10:28:09 +0000 (12:28 +0200)]
core: Remove DisconnectRequested signal

This signal is not needed anymore thanks to the RequestDisconnect
callback of the Profile interface.

11 years agodoc: Fix minor formatting issue in device API
Johan Hedberg [Tue, 18 Dec 2012 10:26:41 +0000 (12:26 +0200)]
doc: Fix minor formatting issue in device API

11 years agodoc: Remove left-over mentions of adapter-based agent methods
Johan Hedberg [Tue, 18 Dec 2012 10:24:58 +0000 (12:24 +0200)]
doc: Remove left-over mentions of adapter-based agent methods

11 years agoaudio: Remove unused a2dp_sep_is_playing function
Johan Hedberg [Tue, 18 Dec 2012 09:38:09 +0000 (11:38 +0200)]
audio: Remove unused a2dp_sep_is_playing function

11 years agoaudio: Remove unnecessary a2dp_sep_get_lock function
Johan Hedberg [Tue, 18 Dec 2012 09:37:21 +0000 (11:37 +0200)]
audio: Remove unnecessary a2dp_sep_get_lock function

11 years agoaudio: Remove unused a2dp_get_sep function
Johan Hedberg [Tue, 18 Dec 2012 09:36:15 +0000 (11:36 +0200)]
audio: Remove unused a2dp_get_sep function

11 years agocore: Make sdp-xml encoding defines private
Johan Hedberg [Tue, 18 Dec 2012 09:33:51 +0000 (11:33 +0200)]
core: Make sdp-xml encoding defines private

11 years agocore: Make sdp-xml functions private that aren't used publically
Johan Hedberg [Tue, 18 Dec 2012 09:31:30 +0000 (11:31 +0200)]
core: Make sdp-xml functions private that aren't used publically

11 years agoneard: Fix agent reference leak
Johan Hedberg [Tue, 18 Dec 2012 09:20:01 +0000 (11:20 +0200)]
neard: Fix agent reference leak

11 years agocore: Fix initiating pairing without a registered agent
Johan Hedberg [Tue, 18 Dec 2012 08:14:48 +0000 (10:14 +0200)]
core: Fix initiating pairing without a registered agent

11 years agoclient: Restore command prompt when agent finishes
Marcel Holtmann [Tue, 18 Dec 2012 04:29:11 +0000 (05:29 +0100)]
client: Restore command prompt when agent finishes

11 years agogdbus: Increase the method call timeout to 5 minutes
Marcel Holtmann [Tue, 18 Dec 2012 04:27:09 +0000 (05:27 +0100)]
gdbus: Increase the method call timeout to 5 minutes

11 years agoclient: Handle accepting/rejecting confirmation requests
Marcel Holtmann [Tue, 18 Dec 2012 04:18:40 +0000 (05:18 +0100)]
client: Handle accepting/rejecting confirmation requests

11 years agogdbus: Add helper for sending async error replies
Marcel Holtmann [Tue, 18 Dec 2012 04:09:59 +0000 (05:09 +0100)]
gdbus: Add helper for sending async error replies

11 years agoclient: Replace certain messages with printing helper
Marcel Holtmann [Tue, 18 Dec 2012 03:24:11 +0000 (04:24 +0100)]
client: Replace certain messages with printing helper

11 years agoclient: Forward input to agent handling if needed
Marcel Holtmann [Tue, 18 Dec 2012 03:22:00 +0000 (04:22 +0100)]
client: Forward input to agent handling if needed

11 years agoclient: Add support for handling passkey confirmation
Marcel Holtmann [Tue, 18 Dec 2012 03:20:40 +0000 (04:20 +0100)]
client: Add support for handling passkey confirmation

11 years agoclient: Use printing helper for agent messages
Marcel Holtmann [Tue, 18 Dec 2012 03:20:02 +0000 (04:20 +0100)]
client: Use printing helper for agent messages

11 years agoclient: Add helper function for readline async printing
Marcel Holtmann [Tue, 18 Dec 2012 03:17:45 +0000 (04:17 +0100)]
client: Add helper function for readline async printing

11 years agoemulator: Add support for Bluetooth host abstraction
Marcel Holtmann [Tue, 18 Dec 2012 00:11:57 +0000 (01:11 +0100)]
emulator: Add support for Bluetooth host abstraction

11 years agomonitor: Fix whitespace damage
Marcel Holtmann [Mon, 17 Dec 2012 23:26:44 +0000 (00:26 +0100)]
monitor: Fix whitespace damage

11 years agotest: Update simple-agent to new API
João Paulo Rechi Vita [Mon, 17 Dec 2012 22:48:20 +0000 (19:48 -0300)]
test: Update simple-agent to new API

The method org.bluez.Device.Pair() doesn't have arguments anymore. This
commit fixes the following error:

  $ test/simple-agent hci0 4C:B1:99:F1:BC:E9
  Agent registered
  ERROR:dbus.connection:Unable to set arguments (u'/test/agent', u'Keybo
  ardDisplay') according to signature '': <type 'exceptions.TypeError'>:
   Fewer items found in D-Bus signature than in Python arguments
  Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 586
  , in msg_reply_handler
      reply_handler(*message.get_args_list(**get_args_opts))
    File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 391, i
  n _introspect_reply_handler
      self._introspect_execute_queue()
    File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 378, i
  n _introspect_execute_queue
      proxy_method(*args, **keywords)
    File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 132, i
  n __call__
      **keywords)
    File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 566
  , in call_async
      message.append(signature=signature, *args)
  TypeError: Fewer items found in D-Bus signature than in Python argumen
  ts

11 years agounit: Fix issue with D-Bus client unit test when building packages
Marcel Holtmann [Mon, 17 Dec 2012 23:12:35 +0000 (00:12 +0100)]
unit: Fix issue with D-Bus client unit test when building packages

11 years agobuild: Add support for building hcidump utility
Marcel Holtmann [Mon, 17 Dec 2012 23:12:10 +0000 (00:12 +0100)]
build: Add support for building hcidump utility

11 years agohcidump: Add private header for L2CAP structures
Marcel Holtmann [Mon, 17 Dec 2012 23:00:39 +0000 (00:00 +0100)]
hcidump: Add private header for L2CAP structures

11 years agohcidump: Add missing declaration of amp_assoc_dump
Marcel Holtmann [Mon, 17 Dec 2012 22:58:24 +0000 (23:58 +0100)]
hcidump: Add missing declaration of amp_assoc_dump

11 years agohcidump: Fix includes for parser functions
Marcel Holtmann [Mon, 17 Dec 2012 22:57:52 +0000 (23:57 +0100)]
hcidump: Fix includes for parser functions

11 years agohcidump: Add support for reading new data link btsnoop files
Marcel Holtmann [Wed, 31 Oct 2012 03:34:37 +0000 (20:34 -0700)]
hcidump: Add support for reading new data link btsnoop files

11 years agohcidump: Print all HCI_LE_Create_Connection parameters
Johan Hedberg [Tue, 9 Oct 2012 13:05:34 +0000 (16:05 +0300)]
hcidump: Print all HCI_LE_Create_Connection parameters

11 years agohcidump: Decode Read Data Block Size HCI cmd
Andrei Emeltchenko [Thu, 30 Aug 2012 13:06:19 +0000 (16:06 +0300)]
hcidump: Decode Read Data Block Size HCI cmd

Decode Read Data Block Size HCI command and command status.

 < HCI Command: Read Data Block Size (0x04|0x000a) plen 0
 > HCI Event: Command Complete (0x0e) plen 10
    Read Data Block Size (0x04|0x000a) ncmd 1
    status 0x00
    Max ACL 1492 Block len 1492 Num blocks 4

11 years agohcidump: Decode Num Completed Data Blocks
Andrei Emeltchenko [Fri, 31 Aug 2012 07:37:20 +0000 (10:37 +0300)]
hcidump: Decode Num Completed Data Blocks

Adds decoding Number Of Completed Data Blocks Event

> HCI Event: Number Of Completed Data Blocks (0x48) plen 9
    Total num blocks 4 Num handles 1
      Handle 0x0001: Num complt pkts 1 Num complt blks 1

11 years agohcidump: Add parsing for GeneralReject PDU
Luiz Augusto von Dentz [Mon, 24 Sep 2012 14:30:59 +0000 (17:30 +0300)]
hcidump: Add parsing for GeneralReject PDU

11 years agohcidump: Add parsing for AddToNowPlaying PDU
Luiz Augusto von Dentz [Wed, 15 Aug 2012 11:34:27 +0000 (14:34 +0300)]
hcidump: Add parsing for AddToNowPlaying PDU

11 years agohcidump: Add parsing for Search PDU
Luiz Augusto von Dentz [Wed, 15 Aug 2012 11:17:33 +0000 (14:17 +0300)]
hcidump: Add parsing for Search PDU

11 years agohcidump: Add parsing for PlayItem PDU
Luiz Augusto von Dentz [Wed, 15 Aug 2012 09:48:01 +0000 (12:48 +0300)]
hcidump: Add parsing for PlayItem PDU

11 years agohcidump: Add parsing for GetItemAttributes PDU
Luiz Augusto von Dentz [Wed, 15 Aug 2012 08:21:59 +0000 (11:21 +0300)]
hcidump: Add parsing for GetItemAttributes PDU

11 years agohcidump: Add parsing for ChangePath PDU
Luiz Augusto von Dentz [Wed, 15 Aug 2012 07:47:49 +0000 (10:47 +0300)]
hcidump: Add parsing for ChangePath PDU

11 years agohcidump: Add parsing for GetFolderItems PDU
Luiz Augusto von Dentz [Mon, 13 Aug 2012 13:50:55 +0000 (16:50 +0300)]
hcidump: Add parsing for GetFolderItems PDU

11 years agohcidump: Fix parsing SetBrowsedPlayer as AV/C pdu
Luiz Augusto von Dentz [Mon, 13 Aug 2012 13:05:40 +0000 (16:05 +0300)]
hcidump: Fix parsing SetBrowsedPlayer as AV/C pdu

As per AVRCP specification 1.4 page 32 the command type of
SetBrowsedPlayer is Browsing, so move it to browsing channel.

In addition to that pass the avctp header to avrcp_dump as it is
required to identify if the frame is a command or response.

11 years agohcidump: Add initial support for browsing channel
Luiz Augusto von Dentz [Mon, 13 Aug 2012 11:11:31 +0000 (14:11 +0300)]
hcidump: Add initial support for browsing channel