bluetiger

BL Tools (sdptool / bluetoothctl / hciconfig)

Jan 20th, 2018
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.12 KB | None | 0 0
  1. pi@raspberrypi:~ $ sdptool browse 78:44:05:4B:4F:FF
  2. Browsing 78:44:05:4B:4F:FF ...
  3. Service Name: HandsFree
  4. Service RecHandle: 0x10000
  5. Service Class ID List:
  6.   "Handsfree" (0x111e)
  7.   "Generic Audio" (0x1203)
  8. Protocol Descriptor List:
  9.   "L2CAP" (0x0100)
  10.   "RFCOMM" (0x0003)
  11.     Channel: 1
  12. Language Base Attr List:
  13.   code_ISO639: 0x656e
  14.   encoding:    0x6a
  15.   base_offset: 0x100
  16. Profile Descriptor List:
  17.   "Handsfree" (0x111e)
  18.     Version: 0x0105
  19.  
  20. Service Name: A2DP Sink
  21. Service RecHandle: 0x10004
  22. Service Class ID List:
  23.   "Audio Sink" (0x110b)
  24. Protocol Descriptor List:
  25.   "L2CAP" (0x0100)
  26.     PSM: 25
  27.   "AVDTP" (0x0019)
  28.     uint16: 0x0102
  29. Language Base Attr List:
  30.   code_ISO639: 0x656e
  31.   encoding:    0x6a
  32.   base_offset: 0x100
  33. Profile Descriptor List:
  34.   "Advanced Audio" (0x110d)
  35.     Version: 0x0102
  36.  
  37. Service Name: AVRCP CT
  38. Service RecHandle: 0x10005
  39. Service Class ID List:
  40.   "AV Remote" (0x110e)
  41.   "AV Remote Controller" (0x110f)
  42. Protocol Descriptor List:
  43.   "L2CAP" (0x0100)
  44.     PSM: 23
  45.   "AVCTP" (0x0017)
  46.     uint16: 0x0103
  47. Language Base Attr List:
  48.   code_ISO639: 0x656e
  49.   encoding:    0x6a
  50.   base_offset: 0x100
  51. Profile Descriptor List:
  52.   "AV Remote" (0x110e)
  53.     Version: 0x0104
  54.  
  55. Service Name: AVRCP TG
  56. Service RecHandle: 0x10006
  57. Service Class ID List:
  58.   "AV Remote Target" (0x110c)
  59. Protocol Descriptor List:
  60.   "L2CAP" (0x0100)
  61.     PSM: 23
  62.   "AVCTP" (0x0017)
  63.     uint16: 0x0103
  64. Language Base Attr List:
  65.   code_ISO639: 0x656e
  66.   encoding:    0x6a
  67.   base_offset: 0x100
  68. Profile Descriptor List:
  69.   "AV Remote" (0x110e)
  70.     Version: 0x0104
  71.  
  72. pi@raspberrypi:~ $ bluetoothctl
  73. [NEW] Controller B8:27:EB:62:0D:EA raspberrypi [default]
  74. [NEW] Device 78:44:05:4B:4F:FF JBL GO
  75. [JBL GO]# info 78:44:05:4B:4F:FF
  76. Device 78:44:05:4B:4F:FF
  77.     Name: JBL GO
  78.     Alias: JBL GO
  79.     Class: 0x240404
  80.     Icon: audio-card
  81.     Paired: yes
  82.     Trusted: yes
  83.     Blocked: no
  84.     Connected: yes
  85.     LegacyPairing: no
  86.     UUID: Serial Port               (00001101-0000-1000-8000-00805f9b34fb)
  87.     UUID: Headset                   (00001108-0000-1000-8000-00805f9b34fb)
  88.     UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
  89.     UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
  90.     UUID: Advanced Audio Distribu.. (0000110d-0000-1000-8000-00805f9b34fb)
  91.     UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
  92.     UUID: Handsfree                 (0000111e-0000-1000-8000-00805f9b34fb)
  93. [JBL GO]# exit
  94. [DEL] Controller B8:27:EB:62:0D:EA raspberrypi [default]
  95.  
  96. pi@raspberrypi:~ $ hciconfig -a
  97. hci0:   Type: Primary  Bus: UART
  98.     BD Address: B8:27:EB:62:0D:EA  ACL MTU: 1021:8  SCO MTU: 64:1
  99.     UP RUNNING PSCAN
  100.     RX bytes:45763 acl:410 sco:0 events:3715 errors:0
  101.     TX bytes:3330182 acl:5321 sco:19 commands:846 errors:0
  102.     Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87
  103.     Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
  104.     Link policy: RSWITCH SNIFF
  105.     Link mode: SLAVE ACCEPT
  106.     Name: 'raspberrypi'
  107.     Class: 0x0c0000
  108.     Service Classes: Rendering, Capturing
  109.     Device Class: Miscellaneous,
  110.     HCI Version: 4.1 (0x7)  Revision: 0x168
  111.     LMP Version: 4.1 (0x7)  Subversion: 0x2209
  112.     Manufacturer: Broadcom Corporation (15)
Advertisement
Add Comment
Please, Sign In to add comment