I tried to do the following:
01) replace the driver (do symb link):
ln -s /usr/lib/firmware/brcm/BCM43342.hcd /usr/lib/firmware/brcm/BCM.hcd.
02) Judging by armbianmonitor -u, the chip was recognized.
03) Installed the necessary packet:
sudo apt install bluetooth -y
04) Tested that the service Bluetooth is running:
sudo service bluetooth status.
05) Got "Running"
06) Only after these actions hciconfig -a gave a meaningful conclusion...
07) Next, after all this, I tried to control bluetooth via :
sudo bluetoothctl
08) On the show command inside, I finally saw my device wiyh MAC and that it was active.
09) Put it into detected mode:
discoverable on
10) Saw the alias rk3318-box on my phone when searching for Bluetooth devices around.
11) Despite the fact that an invitation with the same PIN code for connecting appeared both on the tvbox and on the phone, for some reason it is not possible to connect them. At the same time, for the tvbox mode Pairable: yes
!!! THE REASON IS NOT CLEAR TO ME, but it is definitely associated with tvbox, because as soon as I confirm the connection (press "Y") on it, the connection is cut off... Phone confirmation does not interrupt the connection at first. WTF? I reinvent the wheel again?????
PS After pair coomand on tvbox i see it:
[agent] Confirm passkey 815681 (yes/no): y
Failed to pair: org.bluez.Error.AuthenticationFailed