public static void unBondIfBlukonAtInit() { try { if (Blukon.expectingBlukonDevice() && Pref.getBooleanDefaultFalse("blukon_unbonding")) { final ActiveBluetoothDevice btDevice = ActiveBluetoothDevice.first(); if (btDevice != null) { UserError.Log.d(TAG, "Unbonding blukon at initialization"); JoH.unBond(btDevice.address); } } } catch (Exception e) { UserError.Log.e(TAG, "Got exception trying to unbond blukon at init"); } }
public static void unBondIfBlukonAtInit() { try { if (Blukon.expectingBlukonDevice() && Pref.getBooleanDefaultFalse("blukon_unbonding")) { final ActiveBluetoothDevice btDevice = ActiveBluetoothDevice.first(); if (btDevice != null) { UserError.Log.d(TAG, "Unbonding blukon at initialization"); JoH.unBond(btDevice.address); } } } catch (Exception e) { UserError.Log.e(TAG, "Got exception trying to unbond blukon at init"); } }
public static void unBondIfBlukonAtInit() { try { if (Blukon.expectingBlukonDevice() && Pref.getBooleanDefaultFalse("blukon_unbonding")) { final ActiveBluetoothDevice btDevice = ActiveBluetoothDevice.first(); if (btDevice != null) { UserError.Log.d(TAG, "Unbonding blukon at initialization"); JoH.unBond(btDevice.address); } } } catch (Exception e) { UserError.Log.e(TAG, "Got exception trying to unbond blukon at init"); } }
if (static_use_blukon || Blukon.expectingBlukonDevice()) { UserError.Log.d(TAG, "Setting blukon pairing pin to: " + DEFAULT_BT_PIN); device.setPin(convertPinToBytes(DEFAULT_BT_PIN));
if (static_use_blukon || Blukon.expectingBlukonDevice()) { UserError.Log.d(TAG, "Setting blukon pairing pin to: " + DEFAULT_BT_PIN); device.setPin(convertPinToBytes(DEFAULT_BT_PIN));
if (static_use_blukon || Blukon.expectingBlukonDevice()) { UserError.Log.d(TAG, "Setting blukon pairing pin to: " + DEFAULT_BT_PIN); device.setPin(convertPinToBytes(DEFAULT_BT_PIN));
if (static_use_blukon || Blukon.expectingBlukonDevice()) {
if (static_use_blukon || Blukon.expectingBlukonDevice()) {
if (static_use_blukon || Blukon.expectingBlukonDevice()) {