1.3.2.3.70 MAC_WRP_TimeIsPastSeconds Function
C
bool MAC_WRP_TimeIsPastSeconds ( int32_t timeValue );
Summary
Indicates whether the given time value is in the past.
Description
This primitive indicates whether the given time value is in the past.
Precondition
None.
Parameters
Param | Description |
---|---|
timeValue | Time value in seconds |
Returns
True if the time value is in the past. False if the time value is not in the past.
Example
int32_t validityTime = 10;
// Perform other actions
// ...
if (MAC_WRP_TimeIsPastSeconds(validityTime))
{
// Validity ended
}
Remarks
None.