[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bluetooth-dev] questions (readbd, Bad UART baud rate)
Hi,
I executed 'btd' and successfully connected two machines using null
modem
(success in ping, ftp, telnet command).
However when I tried to connect two CSR HWs, I failed.
I'm using latest tar ball (bluetooth_20000804-newest).
The execution results are as follows.
(Server side)
$ ./btd -u /dev/ttyS1
Bluetooth Control Application
---------------------------
Running as server
...
Menu
------------------------
con <xx:xx:xx:xx:xx:xx> <profile>
...
ppp
quit
> readbd
Currentd bd addr : 00:00:00:00:00:00 (<==== something wrong, I think)
>ppp
close_device
...
Connect: ppp0 <--> /dev/ttyBT0 (Holding state)
(Client side)
$./btd -u /dev/ttyS1 -r client
Bluetooth Control Application
---------------------------
Running as client
...
Menu
------------------------
con <xx:xx:xx:xx:xx:xx> <profile>
...
ppp
quit
> readbd
Currentd bd addr : 00:00:00:00:00:00 (<==== something wrong, I think)
>
Also, some parts of the debug messages are
BT SYS: ERROR :hci_receive_data: 0x18 is an unknown HCI type!
1st rec data pointer 0xc1b6535c, count6, data_len 0
Bad UART baud rate ? Check if baudrate really was successfully set in HW
======================================
Questions
1) What's the meanning of bd addr 00:00:00:00:00:00 ? What's the reason?
How can I solve this problem?
2) The baud rate of CSR HW is 115200 initially.
Then, Why the error message 'Bad UART baud rate ? ...' is shown?
======================================
Best regards
Yang Gi Kang