Commit Graph

1278 Commits

Author SHA1 Message Date
Johan Hedberg
3a36ce57d3 hcidump: Fix infinite loop in read by group response parsing 2012-12-17 23:53:03 +01:00
Johan Hedberg
ea8fb0bc76 hcidump: Add ATT parsing for the ATT fixed CID 2012-12-17 23:53:03 +01:00
Iain Hibbert
b8c3c64af3 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.
2012-12-17 23:53:03 +01:00
Andre Dieb Martins
1bf376e950 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.
2012-12-17 23:53:03 +01:00
Andre Dieb Martins
245bb41fd5 hcidump: Add parsing for ATT Prepare Write 2012-12-17 23:53:03 +01:00
Andre Dieb Martins
87420ada41 hcidump: Fix handle formatting for ATT Handle Notify 2012-12-17 23:53:03 +01:00
Andre Dieb Martins
c0720bef51 hcidump: Add parsing for ATT Signed Write 2012-12-17 23:53:03 +01:00
Andre Dieb Martins
8c6a10f527 hcidump: Add parsing for ATT Write Command 2012-12-17 23:53:03 +01:00
Andre Dieb Martins
32f993ef21 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).
2012-12-17 23:53:03 +01:00
Johan Hedberg
ec6a4aed06 hcidump: Minor coding style fixes to ATT parser code 2012-12-17 23:53:03 +01:00
Andre Dieb Martins
f0c49c0165 hcidump: Add parsing for Read Multiple 2012-12-17 23:53:03 +01:00
Andre Dieb Martins
45786d1ecb hcidump: Add parsing for ATT Read By Group
Additionally, fix Read By Type printf formatting for handles.
2012-12-17 23:53:02 +01:00
Andre Dieb Martins
fb5bb0cf07 hcidump: Add parsing for ATT Read Blob 2012-12-17 23:53:02 +01:00
Andre Dieb Martins
ea43a85bd4 hcidump: Add parsing for ATT Find By Type 2012-12-17 23:53:02 +01:00
Anderson Lizardo
0c78d8cb1f hcidump: Fix compilation against latest BlueZ
BlueZ now has ntoh64()/hton64() functions in bluetooth.h, therefore the
hcidump local copy is not necessary.
2012-12-17 23:53:02 +01:00
Andre Dieb Martins
22974ec9ef 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.
2012-12-17 23:53:02 +01:00
Daniel Orstadius
10fb9d6a17 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
2430512c98
2012-12-17 23:53:02 +01:00
Andre Dieb Martins
d19c035749 hcidump: Add ATT read by type req/resp dump 2012-12-17 23:53:02 +01:00
Andre Dieb Martins
38954ff4c7 hcidump: Add ATT dump for read req/resp 2012-12-17 23:53:02 +01:00
Andre Dieb Martins
b7388e9fbf 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).
2012-12-17 23:53:02 +01:00
Andre Dieb Martins
b92b12c134 hcidump: Add ATT error pdu dump 2012-12-17 23:53:02 +01:00
Andre Dieb Martins
6b066c9b8d hcidump: Add ATT MTU req/resp and notify value 2012-12-17 23:53:02 +01:00
Andre Dieb Martins
6098c44af0 hcidump: Partial dump of ATT PDUs
Starts implementing dumping for ATT/GATT pdus.
2012-12-17 23:53:02 +01:00
André Dieb Martins
40499cd8e6 hcidump: Add missing const to utility functions 2012-12-17 23:53:02 +01:00
André Dieb Martins
021ad1309b hcidump: Implement dump for event LE Read Remote Used Features Complete 2012-12-17 23:53:02 +01:00
André Dieb Martins
31167d94ee hcidump: Implement dumping for evnet LE Connection Update Complete. 2012-12-17 23:53:02 +01:00
André Dieb Martins
b67814b8da 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.
2012-12-17 23:53:02 +01:00
Marcel Holtmann
c6b73e9b44 hcidump: Update copyright information 2012-12-17 23:53:01 +01:00
Anderson Lizardo
c8dc6d040f 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.
2012-12-17 23:53:01 +01:00
André Dieb Martins
cb0bb3a9e8 hcidump: Implement partial support for LE events and commands 2012-12-17 23:53:01 +01:00
Marcel Holtmann
77b2a11a08 hcidump: Fix breakage with LE advertising reports decoding 2012-12-17 23:53:01 +01:00
Marcel Holtmann
ecdcbb42b0 hcidump: Add support for decoding LE advertising reports 2012-12-17 23:53:01 +01:00
Ville Tervo
1a62ff9afd hcidump: Fix missing comma in cmd_le_str 2012-12-17 23:53:01 +01:00
Ville Tervo
fc497f800c hcidump: Add master/slave parsing for le_conn_complete event 2012-12-17 23:53:01 +01:00
Inga Stotland
c1240fdfa4 hcidump: Parsing of AMP specific HCI events 2012-12-17 23:53:01 +01:00
Inga Stotland
0c5c007c58 hcidump: Parse Command Complete events corresponding to AMP related HCI commands 2012-12-17 23:53:01 +01:00
Inga Stotland
acd533232a hcidump: Add parsing of AMP related HCI commands 2012-12-17 23:53:01 +01:00
Ville Tervo
50ae421b47 hcidump: Add LE connection creation dumping 2012-12-17 23:53:01 +01:00
Marcel Holtmann
5d365c05fd hcidump: Fix unneeded single character option parsing 2012-12-17 23:53:01 +01:00
Marcel Holtmann
14e915fafd hcidump: Add command for displaying hcidump version 2012-12-17 23:53:01 +01:00
Marcel Holtmann
4f63d01dfd hcidump: Forgot to remove the --verbose option parsing 2012-12-17 23:53:01 +01:00
Marcel Holtmann
865cf4f1ed hcidump: Remove --verbose also from usage description 2012-12-17 23:53:01 +01:00
Marcel Holtmann
c89eff9be0 hcidump: Just default to verbose parsing and remove the option 2012-12-17 23:53:01 +01:00
Marcel Holtmann
4fd47e9f91 hcidump: Remove --noappend and --btsnoop options from manual page 2012-12-17 23:53:00 +01:00
Marcel Holtmann
34c693bb16 hcidump: Make BT-Snoop format the default file format 2012-12-17 23:53:00 +01:00
Marcel Holtmann
1e54e8bd0b hcidump: Remove support for noappend option 2012-12-17 23:53:00 +01:00
Gustavo F. Padovan
7b87a471a4 hcidump: Show P-bit in the l2cap parser 2012-12-17 23:53:00 +01:00
Gustavo F. Padovan
2f75cc50be hcidump: Show F-bit instead of Retransmission Disable
"F-bit" make more sense for the Enhanced Retranstransmission mode.
2012-12-17 23:53:00 +01:00
Gustavo F. Padovan
79dabfb925 hcidump: Add new S-frame types to l2cap parser 2012-12-17 23:53:00 +01:00
Nick Pelly
6883784cf7 hcidump: Print packet type when decoding Setup Synchronous Connection command 2012-12-17 23:53:00 +01:00
Iain Hibbert
b1cf1d94a0 hcidump: Prevent buffer overruns when parsing invalid OBEX frames 2012-12-17 23:53:00 +01:00
Iain Hibbert
053d539a7b hcidump: Correct SDP Universal Attribute name printing
0x000c = Icon URL
0x000d = Additional Protocol Descriptor Lists
2012-12-17 23:53:00 +01:00
Marcel Holtmann
fd713d877f hcidump: Fix my stupid typo with Write Inquiry Transmit Power Level 2012-12-17 23:53:00 +01:00
Marcel Holtmann
8133ca747d hcidump: Update copyright information 2012-12-17 23:53:00 +01:00
Marcel Holtmann
836fcdf588 hcidump: Remove send and receive support for HCI streams 2012-12-17 23:53:00 +01:00
Marcel Holtmann
c8dd52a6a7 hcidump: Add support for fixed channel information element 2012-12-17 23:53:00 +01:00
Johan Hedberg
3f3024d24a hcidump: Add parsing support for AVDTP 1.3 Delay Reporting 2012-12-17 23:53:00 +01:00
Gustavo F. Padovan
87303e70fe hcidump: Add support for FCS Option while configuring devices 2012-12-17 23:53:00 +01:00
Gustavo F. Padovan
bb197be7ae hcidump: Add support to show RFC option for ERTM and Streaming Mode 2012-12-17 23:53:00 +01:00
Gustavo F. Padovan
30f6d3d759 hcidump: Add values for Enhanced Retransmission and Streaming modes 2012-12-17 23:52:59 +01:00
Marcel Holtmann
0e8291f2b5 hcidump: Fix crash with malformed OBEX packets 2012-12-17 23:52:59 +01:00
Marcel Holtmann
09318fdc99 hcidump: Fix some issues with strict-aliasing 2012-12-17 23:52:59 +01:00
Marcel Holtmann
4c031b07da hcidump: Fix unsigned versus signed integer comparison 2012-12-17 23:52:59 +01:00
Marcel Holtmann
9ae42c451f hcidump: Decode Default Link Policy Settings commands 2012-12-17 23:52:59 +01:00
Marcel Holtmann
a4ca610e76 hcidump: Decode the Read Link Policy Settings command 2012-12-17 23:52:59 +01:00
Marcel Holtmann
ea224d7b0d hcidump: Reset to basic mode when MTU config request is sent 2012-12-17 23:52:59 +01:00
Marcel Holtmann
d089eca639 hcidump: Improve decoding of connection link type 2012-12-17 23:52:59 +01:00
Marcel Holtmann
7291e0c558 hcidump: Full decode of RFC config option 2012-12-17 23:52:59 +01:00
Marcel Holtmann
888e0d0ee8 hcidump: Separate RFC mode parsing into its own function 2012-12-17 23:52:59 +01:00
Marcel Holtmann
03021c9031 hcidump: Fix handling of unsupported config options 2012-12-17 23:52:59 +01:00
Marcel Holtmann
7b8fcb79b1 hcidump: Add HCI and LMP decoding support for Simple Pairing 2012-12-17 23:52:59 +01:00
Marcel Holtmann
67342e64c6 hcidump: Handle device disconnect properly 2012-12-17 23:52:59 +01:00
Marcel Holtmann
458951454a hcidump: Use broadcast address for discover socket 2012-12-17 23:52:59 +01:00
Marcel Holtmann
ebfc59f868 hcidump: Force TCP as protocol 2012-12-17 23:52:59 +01:00
Marcel Holtmann
36574489bf hcidump: Add simple discover protocol 2012-12-17 23:52:59 +01:00
Marcel Holtmann
d05b8eb591 hcidump: Fix daemon format setting 2012-12-17 23:52:58 +01:00
Marcel Holtmann
aa05beff8f hcidump: Fix client disconnect detection 2012-12-17 23:52:58 +01:00
Marcel Holtmann
b268efe526 hcidump: Improve daemon mode 2012-12-17 23:52:58 +01:00
Marcel Holtmann
1c1c72340d hcidump: Add simple daemon mode 2012-12-17 23:52:58 +01:00
Marcel Holtmann
3cf4757727 hcidump: Show SCO packet flags 2012-12-17 23:52:58 +01:00
Marcel Holtmann
2391abcfc7 hcidump: Add missing HCI command and event decodings 2012-12-17 23:52:58 +01:00
Marcel Holtmann
1b89af163b hcidump: Add decoding for extended inquiry flags, UUID-16 lists and TX power 2012-12-17 23:52:58 +01:00
Marcel Holtmann
3e5ef66835 hcidump: Add missing HCI error definitions 2012-12-17 23:52:58 +01:00
Marcel Holtmann
57ac98c7f5 hcidump: Add missing HCI command definitions 2012-12-17 23:52:58 +01:00
Marcel Holtmann
5658a945b4 hcidump: Add missing HCI event definitions 2012-12-17 23:52:58 +01:00
Marcel Holtmann
b2a5fbc6ad hcidump: Add partial decoding for eSCO setup 2012-12-17 23:52:58 +01:00
Marcel Holtmann
c3b91b31ae hcidump: Fix array size 2012-12-17 23:52:58 +01:00
Marcel Holtmann
58b863ea23 hcidump: Fix spelling mistakes 2012-12-17 23:52:58 +01:00
Marcel Holtmann
5c1f9093b6 hcidump: Update copyright information 2012-12-17 23:52:58 +01:00
Marcel Holtmann
491e1dd16b hcidump: Decode QoS Setup command 2012-12-17 23:52:58 +01:00
Marcel Holtmann
b544de7b79 hcidump: Decode AFH Host Channel Classification command 2012-12-17 23:52:57 +01:00
Marcel Holtmann
f90b754106 hcidump: Add MacOS X packet logger format 2012-12-17 23:52:57 +01:00
Marcel Holtmann
7700e97cfc hcidump: Apply LMP decoding also to Philips chips 2012-12-17 23:52:57 +01:00
Marcel Holtmann
96f773cae1 hcidump: Fix handling for unexpected protocols 2012-12-17 23:52:57 +01:00
Marcel Holtmann
52241871a6 hcidump: Add IPv6 support 2012-12-17 23:52:57 +01:00
Marcel Holtmann
8e1c754a1c hcidump: Print newline for empty commands 2012-12-17 23:52:57 +01:00
Marcel Holtmann
6f7da514e4 hcidump: Decode host buffer size command 2012-12-17 23:52:57 +01:00
Marcel Holtmann
d4c7714b90 hcidump: Decode host number of completed packets 2012-12-17 23:52:57 +01:00
Marcel Holtmann
7be0d2b3b0 hcidump: Decode host controller to host flow control setting 2012-12-17 23:52:57 +01:00
Marcel Holtmann
7b8006f379 hcidump: Adapt to rename of link supervision timeout event 2012-12-17 23:52:57 +01:00
Marcel Holtmann
acd92061fb hcidump: Fix OBEX header parsing 2012-12-17 23:52:57 +01:00
Marcel Holtmann
7c72155b81 hcidump: Decode link supervision timeout change event 2012-12-17 23:52:57 +01:00
Marcel Holtmann
441384924b hcidump: Handle return values of write() 2012-12-17 23:52:57 +01:00
Marcel Holtmann
4bf1608653 hcidump: Add new sniffer firmwares 2012-12-17 23:52:57 +01:00
Marcel Holtmann
abe3682060 hcidump: Update UUID and attribute definitions 2012-12-17 23:52:57 +01:00
Marcel Holtmann
37d37b2bc4 hcidump: Update sniff subrating decoding 2012-12-17 23:52:57 +01:00
Marcel Holtmann
e4c17e0568 hcidump: Add Ericsson LMP decoding support 2012-12-17 23:52:56 +01:00
Marcel Holtmann
37fe15255a hcidump: Add Ericsson specific parser 2012-12-17 23:52:56 +01:00
Marcel Holtmann
4665be2e3f hcidump: Add decoding support for HOPPING_ON and SINGLE_CHAN 2012-12-17 23:52:56 +01:00
Marcel Holtmann
d70f145e03 hcidump: Fix stupid DoS problem 2012-12-17 23:52:56 +01:00
Marcel Holtmann
5cbaca45cf hcidump: Add decoding for pause encryption feature 2012-12-17 23:52:56 +01:00
Marcel Holtmann
913631b068 hcidump: Decode the test id from the radio test commands 2012-12-17 23:52:56 +01:00
Marcel Holtmann
0b60715c0c hcidump: Add decoding for radio test commands 2012-12-17 23:52:56 +01:00
Marcel Holtmann
3528cdb2db hcidump: Move TCP/IP decoders into a separate file 2012-12-17 23:52:56 +01:00
Marcel Holtmann
d3aa50e258 hcidump: Update PPP parser with unslip support and basic protocol decoding 2012-12-17 23:52:56 +01:00
Marcel Holtmann
62a98dc28a hcidump: Add a noappend command line parameter 2012-12-17 23:52:56 +01:00
Marcel Holtmann
42ad78700e hcidump: Add PPP extraction support 2012-12-17 23:52:56 +01:00
Marcel Holtmann
e6c5ffe4f0 hcidump: Add HDLC decoding support to the PPP parser 2012-12-17 23:52:56 +01:00
Marcel Holtmann
8916fbd7c3 hcidump: Add generic RFCOMM streaming helpers 2012-12-17 23:52:56 +01:00
Marcel Holtmann
f4c7874f79 hcidump: Obfuscate the BD_ADDR if no vendor events are requested 2012-12-17 23:52:56 +01:00
Marcel Holtmann
8eb1ef5828 hcidump: Add skeleton for the PPP parser 2012-12-17 23:52:56 +01:00
Marcel Holtmann
80700291b6 hcidump: Allow null-terminated strings 2012-12-17 23:52:55 +01:00
Marcel Holtmann
259a99e7e9 hcidump: Add definitions for Apple Agent 2012-12-17 23:52:55 +01:00
Marcel Holtmann
568f0a1f0d hcidump: Use %jx instead of %llx for uint64_t 2012-12-17 23:52:55 +01:00
Marcel Holtmann
9ad75ace77 hcidump: Update copyright information 2012-12-17 23:52:55 +01:00
Marcel Holtmann
7258285fe7 hcidump: Add skeleton for AVCTP parser 2012-12-17 23:52:55 +01:00
Marcel Holtmann
c9729d6121 hcidump: Decode and display binary strings correctly 2012-12-17 23:52:55 +01:00
Marcel Holtmann
b5a8f0b305 hcidump: Decode class of device and BD_ADDR for inquiry filter 2012-12-17 23:52:55 +01:00
Marcel Holtmann
03ec538a45 hcidump: Display zero condition for filter clearing 2012-12-17 23:52:55 +01:00
Marcel Holtmann
8ef121cdbb hcidump: Make it possible to obfuscate pin codes and link keys 2012-12-17 23:52:55 +01:00
Marcel Holtmann
72e9f247eb hcidump: Add missing UUID definitions and translations 2012-12-17 23:52:55 +01:00
Marcel Holtmann
64079baf3c hcidump: Add decoding for READ_BUILD_NAME 2012-12-17 23:52:55 +01:00
Marcel Holtmann
a1816b7953 hcidump: Add option to disable vendor commands and events 2012-12-17 23:52:55 +01:00
Marcel Holtmann
c79ba4784f hcidump: Fix strict-aliasing warning 2012-12-17 23:52:55 +01:00
Marcel Holtmann
c4be11b700 hcidump: Fix uninitialized variables 2012-12-17 23:52:55 +01:00
Marcel Holtmann
ff47b46098 hcidump: Decode sniff subrate command complete event 2012-12-17 23:52:55 +01:00
Marcel Holtmann
8f0bbd8003 hcidump: Add decoding of sniff subrate commands and events 2012-12-17 23:52:55 +01:00
Marcel Holtmann
2e4902a145 hcidump: Add LMP messages for sniff subrating 2012-12-17 23:52:54 +01:00
Marcel Holtmann
749316cb56 hcidump: Add p_indent() to event filter decoding 2012-12-17 23:52:54 +01:00
Marcel Holtmann
1d703e4b10 hcidump: Add decoding for hold mode, sniff mode and park state requests 2012-12-17 23:52:54 +01:00
Marcel Holtmann
98c1b6ddc5 hcidump: Add decoding for the memory type command 2012-12-17 23:52:54 +01:00
Marcel Holtmann
49e3c7660f hcidump: Fix PS_SIZE decoding 2012-12-17 23:52:54 +01:00
Marcel Holtmann
297ab6fefd hcidump: Add decoding for the memory type command 2012-12-17 23:52:54 +01:00
Marcel Holtmann
ebbf664e29 hcidump: Add more missing LMP decodings 2012-12-17 23:52:54 +01:00
Marcel Holtmann
d6316a3f9c hcidump: Add SCO/eSCO decoding for LMP 2012-12-17 23:52:54 +01:00
Marcel Holtmann
507f3c8015 hcidump: Update HCI_DEV_NONE frame format 2012-12-17 23:52:54 +01:00
Marcel Holtmann
04b7d39504 hcidump: Decode the extended inquiry response payload 2012-12-17 23:52:54 +01:00
Marcel Holtmann
f6a3c30d3c hcidump: Big cleanup of CVS relics 2012-12-17 23:52:54 +01:00
Marcel Holtmann
0ac3669151 hcidump: Decode more PS key values 2012-12-17 23:52:54 +01:00
Marcel Holtmann
1f8013ade8 hcidump: Update the PS key handling 2012-12-17 23:52:54 +01:00
Marcel Holtmann
25bec45f00 hcidump: Decode the local supported commands 2012-12-17 23:52:54 +01:00
Marcel Holtmann
8dc8425d82 hcidump: Add support for decoding more LMP messages 2012-12-17 23:52:54 +01:00
Marcel Holtmann
6eb6dd6555 hcidump: Fix FHS packet decoding for slave connections 2012-12-17 23:52:53 +01:00
Marcel Holtmann
07472b3039 hcidump: Add SCO audio extraction support 2012-12-17 23:52:53 +01:00
Marcel Holtmann
185403dada hcidump: Fix memory leak with lmp_vertostr() function 2012-12-17 23:52:53 +01:00
Marcel Holtmann
6f29a25a65 hcidump: Correct HCI command and event string arrays 2012-12-17 23:52:53 +01:00
Marcel Holtmann
2b7917129d hcidump: Show extended inquiry response data 2012-12-17 23:52:53 +01:00
Marcel Holtmann
3190d3048a hcidump: Display the data of extended inquiry results 2012-12-17 23:52:53 +01:00
Marcel Holtmann
b160246157 hcidump: Update preferred rate decoding 2012-12-17 23:52:53 +01:00
Marcel Holtmann
0a42fec892 hcidump: Decode power request messages 2012-12-17 23:52:53 +01:00
Marcel Holtmann
1af8e14cf2 hcidump: Update preferred rate decoding 2012-12-17 23:52:53 +01:00
Marcel Holtmann
857b60b6a7 hcidump: Fix name response parsing 2012-12-17 23:52:53 +01:00
Marcel Holtmann
00d0481c80 hcidump: Update bool and int16 parsing 2012-12-17 23:52:53 +01:00
Marcel Holtmann
063dd32b71 hcidump: Typo 2012-12-17 23:52:53 +01:00
Marcel Holtmann
850c48da59 hcidump: Decode PSKEY_ANA_FREQ and PSKEY_ANA_FTRIM 2012-12-17 23:52:53 +01:00
Marcel Holtmann
3ac805402f hcidump: Follow the pairing process 2012-12-17 23:52:53 +01:00
Marcel Holtmann
61585df562 hcidump: Decode extended inquiry result event 2012-12-17 23:52:53 +01:00
Marcel Holtmann
0b7e61c68e hcidump: Add more detailed BCCMD decoding 2012-12-17 23:52:53 +01:00
Marcel Holtmann
d1e4a4b8dc hcidump: Add some missing attribute identifier 2012-12-17 23:52:52 +01:00
Marcel Holtmann
31aa510182 hcidump: Add decoding support for extended inquiry commands and events 2012-12-17 23:52:52 +01:00
Marcel Holtmann
d57731d81d hcidump: Add UUIDs for phonebook access profile 2012-12-17 23:52:52 +01:00
Marcel Holtmann
567734df6c hcidump: Add UUID for video distribution 2012-12-17 23:52:52 +01:00
Marcel Holtmann
64dfc3163a hcidump: Also accept "system" device string 2012-12-17 23:52:52 +01:00
Marcel Holtmann
c6aba8e396 hcidump: Take care of the device field 2012-12-17 23:52:52 +01:00
Marcel Holtmann
d52d19afe2 hcidump: Handle system events and commands 2012-12-17 23:52:52 +01:00
Marcel Holtmann
8bca3fbd74 hcidump: Allow selection of system device 2012-12-17 23:52:52 +01:00
Marcel Holtmann
bb5d8eed4c hcidump: Fix some GCC 4.0 warnings 2012-12-17 23:52:52 +01:00
Marcel Holtmann
59fa335e0e hcidump: Fix return value handling of recvmsg() 2012-12-17 23:52:52 +01:00
Marcel Holtmann
77dbe477a4 hcidump: Correct CSR uint32 decoding 2012-12-17 23:52:52 +01:00
Marcel Holtmann
3a757c6cb5 hcidump: Update CSR BCCMD decoding 2012-12-17 23:52:52 +01:00
Marcel Holtmann
54b72ec158 hcidump: Dump raw payload only in non-verbose decoding mode 2012-12-17 23:52:52 +01:00
Marcel Holtmann
3eeceee332 hcidump: Show human readable timestamps only in verbose decoding mode 2012-12-17 23:52:52 +01:00
Marcel Holtmann
6e15bd3f80 hcidump: Fix connection accept timeout and scan enable decoding 2012-12-17 23:52:52 +01:00
Marcel Holtmann
c32e193627 hcidump: Add decoding support for inquiry scan type 2012-12-17 23:52:52 +01:00
Marcel Holtmann
fbec79fb7d hcidump: Correct timestamp handling for btsnoop files 2012-12-17 23:52:51 +01:00
Marcel Holtmann
114506b359 hcidump: Use human readable timestamps 2012-12-17 23:52:51 +01:00
Marcel Holtmann
c5eacf109f hcidump: Add write support for btsnoop files 2012-12-17 23:52:51 +01:00
Marcel Holtmann
36a1c904af hcidump: Use more clear data types for the frame structure 2012-12-17 23:52:51 +01:00
Marcel Holtmann
034be5d8c1 hcidump: Decode features PS 2012-12-17 23:52:51 +01:00
Marcel Holtmann
c75c5476a9 hcidump: Add decoding for local and remote version information 2012-12-17 23:52:51 +01:00
Marcel Holtmann
89027e2cca hcidump: Fix typos in error messages 2012-12-17 23:52:51 +01:00
Marcel Holtmann
d29b545130 hcidump: Add support for reading btsnoop files with datalink type 1001 2012-12-17 23:52:51 +01:00
Marcel Holtmann
3635684fc5 hcidump: Fix number of completed packets decoding 2012-12-17 23:52:51 +01:00
Marcel Holtmann
abb219c07e hcidump: Only do verbose decoding when requested 2012-12-17 23:52:51 +01:00
Marcel Holtmann
eda60901c7 hcidump: Add CSR verbose decoding support 2012-12-17 23:52:51 +01:00
Marcel Holtmann
6025b4422d hcidump: Make the OBEX parser aware of that RFCOMM is a stream 2012-12-17 23:52:51 +01:00
Marcel Holtmann
cb3edcf31f hcidump: Track the RFCOMM DLCI value 2012-12-17 23:52:51 +01:00
Marcel Holtmann
61c4041e7e hcidump: Detect partial segments 2012-12-17 23:52:51 +01:00
Marcel Holtmann
379f46f96c hcidump: Fix the verbose decoding 2012-12-17 23:52:51 +01:00
Marcel Holtmann
9cb270ab42 hcidump: Add verbose decoding support 2012-12-17 23:52:51 +01:00