Article 5343H linux old buildroot : bluetooth connection from shell

linux old buildroot : bluetooth connection from shell

by
icegood
from LinuxQuestions.org on (#5343H)
Hi there.

I have an old enough buildroot tree with a relatively new kernel. All packages inside are old enough. For example, bluez5-utils is 0f 5.21 (this is dictated by my toolchain).
I have also qemu image that works fine with that and I have bluetooth device inside.

I want to create a connection with external mobile phone via hcitool/hci

For this moment I'm able to create turn on device and scan others via:
Code:hciconfig hci0 up piscan
hciconfig hci0 name <my_name>
hcitool scan / hcitool lescanNow I'm able to see device outside and my device is available from outside with name <my_name> as well. What's next? How to create a connection form shell?

P.S. Please, do no suggest bluetoothctl that is available from v 5.44 of bluez.latest?d=yIl2AUoC8zA latest?i=FxUhER7yfns:tZWFlg_19jE:F7zBnMy latest?i=FxUhER7yfns:tZWFlg_19jE:V_sGLiP latest?d=qj6IDK7rITs latest?i=FxUhER7yfns:tZWFlg_19jE:gIN9vFwFxUhER7yfns
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments