OSDN Git Service

android-x86/external-bluetooth-bluez.git
11 years agomonitor: Decode the L2CAP create channel commands
Marcel Holtmann [Sun, 11 Nov 2012 09:42:47 +0000 (18:42 +0900)]
monitor: Decode the L2CAP create channel commands

11 years agomonitor: Decode commands for physical and logical links
Marcel Holtmann [Sun, 11 Nov 2012 02:52:18 +0000 (11:52 +0900)]
monitor: Decode commands for physical and logical links

11 years agomonitor: Use PRIx64 instead of PRIu64
Marcel Holtmann [Sun, 11 Nov 2012 02:26:07 +0000 (11:26 +0900)]
monitor: Use PRIx64 instead of PRIu64

11 years agomonitor: Add some missing LE command decodings
Marcel Holtmann [Sat, 10 Nov 2012 19:27:14 +0000 (20:27 +0100)]
monitor: Add some missing LE command decodings

11 years agomonitor: Use hcidump fallback only if monitor channel is not present
Marcel Holtmann [Sat, 10 Nov 2012 16:57:00 +0000 (17:57 +0100)]
monitor: Use hcidump fallback only if monitor channel is not present

11 years agomonitor: Decode L2CAP features and fixed channels list
Marcel Holtmann [Sat, 10 Nov 2012 14:37:33 +0000 (15:37 +0100)]
monitor: Decode L2CAP features and fixed channels list

11 years agoAdd João Paulo to the AUTHORS file
Gustavo Padovan [Fri, 9 Nov 2012 15:06:11 +0000 (16:06 +0100)]
Add João Paulo to the AUTHORS file

11 years agomonitor: Fix uint64_t format specifier
Johan Hedberg [Sat, 10 Nov 2012 12:16:27 +0000 (14:16 +0200)]
monitor: Fix uint64_t format specifier

To be compilable both on 32 and 64 bit architectures the PRIu64 macro
needs to be used as format specifier for uint64_t. Otherwise we'll get
the following type of error either on 32 bit (for %lx) or 64 bit (for
%llx) :

monitor/l2cap.c: In function 'sig_info_rsp':
monitor/l2cap.c:351:3: error: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'uint64_t' [-Werror=format]

11 years agotest: Update get-managed-objects to support Python 3
Johan Hedberg [Sat, 10 Nov 2012 10:05:08 +0000 (12:05 +0200)]
test: Update get-managed-objects to support Python 3

11 years agomonitor: Fix color printing of hexdump
Marcel Holtmann [Fri, 9 Nov 2012 22:54:36 +0000 (23:54 +0100)]
monitor: Fix color printing of hexdump

11 years agomonitor: Use more advanced indent printing
Marcel Holtmann [Fri, 9 Nov 2012 22:46:29 +0000 (23:46 +0100)]
monitor: Use more advanced indent printing

11 years agomonitor: Add decoding of L2CAP signal channel
Marcel Holtmann [Fri, 9 Nov 2012 22:32:30 +0000 (23:32 +0100)]
monitor: Add decoding of L2CAP signal channel

11 years agomonitor: Allow printing with different indents
Marcel Holtmann [Fri, 9 Nov 2012 22:22:10 +0000 (23:22 +0100)]
monitor: Allow printing with different indents

11 years agomonitor: Fix printing of LMP features
Marcel Holtmann [Fri, 9 Nov 2012 21:35:58 +0000 (22:35 +0100)]
monitor: Fix printing of LMP features

11 years agomonitor: Use more explicit L2CAP header parsing
Marcel Holtmann [Fri, 9 Nov 2012 20:23:21 +0000 (21:23 +0100)]
monitor: Use more explicit L2CAP header parsing

11 years agomonitor: Move L2CAP header definition into global include
Marcel Holtmann [Fri, 9 Nov 2012 20:01:06 +0000 (21:01 +0100)]
monitor: Move L2CAP header definition into global include

11 years agomonitor: Use global helper for error color handling
Marcel Holtmann [Fri, 9 Nov 2012 19:58:00 +0000 (20:58 +0100)]
monitor: Use global helper for error color handling

11 years agomonitor: Provice ACL handle to L2CAP packets
Marcel Holtmann [Fri, 9 Nov 2012 19:47:56 +0000 (20:47 +0100)]
monitor: Provice ACL handle to L2CAP packets

11 years agocore: Use /org/bluez as base path
Marcel Holtmann [Fri, 9 Nov 2012 19:39:55 +0000 (20:39 +0100)]
core: Use /org/bluez as base path

