Skip to content

Instantly share code, notes, and snippets.

@gsf
Created July 16, 2013 15:18
Show Gist options
  • Select an option

  • Save gsf/6009691 to your computer and use it in GitHub Desktop.

Select an option

Save gsf/6009691 to your computer and use it in GitHub Desktop.
bluetooth audio receiver
# bluetoothctl
[NEW] Controller 00:02:72:DE:16:59 manheim [default]
[NEW] Device 00:10:61:00:01:92 GT BT-Receiver
[bluetooth]# devices
Device 00:10:61:00:01:92 GT BT-Receiver
[bluetooth]# info 00:10:61:00:01:92
Device 00:10:61:00:01:92
Name: GT BT-Receiver
Alias: GT BT-Receiver
Class: 0x240404
Icon: audio-card
Paired: yes
Trusted: yes
Blocked: no
Connected: no
LegacyPairing: no
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
[bluetooth]# connect 00:10:61:00:01:92
Attempting to connect to 00:10:61:00:01:92
[CHG] Device 00:10:61:00:01:92 Connected: yes
Failed to connect: org.bluez.Error.Failed
[CHG] Device 00:10:61:00:01:92 Connected: no
[bluetooth]#
> ACL data: handle 21 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0064 scid 0x0041 result 1 status 2
Connection pending - Authorization pending
> ACL data: handle 21 flags 0x02 dlen 8
L2CAP(d): cid 0x0040 len 4 [psm 25]
AVDTP(s): Discover rsp: transaction 14 nsp 0x00
ACP SEID 1 - Audio Sink
< ACL data: handle 21 flags 0x00 dlen 7
L2CAP(d): cid 0x0063 len 3 [psm 25]
AVDTP(s): Capabilities cmd: transaction 15 nsp 0x00
ACP SEID 1
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 21 packets 1
> ACL data: handle 21 flags 0x02 dlen 20
L2CAP(d): cid 0x0040 len 16 [psm 25]
AVDTP(s): Capabilities rsp: transaction 15 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-53
Content Protection
02 00
> ACL data: handle 21 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0064 scid 0x0041 result 0 status 0
Connection successful
< ACL data: handle 21 flags 0x00 dlen 12
L2CAP(s): Config req: dcid 0x0064 flags 0x00 clen 0
> ACL data: handle 21 flags 0x02 dlen 16
L2CAP(s): Config req: dcid 0x0041 flags 0x00 clen 4
MTU 895
< ACL data: handle 21 flags 0x00 dlen 18
L2CAP(s): Config rsp: scid 0x0064 flags 0x00 result 0 clen 4
MTU 895
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 21 packets 1
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 21 packets 1
> ACL data: handle 21 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0041 flags 0x00 result 0 clen 0
Success
< ACL data: handle 21 flags 0x00 dlen 12
L2CAP(s): Disconn req: dcid 0x0064 scid 0x0041
< ACL data: handle 21 flags 0x00 dlen 12
L2CAP(s): Disconn req: dcid 0x0063 scid 0x0040
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 21 packets 1
> HCI Event: Number of Completed Packets (0x13) plen 5
handle 21 packets 1
> ACL data: handle 21 flags 0x02 dlen 12
L2CAP(s): Disconn rsp: dcid 0x0064 scid 0x0041
> ACL data: handle 21 flags 0x02 dlen 12
L2CAP(s): Disconn rsp: dcid 0x0063 scid 0x0040
< HCI Command: Disconnect (0x01|0x0006) plen 3
handle 21 reason 0x13
Reason: Remote User Terminated Connection
> HCI Event: Command Status (0x0f) plen 4
Disconnect (0x01|0x0006) status 0x00 ncmd 1
> HCI Event: Disconn Complete (0x05) plen 4
status 0x00 handle 21 reason 0x16
Reason: Connection Terminated by Local Host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment