Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (Bluetooth spec abbreviations:
- AVDTP = audio/video distribution transport protocol
- INT = initiator; e.g., the remote device
- ACP = acceptor; here, the moOde Bluetooth stack
- SEID = stream endpoint identifier
- SBC = subband codec
- )
- (RTP abbreviations:
- ver = version
- cc = contributing source count (?)
- pt = payload type
- seqn = sequence number
- ssrc = synchronization source identifier
- )
- (hcidump nomenclature:
- ">" denotes packets coming into local device (e.g., moOde)
- "<" denotes packets going out of local device
- cmd = command
- rsp = response
- )
- ======================
- Connect from Android 7
- ======================
- pi@moode43c:~ $ sudo hcidump avdtp
- HCI sniffer - Bluetooth packet analyzer ver 5.43
- device: hci0 snap_len: 1500 filter: 0x400
- > AVDTP(s): Discover cmd: transaction 0 nsp 0x00
- < AVDTP(s): Discover rsp: transaction 0 nsp 0x00
- ACP SEID 1 - Audio Source
- ACP SEID 2 - Audio Sink
- ACP SEID 3 - Audio Sink
- > AVDTP(s): All Capabilities cmd: transaction 1 nsp 0x00
- ACP SEID 2
- < AVDTP(s): All Capabilities rsp: transaction 1 nsp 0x00
- Media Transport
- Media Codec - SBC
- 16kHz 32kHz 44.1kHz 48kHz
- Mono DualChannel Stereo JointStereo
- 4 8 12 16 Blocks
- 4 8 Subbands
- SNR Loudness
- Bitpool Range 2-64
- Delay Reporting
- > AVDTP(s): All Capabilities cmd: transaction 2 nsp 0x00
- ACP SEID 3
- < AVDTP(s): All Capabilities rsp: transaction 2 nsp 0x00
- Media Transport
- Media Codec - SBC
- 16kHz 32kHz 44.1kHz 48kHz
- Mono DualChannel Stereo JointStereo
- 4 8 12 16 Blocks
- 4 8 Subbands
- SNR Loudness
- Bitpool Range 2-64
- Delay Reporting
- > AVDTP(s): Set config cmd: transaction 3 nsp 0x00
- ACP SEID 2 - INT SEID 1
- Media Transport
- Media Codec - SBC
- 44.1kHz
- JointStereo
- 16 Blocks
- 8 Subbands
- Loudness
- Bitpool Range 2-53
- < AVDTP(s): Set config rsp: transaction 3 nsp 0x00
- > AVDTP(s): Open cmd: transaction 4 nsp 0x00
- ACP SEID 2
- < AVDTP(s): Open rsp: transaction 4 nsp 0x00
- > AVDTP(s): Start cmd: transaction 5 nsp 0x00
- ACP SEID 2
- < AVDTP(s): Start rsp: transaction 5 nsp 0x00
- > AVDTP(m): ver 2 cc 0 pt 96 seqn 1 time 0 ssrc 0
- ^C
- ========================
- Connect from Amazon Echo
- ========================
- HCI sniffer - Bluetooth packet analyzer ver 5.43
- device: hci0 snap_len: 1500 filter: 0x400
- > AVDTP(s): Discover cmd: transaction 10 nsp 0x00
- < AVDTP(s): Discover rsp: transaction 10 nsp 0x00
- ACP SEID 1 - Audio Source
- ACP SEID 2 - Audio Sink
- ACP SEID 3 - Audio Sink
- > AVDTP(s): Capabilities cmd: transaction 11 nsp 0x00
- ACP SEID 1
- < AVDTP(s): Capabilities rsp: transaction 11 nsp 0x00
- Media Transport
- Media Codec - SBC
- 16kHz 32kHz 44.1kHz 48kHz
- Mono DualChannel Stereo JointStereo
- 4 8 12 16 Blocks
- 4 8 Subbands
- SNR Loudness
- Bitpool Range 2-64
- > AVDTP(s): Capabilities cmd: transaction 12 nsp 0x00
- ACP SEID 2
- < AVDTP(s): Capabilities rsp: transaction 12 nsp 0x00
- Media Transport
- Media Codec - SBC
- 16kHz 32kHz 44.1kHz 48kHz
- Mono DualChannel Stereo JointStereo
- 4 8 12 16 Blocks
- 4 8 Subbands
- SNR Loudness
- Bitpool Range 2-64
- > AVDTP(s): Capabilities cmd: transaction 13 nsp 0x00
- ACP SEID 3
- < AVDTP(s): Capabilities rsp: transaction 13 nsp 0x00
- Media Transport
- Media Codec - SBC
- 16kHz 32kHz 44.1kHz 48kHz
- Mono DualChannel Stereo JointStereo
- 4 8 12 16 Blocks
- 4 8 Subbands
- SNR Loudness
- Bitpool Range 2-64
- > AVDTP(s): Set config cmd: transaction 14 nsp 0x00
- ACP SEID 2 - INT SEID 1
- Media Transport
- Media Codec - SBC
- 48kHz
- JointStereo
- 16 Blocks
- 8 Subbands
- Loudness
- Bitpool Range 2-51
- < AVDTP(s): Set config rsp: transaction 14 nsp 0x00
- > AVDTP(s): Open cmd: transaction 15 nsp 0x00
- ACP SEID 2
- < AVDTP(s): Open rsp: transaction 15 nsp 0x00
- > AVDTP(s): Start cmd: transaction 0 nsp 0x00
- ACP SEID 2
- < AVDTP(s): Start rsp: transaction 0 nsp 0x00
- > AVDTP(m): ver 2 cc 0 pt 1 seqn 0 time 0 ssrc 1
- ^C
Add Comment
Please, Sign In to add comment