Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
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
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
Print psm as hex, add "chan" to create, move req/rsp.
|
|
Print logical link handle as 0x%4.4x and physical link handle
as 0x%2.2x
|
|
|
|
Data passed to ext_inquiry_data_dump are expected to start with length
octet which was consumed by get_u8.
|
|
Use amp_assoc_dump in write_remote_amp_assoc HCI command
|
|
|
|
|
|
|
|
|
|
AMP Assoc dump will be used also for HCI dump functions
|
|
Country code is also included in the TLV size.
|
|
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
...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
ATT UUIDs are in little-endian format (in contrast to e.g. SDP).
|
|
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
|
|
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.
|
|
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.
|
|
Reported by Jukka Taimisto <jukka.taimisto@codenomicon.com>
|
|
|
|
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.
|
|
|
|
Print Peer Address and Peer Address Type parameters from LE
Connection Complete Event.
|
|
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
|
|
Metadata field number 0x7 should be the track duration and not the
progress of the track playback. Thus rename it to a better description.
|
|
|