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:
hciconfig hci0 up
hcitool scan – I successfully find my PC
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.
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:
PC has ping .
Also I am trying to connect in Simple Pairing mode. I made the following steps:
After this command I cant connect to my PC and it has not ping yet.
What is the problem?