Howt to connect two devices via bluetooth sending the pairng code by parameter? JAVA-Android

前端 未结 2 2086
花落未央
花落未央 2020-12-18 09:23

I\'m trying to connect via bluetooth two devices. I\'ve been able to do it, but when the connections starts the OS ask me to provide the pairing code.

What I want to

2条回答
  •  情话喂你
    2020-12-18 09:48

    I think this link will help you find what you need.

    I was thinking more of the "Pairing is automatically performed when you initiate an encrypted connection with the Bluetooth APIs." part of the link. I haven't tried it but was thinking that pairing automatically means no user input.

提交回复
热议问题