Bluetooth inquiry of devices with IAC (inquiry access code) set different than GIAC?

3k views Asked by At

Is it possible to specify the inquiry access code for remote devices during inquiry? By default the GIAC (general inquiry access code) is used, but my remote devices have dedicated inquiry access codes. I don't know the addresses of those devices, but they are discoverable. Is it possible to define DIAC code during scan?

1

There are 1 answers

0
garzanti On

What you have to do is to set the LAP address, but with the Java API from Android you can't. Android uses BlueZ Bluetooth stack so you should use this API.

Here you have an example setting the LAP address.