@@ -48,15 +48,20 @@ void ICDManager::Init(PersistentStorageDelegate * storage, FabricTable * fabricT
48
48
VerifyOrDie (symmetricKeystore != nullptr );
49
49
VerifyOrDie (exchangeManager != nullptr );
50
50
51
- bool supportLIT = SupportsFeature (Feature::kLongIdleTimeSupport );
52
- VerifyOrDieWithMsg ((supportLIT == false ) || SupportsFeature (Feature::kCheckInProtocolSupport ), AppServer,
53
- " The CheckIn protocol feature is required for LIT support" );
54
- VerifyOrDieWithMsg ((supportLIT == false ) || SupportsFeature (Feature::kUserActiveModeTrigger ), AppServer,
55
- " The user ActiveMode trigger feature is required for LIT support" );
56
-
57
- // Disabling check until LIT support is compelte
58
- // VerifyOrDieWithMsg((supportLIT == false) && (GetSlowPollingInterval() <= GetSITPollingThreshold()) , AppServer,
59
- // "LIT support is required for slow polling intervals superior to 15 seconds");
51
+ // LIT ICD Verification Checks
52
+ if (SupportsFeature (Feature::kLongIdleTimeSupport ))
53
+ {
54
+ VerifyOrDieWithMsg (SupportsFeature (Feature::kCheckInProtocolSupport ), AppServer,
55
+ " The CheckIn protocol feature is required for LIT support." );
56
+ VerifyOrDieWithMsg (SupportsFeature (Feature::kUserActiveModeTrigger ), AppServer,
57
+ " The user ActiveMode trigger feature is required for LIT support." );
58
+ VerifyOrDieWithMsg (ICDConfigurationData::GetInstance ().GetMinLitActiveModeThresholdMs () <=
59
+ ICDConfigurationData::GetInstance ().GetActiveModeThresholdMs (),
60
+ AppServer, " The minimum ActiveModeThreshold value for a LIT ICD is 5 seconds." );
61
+ // Disabling check until LIT support is compelte
62
+ // VerifyOrDieWithMsg((GetSlowPollingInterval() <= GetSITPollingThreshold()) , AppServer,
63
+ // "LIT support is required for slow polling intervals superior to 15 seconds");
64
+ }
60
65
61
66
mStorage = storage;
62
67
mFabricTable = fabricTable;
0 commit comments