11 years agocore: Remove GATT enable option
Marcel Holtmann [Fri, 9 Nov 2012 19:37:43 +0000 (20:37 +0100)]
core: Remove GATT enable option

11 years agoplugins: Remove GATT enable option
Marcel Holtmann [Fri, 9 Nov 2012 19:37:17 +0000 (20:37 +0100)]
plugins: Remove GATT enable option

11 years agoprofiles: Remove GATT enable option
Marcel Holtmann [Fri, 9 Nov 2012 19:36:46 +0000 (20:36 +0100)]
profiles: Remove GATT enable option

11 years agobuild: Always enable GATT support
Marcel Holtmann [Fri, 9 Nov 2012 19:30:54 +0000 (20:30 +0100)]
build: Always enable GATT support

11 years agotest: Add test script for getting managed objects
Marcel Holtmann [Fri, 9 Nov 2012 19:26:26 +0000 (20:26 +0100)]
test: Add test script for getting managed objects

11 years agoTODO: Remove entry for Profile Manager interface change
Marcel Holtmann [Fri, 9 Nov 2012 19:25:53 +0000 (20:25 +0100)]
TODO: Remove entry for Profile Manager interface change

11 years agotest: Update changes for new Profile Manager interface
Marcel Holtmann [Fri, 9 Nov 2012 19:25:22 +0000 (20:25 +0100)]
test: Update changes for new Profile Manager interface

11 years agocore: Move profile registration to Profile Manager interface
Marcel Holtmann [Fri, 9 Nov 2012 19:23:12 +0000 (20:23 +0100)]
core: Move profile registration to Profile Manager interface

11 years agodoc: Create separate Profile Manager interface
Marcel Holtmann [Fri, 9 Nov 2012 19:19:18 +0000 (20:19 +0100)]
doc: Create separate Profile Manager interface

11 years agoinput: Remove unused sixpair.c source file
Marcel Holtmann [Fri, 9 Nov 2012 17:50:59 +0000 (18:50 +0100)]
input: Remove unused sixpair.c source file

11 years agoTODO: Update BlueZ 5 section to match current status
Johan Hedberg [Fri, 9 Nov 2012 12:33:44 +0000 (14:33 +0200)]
TODO: Update BlueZ 5 section to match current status

11 years agocore: Add support for custom Profile.NewConnection properties
Johan Hedberg [Fri, 9 Nov 2012 12:12:05 +0000 (14:12 +0200)]
core: Add support for custom Profile.NewConnection properties

11 years agocore: Add fd_properties parameter to Profile.NewConnection
Johan Hedberg [Fri, 9 Nov 2012 10:29:33 +0000 (12:29 +0200)]
core: Add fd_properties parameter to Profile.NewConnection

11 years agomgmt: Remove peripheral setting
Johan Hedberg [Fri, 9 Nov 2012 10:05:24 +0000 (12:05 +0200)]
mgmt: Remove peripheral setting

It's still not decided how this will be exposed in the end but most
likely it wont be through mgmt (e.g. socket-based enabling is a probable
choice).

11 years agobuild: Remove unused ppporc utility
Marcel Holtmann [Fri, 9 Nov 2012 09:31:28 +0000 (10:31 +0100)]
build: Remove unused ppporc utility

11 years agobuild: Remove unused dfubabel utility
Marcel Holtmann [Fri, 9 Nov 2012 09:19:44 +0000 (10:19 +0100)]
build: Remove unused dfubabel utility

11 years agobuild: Remove unused avctrl utility
Marcel Holtmann [Fri, 9 Nov 2012 09:11:14 +0000 (10:11 +0100)]
build: Remove unused avctrl utility

11 years agobuild: Remove SBC source files
Marcel Holtmann [Fri, 9 Nov 2012 08:59:17 +0000 (09:59 +0100)]
build: Remove SBC source files

11 years agobuild: Remove option to build SBC support
Marcel Holtmann [Fri, 9 Nov 2012 08:57:08 +0000 (09:57 +0100)]
build: Remove option to build SBC support

11 years agoaudio: Remove GStreamer plugin
Marcel Holtmann [Fri, 9 Nov 2012 08:49:28 +0000 (09:49 +0100)]
audio: Remove GStreamer plugin

11 years agobuild: Remove option to build GStreamer plugin
Marcel Holtmann [Fri, 9 Nov 2012 08:44:10 +0000 (09:44 +0100)]
build: Remove option to build GStreamer plugin

