| d8371526 |
hcidump: Add parsing for SetAbsoluteVolume PDU |
Luiz Augusto von Dentz |
13 years ago |
1 file, +20, -0 |
| 4bab2a92 |
hcidump: Minor indentation cleanup and fix display of physical link key |
Peter Krystad |
13 years ago |
1 file, +10, -5 |
| 6d4724ad |
hcidump: Add parsing of L2CAP Create/Move Channel signals |
Peter Krystad |
13 years ago |
1 file, +96, -0 |
| 2de2281d |
hcidump: Add support for passing PSM as OBEX port
As OBEX can now use L2CAP as transport, -O/--obex option should accept
values other than RFCOMM channel, so values over 31 are now interpreted
as PSM. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +7, -2 |
| 46b5e712 |
hcidump: add L2CAP OBEX support |
Luiz Augusto von Dentz |
13 years ago |
1 file, +7, -0 |
| 6ad329e4 |
hcidump: Decode fixed channel list info rsp
Decode fixed channels in information response
< ACL data: handle 1 flags 0x00 dlen 10
L2CAP(s): Info req: type 3
> ACL data: handle 1 flags 0x02 dlen 20
L2CAP(s): Info rsp: type 3 result 0
Fixed channel list 0x0000000a
L2CAP Signalling Channel
AMP Manager Protocol |
Andrei Emeltchenko |
13 years ago |
1 file, +21, -3 |
| 78df2696 |
hcidump: Fix HCI event string lookup table
According to Core_v4.0 LE Meta Event Event Code is 0x3E, While Physical
Link Complete Event Code is 0x40 So add Unknown after LE Meta Event. |
Martin Xu |
13 years ago |
1 file, +2, -1 |
| 6e58f66d |
hcidump: Fix EIR parsing in evt_le_advertising_report_dump
Only the first EIR data structure from the LE advertising report
event is dumped. This patch fix this, so all EIR data structure
present in that event is dumped. |
Andre Guedes |
13 years ago |
1 file, +7, -3 |
| 219b139e |
hcidump: Fix response for GetCurrentPlayerApplicationSettingValue
According to AVRCP spec there's no player id in response. |
Lucas De Marchi |
13 years ago |
1 file, +1, -6 |
| a48d9ded |
hcidump: Fix crash with invalid L2CAP frame sizes
Reported by Jukka Taimisto <jukka.taimisto@codenomicon.com> |
Johan Hedberg |
13 years ago |
1 file, +6, -0 |
| 4f44cff5 |
hcidump: fix format for 16-bit values |
Johan Hedberg |
13 years ago |
1 file, +6, -6 |
| 892832d5 |
hcidump: Parse extended control field in L2CAP
Adds support for parsing extended control field. Extended control field
may be used for ERTM and streaming mode (if EWS specified). ext_ctrl
flag resides in cid table. This also fixes P-bit decoding. |
Andrei Emeltchenko |
13 years ago |
1 file, +113, -28 |
| aa0bb7fb |
hcidump: Remove magic numbers in L2CAP decoding |
Andrei Emeltchenko |
13 years ago |
1 file, +8, -8 |
| 3595dbf2 |
hcidump: LE Connection Complete Event dump
Print Peer Address and Peer Address Type parameters from LE
Connection Complete Event. |
Andre Guedes |
13 years ago |
1 file, +5, -0 |
| cb9780d0 |
hcidump: Fix parser of AVRCP continuing messages
If packet_type is not START or SINGLE, we have to continue where we
stopped from previous packet. Therefore we must store where we left on
previous packet due to packet size limit. We store both the number of
attributes missing and the lenght of the last attribute that is missing.
An example interaction for this implementation, obtained with PTS test
TC_TG_MDI_BV_04_C (I reduced the MTU in order to reproduce it here and
values between brackets I added now):
> AVCTP: Command : pt 0x00 transaction 2 pid 0x110e
AV/C: Status: address 0x48 opcode 0x00
Subunit: Panel
Opcode: Vendor Dependent
Company ID: 0x001958
AVRCP: GetElementAttributes: pt Single len 0x0009
Identifier: 0x0 (PLAYING)
AttributeCount: 0x00
< AVCTP: Response : pt 0x00 transaction 2 pid 0x110e
AV/C: Stable: address 0x48 opcode 0x00
Subunit: Panel
Opcode: Vendor Dependent
Company ID: 0x001958
AVRCP: GetElementAttributes: pt Start len 0x0118
AttributeCount: 0x04
Attribute: 0x00000001 (Title)
CharsetID: 0x006a (UTF-8)
AttributeValueLength: 0x001b
AttributeValue: isso eh um titulo mei longo
Attribute: 0x00000003 (Album)
CharsetID: 0x006a (UTF-8)
AttributeValueLength: 0x00fe
AttributeValue: super-long-album-name super-long-album-name
super-long-album-name super-long-album-name super-long-album
super-long-album-name [... snip... ] super-long-album-name-1234
> AVCTP: Command : pt 0x00 transaction 2 pid 0x110e
AV/C: Control: address 0x48 opcode 0x00
Subunit: Panel
Opcode: Vendor Dependent
Company ID: 0x001958
AVRCP: RequestContinuingResponse: pt Single len 0x0001
< AVCTP: Response : pt 0x00 transaction 2 pid 0x110e
AV/C: Stable: address 0x48 opcode 0x00
Subunit: Panel
Opcode: Vendor Dependent
Company ID: 0x001958
AVRCP: GetElementAttributes: pt End len 0x002a
ContinuingAttributeValue: 678900000000000000
Attribute: 0x00000005 (Track Total)
CharsetID: 0x006a (UTF-8)
AttributeValueLength: 0x0002
AttributeValue: 30
Attribute: 0x00000006 (Genre)
CharsetID: 0x006a (UTF-8)
AttributeValueLength: 0x0006
AttributeValue: Gospel |
Lucas De Marchi |
13 years ago |
1 file, +79, -15 |
| 9af28350 |
hcidump: fix name of metadata field
Metadata field number 0x7 should be the track duration and not the
progress of the track playback. Thus rename it to a better description. |
Lucas De Marchi |
13 years ago |
1 file, +3, -3 |
| c248aae9 |
hcidump: Decode extended window size option |
Andrei Emeltchenko |
13 years ago |
1 file, +9, -0 |
| dc2bd913 |
hcidump: Change includes to use local copy of Bluetooth library |
Marcel Holtmann |
13 years ago |
23 files, +14, -85 |
| e8181985 |
hcidump: Fix whitespace in l2cap.c |
Johan Hedberg |
13 years ago |
1 file, +3, -3 |
| 71835151 |
hcidump: Fix L2CAP cid matching
If multiple ACL connections are using identical cid values, the L2CAP
parser will match the first avail cid found in the cid table. This
error often leads to incorrect psm determination, and thus incorrect
parsing of higher-layer frames.
When searching the cid table, a matching cid value must match by
ACL handle as well. |
Peter Hurley |
13 years ago |
1 file, +23, -19 |
| 69fd98a8 |
hcidump: Add support for parsing SRM headers |
Syam Sidhardhan |
13 years ago |
1 file, +4, -0 |
| 9a6cda25 |
hcidump: Add parsing for AVRCP RegisterNotification PDU |
Luiz Augusto von Dentz |
13 years ago |
1 file, +101, -0 |
| 930854c3 |
hcidump: Add parsing for AVRCP GetPlayStatus PDU |
Luiz Augusto von Dentz |
13 years ago |
1 file, +62, -0 |
| 1f095278 |
hcidump: Add parsing for AVRCP GetElementAttributes PDU |
Luiz Augusto von Dentz |
13 years ago |
1 file, +114, -0 |
| ac230c69 |
hcidump: Add parsing for AVRCP GetCapabilities |
Luiz Augusto von Dentz |
13 years ago |
1 file, +123, -1 |
| 0d0c2f2b |
hcidump: Add parsing for command type rejected AVRCP responses |
Luiz Augusto von Dentz |
13 years ago |
1 file, +97, -0 |
| b8cb0723 |
hcidump: Add parsing for AVRCP InformBatteryStatusOfCT PDU |
Luiz Augusto von Dentz |
13 years ago |
1 file, +35, -0 |
| c8f6b6b2 |
hcidump: Add parsing for AVRCP InformDisplayableCharacterSet PDU |
Luiz Augusto von Dentz |
13 years ago |
1 file, +33, -0 |
| 86eb8b39 |
hcidump: Add parsing for AVRCP GetPlayerApplicationSettingValueText PDU |
Luiz Augusto von Dentz |
13 years ago |
1 file, +76, -0 |
| 34d926d3 |
hcidump: Add parsing for AVRCP GetPlayerApplicationSettingAttributeText PDU |
Luiz Augusto von Dentz |
13 years ago |
1 file, +100, -0 |
| 6ecede92 |
hcidump: Add parsing for AVRCP SetPlayerApplicationSettingValue PDU |
Luiz Augusto von Dentz |
13 years ago |
1 file, +38, -0 |
| c6118e73 |
hcidump: Add parsing for AVRCP GetCurrentPlayerApplicationSettingValue PDU |
Luiz Augusto von Dentz |
13 years ago |
1 file, +59, -0 |
| 17fe7628 |
hcidump: Add parsing for AVRCP ListPlayerApplicationSettingValues PDU |
Luiz Augusto von Dentz |
13 years ago |
1 file, +94, -0 |
| e11dc9b1 |
hcidump: Add parsing for AVRCP ListPlayerApplicationSettingAttributes PDU |
Luiz Augusto von Dentz |
13 years ago |
1 file, +51, -0 |
| c3e614f8 |
hcidump: Don't parse response AVRCP PDU if ctype is NOT_IMPLETED |
Luiz Augusto von Dentz |
13 years ago |
1 file, +6, -0 |
| bb1f5a82 |
hcidump: Decode extended flow spec option
Decode EFS option in L2CAP configuration packets |
Andrei Emeltchenko |
13 years ago |
1 file, +44, -8 |
| c0877ee2 |
hcidump: Add parsing of L2CAP Info response
Adds parsing L2CAP extended feature mask.
before:
hcidump -r /tmp/info-rsp.cap
HCI sniffer - Bluetooth packet analyzer ver 2.1
btsnoop version: 1 datalink type: 1002
> ACL data: handle 11 flags 0x02 dlen 16
L2CAP(s): Info rsp: type 2 result 0
Extended feature mask 0x00b8
after:
src/hcidump -r /tmp/info-rsp.cap
HCI sniffer - Bluetooth packet analyzer ver 2.1
btsnoop version: 1 datalink type: 1002
> ACL data: handle 11 flags 0x02 dlen 16
L2CAP(s): Info rsp: type 2 result 0
Extended feature mask 0x00b8
Enhanced Retransmission mode
Streaming mode
FCS Option
Fixed Channels |
Andrei Emeltchenko |
13 years ago |
1 file, +25, -14 |
| 5f3f8f41 |
hcidump: Add check to verify AVRCP pdu length matches frame length |
Luiz Augusto von Dentz |
13 years ago |
1 file, +5, -0 |
| bbef3891 |
hcidump: Add basic parsing support for AVRCP PDU |
Luiz Augusto von Dentz |
13 years ago |
1 file, +109, -1 |
| adf5d953 |
hcidump: Add basic AVRCP parsing
This add support for AV/C Panel passthrough headers |
Luiz Augusto von Dentz |
13 years ago |
3 files, +266, -1 |
| 8c6a10f5 |
hcidump: Add parsing for ATT Write Command |
Andre Dieb Martins |
13 years ago |
1 file, +1, -0 |
| 1bf376e9 |
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 |
13 years ago |
1 file, +16, -0 |
| 34af2e79 |
hcidump: Add basic AVCTP parsing |
Luiz Augusto von Dentz |
13 years ago |
1 file, +27, -2 |
| 851b3fd5 |
hcidump: Add support for OBEX Action command
Add support for parsing OBEX Action command and related headers. |
Luiz Augusto von Dentz |
13 years ago |
1 file, +7, -1 |
| da3149f3 |
hcidump: Add missing error code descriptions from Core spec. 4.0 |
Johan Hedberg |
13 years ago |
1 file, +8, -1 |
| 396d15b3 |
hcidump: Fix gcc 4.6 compiler warnings |
Johan Hedberg |
13 years ago |
6 files, +22, -9 |
| 3da0fb3a |
hcidump: Add basic parsing for SMP |
Luiz Augusto von Dentz |
13 years ago |
4 files, +347, -0 |
| 3a36ce57 |
hcidump: Fix infinite loop in read by group response parsing |
Johan Hedberg |
13 years ago |
1 file, +1, -0 |
| ea8fb0bc |
hcidump: Add ATT parsing for the ATT fixed CID |
Johan Hedberg |
13 years ago |
1 file, +5, -0 |
| b8c3c64a |
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. |
Iain Hibbert |
13 years ago |
1 file, +3, -1 |