Is the Bluetooth request for IAC devices (access request code) different from GIAC?

Can I specify a passcode for remote devices at the time of the request? By default, GIAC (common passcode) is used, but my remote devices have special passcodes. I do not know the addresses of these devices, but they are discoverable. Is it possible to determine the DIAC code during a scan?

+3
source share
1 answer

What you need to do is set the LAP address, but using the Java API with Android you cannot. Android uses the BlueZ Bluetooth stack, so you should use this API.

Here you have an example setting the LAP address.

+2
source

Source: https://habr.com/ru/post/1788456/


All Articles