OSDN Git Service
Luiz Augusto von Dentz [Tue, 28 Jun 2011 08:57:25 +0000 (11:57 +0300)]
hcidump: Add basic parsing support for AVRCP PDU
Luiz Augusto von Dentz [Mon, 27 Jun 2011 09:05:27 +0000 (12:05 +0300)]
hcidump: Add basic AVRCP parsing
This add support for AV/C Panel passthrough headers
Luiz Augusto von Dentz [Mon, 27 Jun 2011 09:05:26 +0000 (12:05 +0300)]
hcidump: Add basic AVCTP parsing
Luiz Augusto von Dentz [Mon, 13 Jun 2011 13:46:46 +0000 (16:46 +0300)]
hcidump: Add support for OBEX Action command
Add support for parsing OBEX Action command and related headers.
Johan Hedberg [Thu, 9 Jun 2011 07:09:29 +0000 (16:09 +0900)]
hcidump: Add missing error code descriptions from Core spec. 4.0
Johan Hedberg [Wed, 8 Jun 2011 08:47:39 +0000 (17:47 +0900)]
hcidump: Fix gcc 4.6 compiler warnings
Luiz Augusto von Dentz [Wed, 8 Jun 2011 08:33:24 +0000 (17:33 +0900)]
hcidump: Add basic parsing for SMP
Johan Hedberg [Tue, 7 Jun 2011 07:35:44 +0000 (10:35 +0300)]
hcidump: Fix infinite loop in read by group response parsing
Johan Hedberg [Tue, 7 Jun 2011 07:23:28 +0000 (10:23 +0300)]
hcidump: Add ATT parsing for the ATT fixed CID
Iain Hibbert [Thu, 14 Apr 2011 09:08:36 +0000 (10:08 +0100)]
hcidump: use correct size to copy 'direction' value
frm.in is stored as an uint8_t, so we cannot copy an int there
directly. use an intermediate variable so that it also works
on big-endian systems.
Andre Dieb Martins [Wed, 30 Mar 2011 14:01:34 +0000 (11:01 -0300)]
hcidump: Add parsing for ATT Execute Write command
BT's Core V4.0 document is buggy regarding Execute Write Response, so we'll
leave it out until a proper description is given.
Andre Dieb Martins [Wed, 30 Mar 2011 14:01:33 +0000 (11:01 -0300)]
hcidump: Add parsing for ATT Prepare Write
Andre Dieb Martins [Wed, 30 Mar 2011 14:01:32 +0000 (11:01 -0300)]
hcidump: Fix handle formatting for ATT Handle Notify
Andre Dieb Martins [Wed, 30 Mar 2011 14:01:31 +0000 (11:01 -0300)]
hcidump: Add parsing for ATT Signed Write
Andre Dieb Martins [Wed, 30 Mar 2011 14:01:30 +0000 (11:01 -0300)]
hcidump: Add parsing for ATT Write Command
Andre Dieb Martins [Wed, 30 Mar 2011 14:01:29 +0000 (11:01 -0300)]
hcidump: Add parsing for ATT Write Request
Note we do not need extra parsing for ATT Write Response as it only has
one field (opcode).
Johan Hedberg [Tue, 22 Mar 2011 10:40:18 +0000 (12:40 +0200)]
hcidump: Minor coding style fixes to ATT parser code
Andre Dieb Martins [Mon, 21 Mar 2011 12:18:34 +0000 (09:18 -0300)]
hcidump: Add parsing for Read Multiple
Andre Dieb Martins [Mon, 21 Mar 2011 12:18:33 +0000 (09:18 -0300)]
hcidump: Add parsing for ATT Read By Group
Additionally, fix Read By Type printf formatting for handles.
Andre Dieb Martins [Mon, 21 Mar 2011 12:18:32 +0000 (09:18 -0300)]
hcidump: Add parsing for ATT Read Blob
Andre Dieb Martins [Mon, 21 Mar 2011 12:18:31 +0000 (09:18 -0300)]
hcidump: Add parsing for ATT Find By Type
Anderson Lizardo [Fri, 18 Mar 2011 19:10:19 +0000 (15:10 -0400)]
hcidump: Fix compilation against latest BlueZ
BlueZ now has ntoh64()/hton64() functions in bluetooth.h, therefore the
hcidump local copy is not necessary.
Andre Dieb Martins [Mon, 28 Feb 2011 03:58:22 +0000 (00:58 -0300)]
hcidump: Fix HCI LE advertising report dump
LE advertising report event has only one data block for each report.
Thus, we can't reuse ext_inquiry_response_dump(), which loops over
successive data blocks until reaches a zero-length one.
This commit introduces ext_inquiry_data_dump(), which dumps a frame
containing data formatted according to [Vol 3] Part C, Section 8. This
function is reused by ext_inquiry_response_dump().
Also adds RSSI parsing to each advertising report.
Daniel Orstadius [Thu, 10 Feb 2011 10:34:01 +0000 (12:34 +0200)]
hcidump: Add check for ACL_START_NO_FLUSH
In addition to ACL_START, hcidump should check for the flag
ACL_START_NO_FLUSH to indicate the start of a frame.
Using '==' instead of '&' for the comparison since
ACL_START_NO_FLUSH is defined to zero.
The flag was introduced in BlueZ commit
2430512c983cad8c20252f1df8f297399993ca3d
Andre Dieb Martins [Wed, 9 Feb 2011 17:28:55 +0000 (14:28 -0300)]
hcidump: Add ATT read by type req/resp dump
Andre Dieb Martins [Wed, 9 Feb 2011 17:28:54 +0000 (14:28 -0300)]
hcidump: Add ATT dump for read req/resp
Andre Dieb Martins [Wed, 9 Feb 2011 17:28:53 +0000 (14:28 -0300)]
hcidump: Add ATT find info req/resp dump
Adds dumping for ATT's Find Info Request and Response. Also adds a simple
name resolving for GATT common uuids (listed on Assigned Numbers).
Andre Dieb Martins [Wed, 9 Feb 2011 17:28:52 +0000 (14:28 -0300)]
hcidump: Add ATT error pdu dump
Andre Dieb Martins [Wed, 9 Feb 2011 17:28:51 +0000 (14:28 -0300)]
hcidump: Add ATT MTU req/resp and notify value
Andre Dieb Martins [Wed, 9 Feb 2011 17:28:50 +0000 (14:28 -0300)]
hcidump: Partial dump of ATT PDUs
Starts implementing dumping for ATT/GATT pdus.
André Dieb Martins [Mon, 31 Jan 2011 19:09:32 +0000 (16:09 -0300)]
hcidump: Add missing const to utility functions
André Dieb Martins [Mon, 31 Jan 2011 19:09:31 +0000 (16:09 -0300)]
hcidump: Implement dump for event LE Read Remote Used Features Complete
André Dieb Martins [Mon, 24 Jan 2011 19:32:39 +0000 (16:32 -0300)]
hcidump: Implement dumping for evnet LE Connection Update Complete.
André Dieb Martins [Mon, 24 Jan 2011 19:32:38 +0000 (16:32 -0300)]
hcidump: Fix time intervals dumping of LE commands.
Add missing btohs() convertions and spec. constants for converting time
intervals for LE Set Scan Parameters and LE Set Advertising Parameters.
Marcel Holtmann [Thu, 27 Jan 2011 07:50:11 +0000 (08:50 +0100)]
hcidump: Update copyright information
Anderson Lizardo [Thu, 20 Jan 2011 21:02:48 +0000 (17:02 -0400)]
hcidump: Fix uninitialized struct sockaddr_hci memory passed to bind()
The bind() call in open_socket() was passing a struct sockaddr_hci to
bind() with two uninitialized bytes. This caused "Invalid argument" errors
on kernels which do strict checks of struct sockaddr_hci fields.
André Dieb Martins [Thu, 20 Jan 2011 19:18:13 +0000 (16:18 -0300)]
hcidump: Implement partial support for LE events and commands
Marcel Holtmann [Tue, 5 Oct 2010 07:30:29 +0000 (09:30 +0200)]
hcidump: Fix breakage with LE advertising reports decoding
Marcel Holtmann [Mon, 4 Oct 2010 09:50:21 +0000 (11:50 +0200)]
hcidump: Add support for decoding LE advertising reports
Ville Tervo [Wed, 29 Sep 2010 13:56:21 +0000 (16:56 +0300)]
hcidump: Fix missing comma in cmd_le_str
Ville Tervo [Wed, 29 Sep 2010 13:56:20 +0000 (16:56 +0300)]
hcidump: Add master/slave parsing for le_conn_complete event
Inga Stotland [Wed, 18 Aug 2010 23:38:54 +0000 (16:38 -0700)]
hcidump: Parsing of AMP specific HCI events
Inga Stotland [Wed, 18 Aug 2010 23:38:53 +0000 (16:38 -0700)]
hcidump: Parse Command Complete events corresponding to AMP related HCI commands
Inga Stotland [Wed, 18 Aug 2010 23:38:52 +0000 (16:38 -0700)]
hcidump: Add parsing of AMP related HCI commands
Ville Tervo [Fri, 16 Jul 2010 09:31:07 +0000 (12:31 +0300)]
hcidump: Add LE connection creation dumping
Marcel Holtmann [Mon, 12 Jul 2010 22:52:04 +0000 (19:52 -0300)]
hcidump: Fix unneeded single character option parsing
Marcel Holtmann [Mon, 12 Jul 2010 22:50:49 +0000 (19:50 -0300)]
hcidump: Add command for displaying hcidump version
Marcel Holtmann [Mon, 12 Jul 2010 22:39:52 +0000 (19:39 -0300)]
hcidump: Forgot to remove the --verbose option parsing
Marcel Holtmann [Mon, 12 Jul 2010 22:31:26 +0000 (19:31 -0300)]
hcidump: Remove --verbose also from usage description
Marcel Holtmann [Mon, 12 Jul 2010 22:28:21 +0000 (19:28 -0300)]
hcidump: Just default to verbose parsing and remove the option
Marcel Holtmann [Mon, 12 Jul 2010 22:20:22 +0000 (19:20 -0300)]
hcidump: Remove --noappend and --btsnoop options from manual page
Marcel Holtmann [Mon, 12 Jul 2010 22:19:16 +0000 (19:19 -0300)]
hcidump: Make BT-Snoop format the default file format
Marcel Holtmann [Mon, 12 Jul 2010 22:14:59 +0000 (19:14 -0300)]
hcidump: Remove support for noappend option
Gustavo F. Padovan [Mon, 12 Jul 2010 16:55:50 +0000 (13:55 -0300)]
hcidump: Show P-bit in the l2cap parser
Gustavo F. Padovan [Mon, 12 Jul 2010 16:55:49 +0000 (13:55 -0300)]
hcidump: Show F-bit instead of Retransmission Disable
"F-bit" make more sense for the Enhanced Retranstransmission mode.
Gustavo F. Padovan [Tue, 30 Mar 2010 18:52:23 +0000 (15:52 -0300)]
hcidump: Add new S-frame types to l2cap parser
Nick Pelly [Wed, 10 Feb 2010 01:07:29 +0000 (17:07 -0800)]
hcidump: Print packet type when decoding Setup Synchronous Connection command
Iain Hibbert [Wed, 17 Feb 2010 18:58:37 +0000 (18:58 +0000)]
hcidump: Prevent buffer overruns when parsing invalid OBEX frames
Iain Hibbert [Wed, 17 Feb 2010 10:26:04 +0000 (10:26 +0000)]
hcidump: Correct SDP Universal Attribute name printing
0x000c = Icon URL
0x000d = Additional Protocol Descriptor Lists
Marcel Holtmann [Fri, 5 Feb 2010 18:32:10 +0000 (10:32 -0800)]
hcidump: Fix my stupid typo with Write Inquiry Transmit Power Level
Marcel Holtmann [Sat, 2 Jan 2010 01:20:04 +0000 (17:20 -0800)]
hcidump: Update copyright information
Marcel Holtmann [Sat, 2 Jan 2010 01:13:35 +0000 (17:13 -0800)]
hcidump: Remove send and receive support for HCI streams
Marcel Holtmann [Sat, 2 Jan 2010 01:13:01 +0000 (17:13 -0800)]
hcidump: Add support for fixed channel information element
Johan Hedberg [Wed, 7 Oct 2009 18:51:51 +0000 (20:51 +0200)]
hcidump: Add parsing support for AVDTP 1.3 Delay Reporting
Gustavo F. Padovan [Sun, 9 Aug 2009 08:41:09 +0000 (05:41 -0300)]
hcidump: Add support for FCS Option while configuring devices
Gustavo F. Padovan [Sun, 9 Aug 2009 08:41:08 +0000 (05:41 -0300)]
hcidump: Add support to show RFC option for ERTM and Streaming Mode
Gustavo F. Padovan [Sun, 9 Aug 2009 08:41:06 +0000 (05:41 -0300)]
hcidump: Add values for Enhanced Retransmission and Streaming modes
Marcel Holtmann [Sun, 30 Aug 2009 18:53:24 +0000 (11:53 -0700)]
hcidump: Fix crash with malformed OBEX packets
Marcel Holtmann [Sun, 30 Aug 2009 18:49:40 +0000 (11:49 -0700)]
hcidump: Fix some issues with strict-aliasing
Marcel Holtmann [Sun, 30 Aug 2009 18:37:51 +0000 (11:37 -0700)]
hcidump: Fix unsigned versus signed integer comparison
Marcel Holtmann [Thu, 12 Jun 2008 23:07:35 +0000 (23:07 +0000)]
hcidump: Decode Default Link Policy Settings commands
Marcel Holtmann [Thu, 12 Jun 2008 21:39:16 +0000 (21:39 +0000)]
hcidump: Decode the Read Link Policy Settings command
Marcel Holtmann [Tue, 18 Sep 2007 05:08:47 +0000 (05:08 +0000)]
hcidump: Reset to basic mode when MTU config request is sent
Marcel Holtmann [Mon, 10 Sep 2007 15:46:31 +0000 (15:46 +0000)]
hcidump: Improve decoding of connection link type
Marcel Holtmann [Mon, 10 Sep 2007 00:39:20 +0000 (00:39 +0000)]
hcidump: Full decode of RFC config option
Marcel Holtmann [Mon, 10 Sep 2007 00:07:50 +0000 (00:07 +0000)]
hcidump: Separate RFC mode parsing into its own function
Marcel Holtmann [Sun, 9 Sep 2007 23:53:34 +0000 (23:53 +0000)]
hcidump: Fix handling of unsupported config options
Marcel Holtmann [Wed, 1 Aug 2007 07:32:44 +0000 (07:32 +0000)]
hcidump: Add HCI and LMP decoding support for Simple Pairing
Marcel Holtmann [Sat, 28 Jul 2007 18:04:40 +0000 (18:04 +0000)]
hcidump: Handle device disconnect properly
Marcel Holtmann [Sat, 28 Jul 2007 11:41:10 +0000 (11:41 +0000)]
hcidump: Use broadcast address for discover socket
Marcel Holtmann [Sat, 28 Jul 2007 11:27:15 +0000 (11:27 +0000)]
hcidump: Force TCP as protocol
Marcel Holtmann [Sat, 28 Jul 2007 10:23:48 +0000 (10:23 +0000)]
hcidump: Add simple discover protocol
Marcel Holtmann [Fri, 27 Jul 2007 12:23:25 +0000 (12:23 +0000)]
hcidump: Fix daemon format setting
Marcel Holtmann [Fri, 27 Jul 2007 12:14:11 +0000 (12:14 +0000)]
hcidump: Fix client disconnect detection
Marcel Holtmann [Fri, 27 Jul 2007 11:30:27 +0000 (11:30 +0000)]
hcidump: Improve daemon mode
Marcel Holtmann [Wed, 25 Jul 2007 10:24:39 +0000 (10:24 +0000)]
hcidump: Add simple daemon mode
Marcel Holtmann [Fri, 22 Jun 2007 18:57:51 +0000 (18:57 +0000)]
hcidump: Show SCO packet flags
Marcel Holtmann [Fri, 22 Jun 2007 18:18:48 +0000 (18:18 +0000)]
hcidump: Add missing HCI command and event decodings
Marcel Holtmann [Thu, 21 Jun 2007 21:44:55 +0000 (21:44 +0000)]
hcidump: Add decoding for extended inquiry flags, UUID-16 lists and TX power
Marcel Holtmann [Sat, 16 Jun 2007 12:10:58 +0000 (12:10 +0000)]
hcidump: Add missing HCI error definitions
Marcel Holtmann [Sat, 16 Jun 2007 12:07:28 +0000 (12:07 +0000)]
hcidump: Add missing HCI command definitions
Marcel Holtmann [Sat, 16 Jun 2007 11:49:40 +0000 (11:49 +0000)]
hcidump: Add missing HCI event definitions
Marcel Holtmann [Tue, 1 May 2007 10:56:53 +0000 (10:56 +0000)]
hcidump: Add partial decoding for eSCO setup
Marcel Holtmann [Sun, 8 Apr 2007 20:13:23 +0000 (20:13 +0000)]
hcidump: Fix array size
Marcel Holtmann [Sun, 8 Apr 2007 20:10:33 +0000 (20:10 +0000)]
hcidump: Fix spelling mistakes
Marcel Holtmann [Sun, 18 Feb 2007 03:34:18 +0000 (03:34 +0000)]
hcidump: Update copyright information
Marcel Holtmann [Sun, 18 Feb 2007 03:23:16 +0000 (03:23 +0000)]
hcidump: Decode QoS Setup command
Marcel Holtmann [Sun, 18 Feb 2007 03:17:05 +0000 (03:17 +0000)]
hcidump: Decode AFH Host Channel Classification command
Marcel Holtmann [Sun, 18 Feb 2007 02:35:59 +0000 (02:35 +0000)]
hcidump: Add MacOS X packet logger format
Marcel Holtmann [Sun, 14 Jan 2007 22:44:34 +0000 (22:44 +0000)]
hcidump: Apply LMP decoding also to Philips chips