11 years agomonitor: Move color text helpers to common location
Marcel Holtmann [Fri, 9 Nov 2012 08:29:56 +0000 (09:29 +0100)]
monitor: Move color text helpers to common location

11 years agoemulator: Add sniffer channel to b1ee utility
Marcel Holtmann [Fri, 9 Nov 2012 08:16:55 +0000 (09:16 +0100)]
emulator: Add sniffer channel to b1ee utility

11 years agomonitor: Add decoding for command to set advertising
Marcel Holtmann [Thu, 8 Nov 2012 17:01:34 +0000 (18:01 +0100)]
monitor: Add decoding for command to set advertising

11 years agomonitor: Make field printing a global helper
Marcel Holtmann [Thu, 8 Nov 2012 14:50:41 +0000 (15:50 +0100)]
monitor: Make field printing a global helper

11 years agobtmgmt: Fix rm-uuid command
Johan Hedberg [Thu, 8 Nov 2012 09:24:45 +0000 (11:24 +0200)]
btmgmt: Fix rm-uuid command

11 years agoAVRCP: Add support for GetCapabilities PDU when acting as controller
Luiz Augusto von Dentz [Wed, 7 Nov 2012 10:34:02 +0000 (12:34 +0200)]
AVRCP: Add support for GetCapabilities PDU when acting as controller

This adds GetCapabilities PDU id to controller handlers vtable so it is
able to respond it properly.

11 years agoAVRCP: Add supported events field to session structure
Luiz Augusto von Dentz [Wed, 7 Nov 2012 10:34:01 +0000 (12:34 +0200)]
AVRCP: Add supported events field to session structure

This simplify detecting which events are available depending on the role
and version of the session.

11 years agomonitor: Add comment for the ACL packet flags
Marcel Holtmann [Wed, 7 Nov 2012 10:02:35 +0000 (11:02 +0100)]
monitor: Add comment for the ACL packet flags

11 years agotools: Add simple btattach utility
Marcel Holtmann [Wed, 7 Nov 2012 09:51:01 +0000 (10:51 +0100)]
tools: Add simple btattach utility

11 years agobtsnoop: Fix signedness compilation errors
Johan Hedberg [Tue, 6 Nov 2012 17:02:32 +0000 (19:02 +0200)]
btsnoop: Fix signedness compilation errors

This patch fixes the following signedness comparison errors:

tools/btsnoop.c: In function 'command_merge':
tools/btsnoop.c:221:21: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
tools/btsnoop.c:263:14: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]

11 years agomonitor: Simplify advertising report parsing to single-reports
Johan Hedberg [Tue, 6 Nov 2012 06:57:26 +0000 (08:57 +0200)]
monitor: Simplify advertising report parsing to single-reports

11 years agomonitor: Use uint8_t instead of size_t
Johan Hedberg [Tue, 6 Nov 2012 06:42:15 +0000 (08:42 +0200)]
monitor: Use uint8_t instead of size_t

11 years agomonitor: Fix minor whitespace issue
Johan Hedberg [Mon, 5 Nov 2012 14:51:51 +0000 (16:51 +0200)]
monitor: Fix minor whitespace issue

11 years agomonitor: Add full EIR parsing support
Johan Hedberg [Mon, 5 Nov 2012 14:51:36 +0000 (16:51 +0200)]
monitor: Add full EIR parsing support

11 years agomonitor: Add print_hex_field convenience function
Johan Hedberg [Mon, 5 Nov 2012 14:49:12 +0000 (16:49 +0200)]
monitor: Add print_hex_field convenience function

11 years agomonitor: Fix LE advertising report parsing
Johan Hedberg [Mon, 5 Nov 2012 10:32:02 +0000 (12:32 +0200)]
monitor: Fix LE advertising report parsing

11 years agomonitor: Add support for variable length EIR data
Johan Hedberg [Mon, 5 Nov 2012 10:26:05 +0000 (12:26 +0200)]
monitor: Add support for variable length EIR data

11 years agoproximity: Enable reconnection in Proximity monitor
Andre Guedes [Sun, 4 Nov 2012 20:31:47 +0000 (17:31 -0300)]
proximity: Enable reconnection in Proximity monitor

According to Proximity Profile spec, when a connection is terminated
due to link loss a Proximity Monitor should attempt to reconnect.

11 years agolib: Change maximum pkt size for High Speed max pkt
Andrei Emeltchenko [Wed, 31 Oct 2012 13:16:41 +0000 (15:16 +0200)]
lib: Change maximum pkt size for High Speed max pkt

For AMP, L2CAP packets might be of bigger size, up to 1492 bytes.
Without the change hcidump cuts AMP data packets.

11 years agotools: Add tool for merging multiple btsnoop traces into one
Marcel Holtmann [Sun, 4 Nov 2012 20:50:46 +0000 (21:50 +0100)]
tools: Add tool for merging multiple btsnoop traces into one

11 years agomonitor: Support basic set of AMP controller commands and events
Marcel Holtmann [Sun, 4 Nov 2012 18:32:46 +0000 (19:32 +0100)]
monitor: Support basic set of AMP controller commands and events

11 years agomonitor: Allow filtering on controller index
Marcel Holtmann [Sun, 4 Nov 2012 16:47:27 +0000 (17:47 +0100)]
monitor: Allow filtering on controller index

11 years agomonitor: Fix handling of buffer for high speed data frames
Marcel Holtmann [Sun, 4 Nov 2012 16:21:22 +0000 (17:21 +0100)]
monitor: Fix handling of buffer for high speed data frames

11 years agomonitor: Support command line options for timestamps
Marcel Holtmann [Sun, 4 Nov 2012 16:02:40 +0000 (17:02 +0100)]
monitor: Support command line options for timestamps

11 years agomonitor: Show time offset instead of full time value
Marcel Holtmann [Sun, 4 Nov 2012 15:52:44 +0000 (16:52 +0100)]
monitor: Show time offset instead of full time value

11 years agomonitor: Reset line color after index label or timestamp
Marcel Holtmann [Sun, 4 Nov 2012 15:16:48 +0000 (16:16 +0100)]
monitor: Reset line color after index label or timestamp

11 years agomonitor: Show index label on the right
Marcel Holtmann [Sun, 4 Nov 2012 15:05:27 +0000 (16:05 +0100)]
monitor: Show index label on the right

11 years agomonitor: Ellipsize the packet titles to fit on line
Marcel Holtmann [Sun, 4 Nov 2012 14:36:04 +0000 (15:36 +0100)]
monitor: Ellipsize the packet titles to fit on line

11 years agomonitor: Use smaller indentation for packet content
Marcel Holtmann [Sun, 4 Nov 2012 13:05:43 +0000 (14:05 +0100)]
monitor: Use smaller indentation for packet content

11 years agomonitor: Show timestamp on the right
Marcel Holtmann [Sun, 4 Nov 2012 13:01:32 +0000 (14:01 +0100)]
monitor: Show timestamp on the right

11 years agomonitor: Use global file for display settings
Marcel Holtmann [Sun, 4 Nov 2012 09:16:30 +0000 (10:16 +0100)]
monitor: Use global file for display settings

11 years agomonitor: Do not show index for single controller trace files
Marcel Holtmann [Sun, 4 Nov 2012 05:48:06 +0000 (06:48 +0100)]
monitor: Do not show index for single controller trace files

11 years agomonitor: Use SOCK_CLOEXEC and O_CLOEXEC
Marcel Holtmann [Sun, 4 Nov 2012 05:22:26 +0000 (06:22 +0100)]
monitor: Use SOCK_CLOEXEC and O_CLOEXEC

11 years agomonitor: Add missing LE start encryption command
Marcel Holtmann [Sat, 3 Nov 2012 11:48:25 +0000 (12:48 +0100)]
monitor: Add missing LE start encryption command

11 years agomonitor: Fix LE random address decoding
Johan Hedberg [Sat, 3 Nov 2012 11:27:12 +0000 (13:27 +0200)]
monitor: Fix LE random address decoding

11 years agomonitor: Add SMP opcode decoding
Marcel Holtmann [Sat, 3 Nov 2012 11:27:23 +0000 (12:27 +0100)]
monitor: Add SMP opcode decoding

11 years agomonitor: Add L2CAP opcode decoding
Marcel Holtmann [Sat, 3 Nov 2012 11:11:54 +0000 (12:11 +0100)]
monitor: Add L2CAP opcode decoding

11 years agomonitor: Add A2MP opcode decoding
Marcel Holtmann [Sat, 3 Nov 2012 10:36:37 +0000 (11:36 +0100)]
monitor: Add A2MP opcode decoding

11 years agomonitor: Add ATT opcode decoding
Marcel Holtmann [Sat, 3 Nov 2012 10:07:22 +0000 (11:07 +0100)]
monitor: Add ATT opcode decoding

11 years agomonitor: Add simple L2CAP packet framing
Marcel Holtmann [Sat, 3 Nov 2012 09:25:03 +0000 (10:25 +0100)]
monitor: Add simple L2CAP packet framing

