diff --git a/examples/platform/linux/AppMain.cpp b/examples/platform/linux/AppMain.cpp index c19db28b6b4467..876e0da8bc3751 100644 --- a/examples/platform/linux/AppMain.cpp +++ b/examples/platform/linux/AppMain.cpp @@ -146,7 +146,8 @@ static bool EnsureWiFiIsStarted() class SampleTestEventTriggerDelegate : public TestEventTriggerDelegate { public: - static constexpr uint64_t kSampleTestEventTriggerAlwaysSuccess = static_cast(0xFFFF'FFFF'FFFF'FFFEull); + /// NOTE: If you copy this, please use the reserved range FFFF_FFFF__xxxx for your trigger codes. + static constexpr uint64_t kSampleTestEventTriggerAlwaysSuccess = static_cast(0xFFFF'FFFF'FFF1'0000ull); SampleTestEventTriggerDelegate() { memset(&mEnableKey[0], 0, sizeof(mEnableKey)); } diff --git a/src/python_testing/TC_TestEventTrigger.py b/src/python_testing/TC_TestEventTrigger.py index d5604e6f7b7a47..8834417e41d847 100644 --- a/src/python_testing/TC_TestEventTrigger.py +++ b/src/python_testing/TC_TestEventTrigger.py @@ -31,7 +31,7 @@ kAllZerosKey = bytes(b"\x00" * 16) # Assumes `SampleTestEventTriggerDelegate` as it exists in Linux AppMain.cpp -kValidEventTrigger = 0xFFFF_FFFF_FFFF_FFFE +kValidEventTrigger = 0xFFFF_FFFF_FFF1_0000 kInvalidEventTrigger = 0 # Per TC-DGEN-2.3