public static void evaluateG6Settings() { if (haveFirmwareDetails()) { if (FirmwareCapability.isTransmitterG6(getTransmitterID())) { if (!usingG6()) { Ob1G5CollectionService.setG6Defaults(); JoH.showNotification("Enabled G6", "G6 Features and default settings automatically enabled", null, Constants.G6_DEFAULTS_MESSAGE, false, true, false); } else if (!onlyUsingNativeMode() && !Home.get_engineering_mode()) { // TODO revisit this now that there is scaling Ob1G5CollectionService.setG6Defaults(); JoH.showNotification("Enabled G6", "G6 Native mode enabled", null, Constants.G6_DEFAULTS_MESSAGE, false, true, false); } } } }
public static void evaluateG6Settings() { if (haveFirmwareDetails()) { if (FirmwareCapability.isTransmitterG6(getTransmitterID())) { if (!usingG6()) { Ob1G5CollectionService.setG6Defaults(); JoH.showNotification("Enabled G6", "G6 Features and default settings automatically enabled", null, Constants.G6_DEFAULTS_MESSAGE, false, true, false); } else if (!onlyUsingNativeMode() && !Home.get_engineering_mode()) { // TODO revisit this now that there is scaling Ob1G5CollectionService.setG6Defaults(); JoH.showNotification("Enabled G6", "G6 Native mode enabled", null, Constants.G6_DEFAULTS_MESSAGE, false, true, false); } } } }
public static void evaluateG6Settings() { if (haveFirmwareDetails()) { if (FirmwareCapability.isTransmitterG6(getTransmitterID())) { if (!usingG6()) { Ob1G5CollectionService.setG6Defaults(); JoH.showNotification("Enabled G6", "G6 Features and default settings automatically enabled", null, Constants.G6_DEFAULTS_MESSAGE, false, true, false); } else if (!onlyUsingNativeMode() && !Home.get_engineering_mode()) { // TODO revisit this now that there is scaling Ob1G5CollectionService.setG6Defaults(); JoH.showNotification("Enabled G6", "G6 Native mode enabled", null, Constants.G6_DEFAULTS_MESSAGE, false, true, false); } } } }
if ((getVersionDetails) && (!haveFirmwareDetails())) { connection.writeCharacteristic(Control, nn(new VersionRequestTxMessage().byteSequence)) .subscribe(versionValue -> {
if ((getVersionDetails) && (!haveFirmwareDetails())) { connection.writeCharacteristic(Control, nn(new VersionRequestTxMessage().byteSequence)) .subscribe(versionValue -> {
if ((getVersionDetails) && (!haveFirmwareDetails())) { connection.writeCharacteristic(Control, nn(new VersionRequestTxMessage().byteSequence)) .subscribe(versionValue -> {