32 using InsecureOptions = uint32_t;
37 static constexpr InsecureOptions AllowStartInCfgMode = 1u << 0;
41 static constexpr InsecureOptions AllowConfigEncryptionDisabled = 1u << 1;
45 static constexpr InsecureOptions AllowMissingHttpsCertificates = 1u << 2;
49 static constexpr InsecureOptions AllowSecurityLogDisabled = 1u << 3;
62 void handleAction(
int event,
int action)
override;
64 virtual int16_t getManufacturerId();
65 virtual void waitForConfigButtonPress();
66 virtual bool checkTestStep();
68 void setTestFailed(
int reason);
69 void setTestFinished();
70 Supla::TestStage getTestStage()
const;
71 bool hasFailed()
const;
72 int getFailReason()
const;
74 void dontCheckAutomaticFirmwareUpdate();
79 static void setInsecureOptions(InsecureOptions options);
80 static InsecureOptions getInsecureOptions();
83 bool testFailed =
false;
84 bool testFinished =
false;
85 bool waitForRegisteredAndReady =
true;
86 bool testingMachineEnabled =
true;
88 uint32_t timeoutS = 30;
89 uint32_t initTimestamp = 0;
90 Supla::TestStage testStage = Supla::TestStage_None;
95 bool checkAutomaticFirmwareUpdate =
true;
97 static InsecureOptions insecureOptions;