connect to non-discoverable bluetooth device

后端 未结 3 701
刺人心
刺人心 2021-02-15 15:30

I am developing an app for android. Just a general questions as to , if is it possible to connect to a device which is non discoverable publicly?

Thanks in advance.

3条回答
  •  忘掉有多难
    2021-02-15 15:38

    It is possible under the Bluetooth standard. I have done this many times connecting two modules from Bluegiga together simply using the MAC address that I knew ahead of time.

    Android will let you do this with createInsecureRfcommSocketToServiceRecord

提交回复
热议问题