Hi,
I'm searching for method, how to make setting of BREDR OFF and LE ON mode by python commands. I didn't find any framework or library for doing it, so I used calling "sudo btmgmt power off", "sudo btmgmt bredr off", "sudo btmgmt power on" and "sudo btmgmt le on" sequence with Popen command.
But another issue is pairing BT adapter with BT device. My device uses pairing PIN, and this is the issue. Calling external utility "bluetoothctl" is not comfortable, despite she fact running scan on a interrupting it.
Does somebody have solved this problem - pairing BT device using PIN in Python just in Python ?
Thanks,
Ondrej