Skip to content

Instantly share code, notes, and snippets.

@waitman
Created March 18, 2015 02:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save waitman/d08c2a027479137c2a3a to your computer and use it in GitHub Desktop.
Save waitman/d08c2a027479137c2a3a to your computer and use it in GitHub Desktop.
# uname -a
FreeBSD rpidev.waitman.net 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r277133: Tue Jan 13 10:01:51 PST 2015 waitman@rpidev.waitman.net:/usr/obj/usr/src/sys/RPIDEV amd64
ubt0: <vendor 0x0a12 CSR8510 A10, class 224/1, rev 2.00/88.91, addr 2> on usbus1
WARNING: attempt to domain_add(bluetooth) after domainfinalize()
WARNING: attempt to domain_add(netgraph) after domainfinalize()
# hccontrol -n ubt0hci inquiry
Inquiry result, num_responses=1
Inquiry result #0
BD_ADDR: cc:6d:a0:ba:73:e8
Page Scan Rep. Mode: 0x1
Page Scan Period Mode: 0x2
Page Scan Mode: 00
Class: 00:04:24
Clock offset: 0x61c7
Inquiry result, num_responses=1
Inquiry result #0
BD_ADDR: 00:1b:dc:06:94:d3
Page Scan Rep. Mode: 0x1
Page Scan Period Mode: 0x2
Page Scan Mode: 00
Class: ff:01:0c
Clock offset: 0x2347
Inquiry complete. Status: No error [00]
# sdpcontrol -a 00:1b:dc:06:94:d3 browse
Record Handle: 00000000
Service Class ID List:
Service Discovery Server (0x1000)
Protocol Descriptor List:
L2CAP (0x0100)
SDP (0x0001)
Bluetooth Profile Descriptor List:
Service Discovery Server (0x1000) ver. 1.0
Record Handle: 0x00000001
Service Class ID List:
Browse Group Descriptor (0x1001)
Record Handle: 0x00000003
Service Class ID List:
Human Interface Device (0x1124)
Protocol Descriptor List:
L2CAP (0x0100)
Protocol specific parameter #1: u/int/uuid16 17
HIDP (0x0011)
Bluetooth Profile Descriptor List:
Human Interface Device (0x1124) ver. 1.0
# bthidcontrol -a 00:1b:dc:06:94:d3 query
Could not perform SDP query on the device 00:1b:dc:06:94:d3. Attribute not found (87)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment