diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-05-20 15:51:42 -0700 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-05-26 13:57:48 -0700 |
commit | 13bdb9f3bee1763143ec5af4db3bb4e213261fe7 (patch) | |
tree | d45c551e0d6127908e450d6edd9ad582439ccb9d /monitor/packet.h | |
parent | 53c28e3d868396fe5676751a44171dd67a7255a0 (diff) | |
download | bluez-13bdb9f3bee1763143ec5af4db3bb4e213261fe7.tar.gz |
monitor/att: Add decoding support for PAC Sink/Source
This adds decoding support for PAC Sink/Source attributes:
< ACL Data TX: Handle 42 flags 0x00 dlen 9
Channel: 64 len 5 sdu 3 [PSM 39 mode Enhanced Credit (0x81)]
{chan 0}
ATT: Read Request (0x0a) len 2
Handle: 0x0017 Type: Sink PAC (0x2bc9)
> ACL Data RX: Handle 42 flags 0x02 dlen 31
Channel: 65 len 27 sdu 25 [PSM 39 mode Enhanced Credit (0x81)]
{chan 0}
Value: 010600000000100301ff0002020302030305041e00f00000
Number of PAC(s): 1
PAC #0:
Codec: LC3 (0x06)
Codec Specific Configuration #0: len 0x03 type 0x01
Codec Specific Configuration: ff00
Codec Specific Configuration #1: len 0x02 type 0x02
Codec Specific Configuration: 03
Codec Specific Configuration #2: len 0x02 type 0x03
Codec Specific Configuration: 03
Codec Specific Configuration #3: len 0x05 type 0x04
Codec Specific Configuration: 1e00f000
Diffstat (limited to 'monitor/packet.h')
-rw-r--r-- | monitor/packet.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/monitor/packet.h b/monitor/packet.h index a00975eb3..97d683e3a 100644 --- a/monitor/packet.h +++ b/monitor/packet.h @@ -61,6 +61,8 @@ void packet_print_channel_map_lmp(const uint8_t *map); void packet_print_channel_map_ll(const uint8_t *map); void packet_print_io_capability(uint8_t capability); void packet_print_io_authentication(uint8_t authentication); +void packet_print_codec_id(const char *label, uint8_t codec); +void packet_print_ltv(const char *label, const uint8_t *data, uint8_t len); void packet_control(struct timeval *tv, struct ucred *cred, uint16_t index, uint16_t opcode, |