i was just starting to get into the JSR-82 library as I need to implement some bluetooth functionality between a smartphone and a RaspberryPi when this code
try {
LocalDevice local = LocalDevice.getLocalDevice();
System.out.println(local.getBluetoothAddress());
System.out.println(local.getFriendlyName());
}
catch (BluetoothStateException e){
System.out.println(e.getMessage());
}
gives me the following Message: "This is not JSR-82 implementation". The error message is coming from the catch block. Has anyone encountered this problem before? I can't find anything on the internet.
I am using a MacOS Sierra 10.12.4 and Eclipse Oxygen latest version. I downloaded the JSR-82.jar from this side: http://mvnrepository.com/artifact/org.microemu/microemu-jsr-82
Any help is much appreciated, thanks guys