Bluetoothスタックを手動でランチしようとしています(bluetoohスタックを閉じた後)。
BlueCoveImpl.javaを調べたところ、Bluetooth スタックが初期化されていることがわかりました。
private BluetoothStack detectStack()
呼び出して呼び出そうとするメソッド
BlueCoveImpl.instance().getBluetoothStack();
しかし、例外が発生します:
Exception in thread "main" java.lang.Error: Illegal use of the JSR-82 API
at com.intel.bluetooth.Utils.isLegalAPICall(Utils.java:296)
at com.intel.bluetooth.BlueCoveImpl.getBluetoothStack(BlueCoveImpl.java:1023)
BlueCoveImpl.instance(); も試しました。BlueCoveImpl.getThreadBluetoothStackID();
しかし、それは効果がありませんでした。
BlueCove を起動するにはどうすればよいですか?