Hi !!! I'm trying connect my phone to laptop via bluetooth
Code:
# dmesg |grep ubt0
ubt0 at uhub4 port 1 "Cambridge Silicon Radio Bluetooth" rev 2.00/31.64 addr 3
bthub0 at ubt0 00:10:60:d3:b4:0d
ubt0 at uhub4 port 1 "Cambridge Silicon Radio Bluetooth" rev 2.00/31.64 addr 2
bthub0 at ubt0 00:10:60:d3:b4:0d
# /usr/local/sbin/sdpd
# pgrep sdpd
1961
# /usr/local/sbin/bthcid
# pgrep bthcid
3424
# /usr/local/sbin/btconfig ubt0 up pscan switch class 0x02010c
# /usr/local/sbin/btconfig -vvv
ubt0: bdaddr 00:10:60:d3:b4:0d flags=3<UP,RUNNING>
num_cmd = 1
num_acl = 10, acl_mtu = 310
num_sco = 8, sco_mtu = 64
HCI version: 2.0
class: [0x02010c] Laptop Computer <Networking>
name: "CSR - bc4"
voice: [0x0060]
Input Coding: Linear PCM [16-bit, pos 0], 2's complement
Air Coding: CVSD
pin: variable
options: -iscan pscan -auth -encrypt switch -hold -sniff -park -rssi
ptype: [0xcc18] DM1 DH1 DM3 DH3 DM5 DH5 2-DH1 3-DH1 2-DH3 3-DH3 2-DH5 3-DH5
page timeout: 5120 ms
# /usr/local/sbin/btconfig ubt0 inquiry
Device Discovery from device: ubt0 .... 1 response
1: bdaddr 00:19:2d:9a:8a:27 (Iwi)
: name "Iwi"
: class: [0x5a0204] Cellular Phone <Networking> <Capturing> <Object Transfer>
<Telephony>
: page scan rep mode 0x01
: clock offset 6636
# btpin -d ubt0 -a 00:19:2d:9a:8a:27 -r -l 3
PIN: 636
# /usr/local/sbin/btdevctl -a 00:19:2d:9a:8a:27 -d ubt0 -s hid -qv
Performing SDP query for service 'HID'..
btdevctl: 00:19:2d:9a:8a:27/HID not found
#
btdevctl: 00:19:2d:9a:8a:27/HID not found ??? - why? What i shell do ?