Please help me this app is not showing bluetooth to connect

hello everyone, currently i am using android 12 i want to write an application that can connect bluetooth specifically hc05 but now after i finished writing i tried it on my phone but i can't see any bluetooth around. please help me. I thank everyone



this is when i try it on my phone

(Canned Response)
These blocks can be dragged into your Blocks Editor to request permission(s) for Bluetooth scanning and connecting. All three parts are needed.




Thanks to @Anke for the original code.
My changes include

  • use of the Screen1 permission blocks to avoid the possibility of a typo
  • using a TinyDB tag particular to BT permissions and only for BT permissions.