unicorn I get an error after execute btdevctl -d ubt0 -a headset -s HSET -A
service HSET not found
Hmm. You did do service bluetooth start
after adding bluetooth=YES
and btconfig_ubt0="name XXX"
, right? That should've started bthcid
and sdpd
in the background.
I did try just now and while I got farther than you, I couldn't get any output from the headphones. Dunno why:
CoreBook# echo 'bluetooth=YES' >> /etc/rc.conf
CoreBook# echo 'btconfig_ubt0="name CoreBook"' >> /etc/rc.conf
CoreBook# service bluetooth start
CoreBook# btconfig ubt0 inquiry
Device Discovery from device: ubt0 ... 3 responses
1: bdaddr 78:2b:64:cf:04:2f (headset)
: name "Bose NC 700 Headphones"
: class [0x240418] Headphones <Rendering> <Audio>
: page scan rep mode 0x01
: clock offset 24155
: rssi 0
CoreBook# echo '78:2b:64:cf:04:2f headset' >> /etc/bluetooth/hosts
CoreBook# btpin -d ubt0 -a headset -p 0000
CoreBook# btdevctl -d ubt0 -a headset -s HSET -A
CoreBook# bthset -m /dev/mixer2 -v
Headset Info:
mixer: /dev/mixer2
laddr: 10:f6:0a:e4:c2:57
raddr: 78:2b:64:cf:04:2f
channel: 11
vgs.dev: 0, vgm.dev: 1
> AT+VGS=10
< OK
> AT+XAPL=009E-4024-0204,3
< ERROR
>
AT+XEVENT=Bose SoundLink,158
< ERROR
>
^C
bthset: Connection Lost
CoreBook# ^D