summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-12-17hcidump: Fix includes for parser functionsMarcel Holtmann1-2/+2
2012-12-17hcidump: Add support for reading new data link btsnoop filesMarcel Holtmann1-2/+43
2012-12-17hcidump: Print all HCI_LE_Create_Connection parametersJohan Hedberg1-0/+11
2012-12-17hcidump: Decode Read Data Block Size HCI cmdAndrei Emeltchenko1-1/+23
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
2012-12-17hcidump: Decode Num Completed Data BlocksAndrei Emeltchenko1-0/+22
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
2012-12-17hcidump: Add parsing for GeneralReject PDULuiz Augusto von Dentz1-0/+25
2012-12-17hcidump: Add parsing for AddToNowPlaying PDULuiz Augusto von Dentz1-0/+41
2012-12-17hcidump: Add parsing for Search PDULuiz Augusto von Dentz1-0/+57
2012-12-17hcidump: Add parsing for PlayItem PDULuiz Augusto von Dentz1-16/+57
2012-12-17hcidump: Add parsing for GetItemAttributes PDULuiz Augusto von Dentz1-28/+101
2012-12-17hcidump: Add parsing for ChangePath PDULuiz Augusto von Dentz1-0/+62
2012-12-17hcidump: Add parsing for GetFolderItems PDULuiz Augusto von Dentz1-0/+389
2012-12-17hcidump: Fix parsing SetBrowsedPlayer as AV/C pduLuiz Augusto von Dentz3-11/+11
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.
2012-12-17hcidump: Add initial support for browsing channelLuiz Augusto von Dentz4-8/+46
2012-12-17hcidump: Fix parsing of SetAddressedPlayer PDULuiz Augusto von Dentz1-1/+1
2012-12-17hcidump: clean l2cap chan create/move dumpAndrei Emeltchenko1-6/+8
Print psm as hex, add "chan" to create, move req/rsp.
2012-12-17hcidump: Fix printing link handleAndrei Emeltchenko1-9/+11
Print logical link handle as 0x%4.4x and physical link handle as 0x%2.2x
2012-12-17hcidump: Fix not printing new line when parsing AddressedPlayerChangedLuiz Augusto von Dentz1-2/+2
2012-12-17hcidump: Fix EIR data parsingAndrzej Kaczmarek1-1/+4
Data passed to ext_inquiry_data_dump are expected to start with length octet which was consumed by get_u8.
2012-12-17hcidump: Add decoding AMP Assoc data in write_remote_amp_assocAndrei Emeltchenko1-0/+15
Use amp_assoc_dump in write_remote_amp_assoc HCI command
2012-12-17hcidump: Add parsing for SetBrowsedPlayer PDULuiz Augusto von Dentz1-0/+73
2012-12-17hcidump: Add support for Addressed Player Changed eventLuiz Augusto von Dentz1-0/+10
2012-12-17hcidump: Add parsing for SetAddressedPlayer PDULuiz Augusto von Dentz1-0/+35
2012-12-17hcidump: Add decoding AMP Assoc data in HCI parserAndrei Emeltchenko1-11/+2
2012-12-17hcidump: Make assoc dump function available for HCI parserAndrei Emeltchenko2-102/+130
AMP Assoc dump will be used also for HCI dump functions
2012-12-17hcidump: Fix number of triplet calculationAndrei Emeltchenko1-1/+1
Country code is also included in the TLV size.
2012-12-17hcidump: Decode A2MP Get AMP Assoc rspAndrei Emeltchenko1-9/+92
Adds decoding Assoc data: ... > ACL data: handle 11 flags 0x02 dlen 53 A2MP: Get AMP Assoc rsp: id 1 status (0) Success Assoc data [len 39]: MAC: <address> Preferred Chan List number of triplets 4 Country code: XXX Reg ext id 201 reg class 254 coverage class 0 Channel 1 max power 20 Channels 2 - 12 max power 20 Channels 4 - 8 max power 0 PAL CAP: 00 00 00 00 PAL VER: 01 Comp ID: <id> SubVer: 0001 ...
2012-12-17hcidump: Fix "length" name for A2MP Assoc logAndrei Emeltchenko1-1/+1
2012-12-17hcidump: Add support for passing RFCOMM channel for SAPAndrzej Kaczmarek1-1/+9
2012-12-17hcidump: Add parameters parsing support for SAP PDUAndrzej Kaczmarek1-1/+213
2012-12-17hcidump: Add basic SAP parsingAndrzej Kaczmarek4-0/+133
2012-12-17hcidump: Add parsing support for Volume Change notificationLuiz Augusto von Dentz1-0/+4
2012-12-17hcidump: Add parsing for SetAbsoluteVolume PDULuiz Augusto von Dentz1-0/+20
2012-12-17hcidump: Minor indentation cleanup and fix display of physical link keyPeter Krystad1-5/+10
2012-12-17hcidump: Add parsing of A2MP signalsPeter Krystad3-0/+356
2012-12-17hcidump: Add parsing of L2CAP Create/Move Channel signalsPeter Krystad1-0/+96
2012-12-17hcidump: Add support for passing PSM as OBEX portLuiz Augusto von Dentz1-2/+7
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.
2012-12-17hcidump: add L2CAP OBEX supportLuiz Augusto von Dentz1-0/+7
2012-12-17hcidump: Fix UUID-128 parsingJohan Hedberg1-12/+17
ATT UUIDs are in little-endian format (in contrast to e.g. SDP).
2012-12-17hcidump: Decode fixed channel list info rspAndrei Emeltchenko1-3/+21
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
2012-12-17hcidump: Fix HCI event string lookup tableMartin Xu1-1/+2
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.
2012-12-17hcidump: Fix EIR parsing in evt_le_advertising_report_dumpAndre Guedes1-3/+7
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.
2012-12-17hcidump: Fix crash with invalid L2CAP frame sizesJohan Hedberg1-0/+6
Reported by Jukka Taimisto <jukka.taimisto@codenomicon.com>
2012-12-17hcidump: fix format for 16-bit valuesJohan Hedberg1-6/+6
2012-12-17hcidump: Parse extended control field in L2CAPAndrei Emeltchenko1-28/+113
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.
2012-12-17hcidump: Remove magic numbers in L2CAP decodingAndrei Emeltchenko1-8/+8
2012-12-17hcidump: LE Connection Complete Event dumpAndre Guedes1-0/+5
Print Peer Address and Peer Address Type parameters from LE Connection Complete Event.
2012-12-17hcidump: Fix parser of AVRCP continuing messagesLucas De Marchi1-15/+79
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
2012-12-17hcidump: fix name of metadata fieldLucas De Marchi1-3/+3
Metadata field number 0x7 should be the track duration and not the progress of the track playback. Thus rename it to a better description.
2012-12-17hcidump: Decode extended window size optionAndrei Emeltchenko1-0/+9