Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluetooth device connectivity issues #162

Open
kormilicinkostia opened this issue Apr 20, 2020 · 0 comments
Open

Bluetooth device connectivity issues #162

kormilicinkostia opened this issue Apr 20, 2020 · 0 comments

Comments

@kormilicinkostia
Copy link

kormilicinkostia commented Apr 20, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant