paring Bluetooth devices using command code
-
I am making sure this forum can accept / discuss and resolve "Bluetooth" as DEVICE. With that let me make a statement: For many reasons , irrelevant to the following post, I do not fancy to utilizing "blueZ" library. And please let us NOT discuss that. i do prefer to use one of many open or hidden derivatives of "blueZ" library. End of story. I am pretty much done using "hcitool" . Unfortunately "hcitool" has no easy or visible means to "pair" Bluetooth devices. It looks as "bluetoothctl" can be used to pair. HOWEVER - hcitool and bluetoothctl DO NOT use same terminology describing Bluetooth processes. device became controller and who knows what is "agent" ? q5@q5-desktop:~$ bluetoothctl Agent registered [CHG] Controller 00:15:83:15:A2:CB Pairable: yes [CHG] Controller 00:50:B6:80:4D:5D Pairable: yes So the purpose of this post is : I am open to reasonable suggestion using another - command based and NOT openly derived from "blueZ" tool. Preferably "related" to C++ - no Python.... Cheers