Other Parts Discussed in Thread: WL1835
Hi,
I am trying to use WL1835 bluetooth with AM335x EVM. Software is meta-arago daisy.
When I run bluetooth agent, I get error "Can't get default adapter"
Following is the sequence of commands:
root@am335x-evm:~# bluetoothd
root@am335x-evm:~# hciconfig hci0 up
[ 944.008593] (stc): chnl_id list empty :4
[ 944.012749] (stk) : st_kim_start(stk) :ldisc_install = 1uim:poll broke due to event 10(PRI:2/ERR:8)
uim:read 1 from install
uim:@ st_uart_config
uim: signal received, opening /dev/ttyS1
uim:@ set_baud_rate
uim:set_baud_rate() done
uim:Setting speed to 3000000
uim:@ read_command_complete
uim: Command complete started
uim:@ read_hci_event
uim: read_hci_event
uim:Command complete done
[ 944.180311] (stc): st_tty_open
uim:Speed changing to 3000000, 1
uim:@ set_custom_baud_rate
(stk) :line discipline installeduim:Installed N_TI_WL Line displine
[ 944.194437] (stk) :TIInit_11.8.32.bts
uim:begin polling...
(stk) :change remote baud rate command in firmware
[ 944.214516] (stk) :skipping the wait event of change remote baud[ 944.928331] (stc): add_channel_to_table: id 4
[ 944.932771] (stc): add_channel_to_table: id 2
[ 944.937149] (stc): add_channel_to_table: id 3
root@am335x-evm:~# hcitool scan
Scanning ...
00:02:72:E3:0F:7F RS232 Dongle Slave
root@am335x-evm:~# agent hci0 00:02:72:E3:0F:7F
Can't get default adapter
No such adapter
root@am335x-evm:~# dmesg | grep Bluetooth
[ 3.475348] Bluetooth: Core ver 2.18
[ 3.483613] Bluetooth: HCI device and connection manager initialized
[ 3.663793] Bluetooth: HCI socket layer initialized
[ 3.668731] Bluetooth: L2CAP socket layer initialized
[ 3.814838] Bluetooth: SCO socket layer initialized
[ 16.667945] Bluetooth: st_register failed -22
What am I missing here ?
thanks
Ankur