Discovery of a hidden Bluetooth device with a known identifier

I have the MAC-ID of a device on a Bluetooth device and you want to see if it is in range. How to establish a connection with the target device if I have its ID and it is in stealth mode?

I am using bluecove (java) for this.

+3
source share
1 answer

I'm not sure what you mean by "stealth mode". You can connect to a device that cannot be detected, but you cannot connect to a device that cannot be connected.

, JSR-82 ( Bluecove, JSR-82) RemoteDevice, . RemoteDevice - . , , "".

Bluecove , RemoteDevice , Bluetooth String. RemoteDevice, . :

public class MyRemoteDevice extends javax.Bluetooth.RemoteDevice {
  public MyRemoteDevice(String addr) {
    super(addr);
  }
}

MyRemoteDevice, MAC- .

+5

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


All Articles