lwfinger / rtl8723bu

Driver for RTL8723BU
287 stars 146 forks source link

Bluetooth device connectivity issues #162

Open kormilicinkostia opened 4 years ago

kormilicinkostia commented 4 years ago

I am trying to connect my embedded system to PC using Bluetooth. I use rtl8723bu as an embedded system. To connect I use these commands:

  1. hciconfig hci0 up
  2. hcitool scan – I successfully find my PC
  3. rfcomm connect /dev/rfcomm0 XX:XX:XX:XX:XX:XX – In this moment I receive request for connection installing and password request. The password from /etc/bluetooth/hcid.conf doesn’t work.

PC has ping .

l2ping XX:XX:XX:XX:XX:XX
[ 1288.480000] rtk_btusb: hci0 evt 1
[ 1288.480000] rtk_btusb: btusb_notify : hci0 evt 1
[ 1288.490000] rtk_btusb: notify wifi start page
[ 1290.260000] rtk_btusb: notify wifi page success end
Ping: 00:19:86:00:29:7D from 74:EE:2A:48:85:1B (data size 44) ...
0 bytes from XX:XX:XX:XX:XX:XX id 0 time 1002.87ms
0 bytes from XX:XX:XX:XX:XX:XX id 1 time 109.52ms

Also I am trying to connect in Simple Pairing mode. I made the following steps:

hciconfig hci0 sspmode 1
hciconfig hci0 piscan

After this command I cant connect to my PC and it has not ping yet.

l2ping XX:XX:XX:XX:XX:XX
[ 1440.780000] rtk_btusb: hci0 evt 1
[ 1440.780000] rtk_btusb: btusb_notify : hci0 evt 1
[ 1440.790000] rtk_btusb: notify wifi start page
[ 1442.060000] rtk_btusb: notify wifi page success end
Can't connect: Operation now in progress

What is the problem?