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 lescan
Now 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.