I'm using Linux+QT for my OS system.
And I'm trying to connect my Speaker via BT.
I do it with following steps.
1. I try to run 'hciconfig hci0 up'.And it shows following results.
Code:
hci0: Type: BR/EDR Bus: USB
BD Address: AC:83:F3:59:B1:CB ACL MTU: 1021:8 SCO MTU: 64:1
UP RUNNING PSCAN ISCAN
RX bytes:40790 acl:192 sco:0 events:1010 errors:0
TX bytes:46845 acl:184 sco:0 commands:573 errors:0
2. I will scan by running
Then I will get my Speaker address.
3. I try to run
Code:
rfcomm bind hci0 xx:xx:xx:xx:xx:xx 1
And i will get rfcomm0 under /dev .
P.S `xx:xx:xx:xx:xx:xx` is my local BT device address.
4. I try to connect by running
Code:
rfcomm connect hci0 78:45:62:55:66:99 1
Then i will get `Can't connect RFCOMM socket: Operation now in progress` in
30 seconds.
P.S `78:45:62:55:66:99` is Speaker BT address.
My question is what did `Operation now in progress` mean when it also tell me that `Can't connect RFCOMM socket` ?
Did I connect my Speaker successfully or not?
If not how did i solve this problem?
Did I miss any steps here?
This is my email.
victor_wang@winmate.com.tw