11 years agomonitor: Majority of LE commands and events
Marcel Holtmann [Sat, 3 Nov 2012 08:35:26 +0000 (09:35 +0100)]
monitor: Majority of LE commands and events

11 years agomonitor: Complete basic rate link policy commands
Marcel Holtmann [Sat, 3 Nov 2012 05:47:13 +0000 (06:47 +0100)]
monitor: Complete basic rate link policy commands

11 years agomonitor: Update color encodings
Marcel Holtmann [Sat, 3 Nov 2012 04:23:46 +0000 (05:23 +0100)]
monitor: Update color encodings

11 years agomonitor: Complete basic rate link control commands
Marcel Holtmann [Fri, 2 Nov 2012 22:20:08 +0000 (23:20 +0100)]
monitor: Complete basic rate link control commands

11 years agomonitor: Add support for automatic pager
Marcel Holtmann [Fri, 2 Nov 2012 20:32:54 +0000 (21:32 +0100)]
monitor: Add support for automatic pager

11 years agomonitor: Read logs with data link type 1002
Marcel Holtmann [Fri, 2 Nov 2012 19:23:59 +0000 (20:23 +0100)]
monitor: Read logs with data link type 1002

11 years agomonitor: Add decoding for all basic rate events
Marcel Holtmann [Fri, 2 Nov 2012 18:53:08 +0000 (19:53 +0100)]
monitor: Add decoding for all basic rate events

11 years agomonitor: Add decoding for all inquiry result events
Marcel Holtmann [Fri, 2 Nov 2012 10:27:03 +0000 (11:27 +0100)]
monitor: Add decoding for all inquiry result events

11 years agoemulator: Add the page scan modes to inquiry results
Marcel Holtmann [Fri, 2 Nov 2012 10:23:17 +0000 (11:23 +0100)]
emulator: Add the page scan modes to inquiry results

11 years agomonitor: Add a few more LE commands to the decoding
Marcel Holtmann [Fri, 2 Nov 2012 10:08:57 +0000 (11:08 +0100)]
monitor: Add a few more LE commands to the decoding

11 years agomonitor: Enable simple coloring
Marcel Holtmann [Fri, 2 Nov 2012 09:36:52 +0000 (10:36 +0100)]
monitor: Enable simple coloring

11 years agomonitor: Fix two minor typos
Marcel Holtmann [Fri, 2 Nov 2012 07:51:22 +0000 (08:51 +0100)]
monitor: Fix two minor typos

11 years agomonitor: Add more decoding of HCI commands and events
Marcel Holtmann [Fri, 2 Nov 2012 07:39:33 +0000 (08:39 +0100)]
monitor: Add more decoding of HCI commands and events

11 years agolib: Fix EVT_CONN_COMPLETE_SIZE constant
Marcel Holtmann [Fri, 2 Nov 2012 03:47:58 +0000 (04:47 +0100)]
lib: Fix EVT_CONN_COMPLETE_SIZE constant

11 years agomonitor: Add complete list for error descriptions
Marcel Holtmann [Fri, 2 Nov 2012 02:29:50 +0000 (03:29 +0100)]
monitor: Add complete list for error descriptions

11 years agoAVCTP: Fix scope of transactions to be per channel
Luiz Augusto von Dentz [Wed, 31 Oct 2012 10:04:57 +0000 (12:04 +0200)]
AVCTP: Fix scope of transactions to be per channel

As per AVRCP spec:

  "It should be noted that transaction labels are scoped to an AVCTP
  channel, so an AVRCP specific AV/C command and an AVRCP specific
  browsing command may be outstanding at the same time with the same
  transaction label."

11 years agomonitor: Add some basic HCI command and event parsing
Marcel Holtmann [Thu, 1 Nov 2012 07:10:32 +0000 (08:10 +0100)]
monitor: Add some basic HCI command and event parsing

11 years agomonitor: Add support for full client handling and printing
Marcel Holtmann [Thu, 1 Nov 2012 04:24:50 +0000 (21:24 -0700)]
monitor: Add support for full client handling and printing

11 years agoemulator: Handle requests for advertising channel TX power
Marcel Holtmann [Thu, 1 Nov 2012 01:42:50 +0000 (18:42 -0700)]
emulator: Handle requests for advertising channel TX power

11 years agomonitor: Add data structure for advertising channel TX power
Marcel Holtmann [Thu, 1 Nov 2012 01:41:57 +0000 (18:41 -0700)]
monitor: Add data structure for advertising channel TX power