AWS IoT Device SDK C: Defender
AWS IoT Device Defender library
Return to main page ↑
AwsIotDefender_SetPeriod

Set period in seconds.

Parameters
[in]periodSecondsPeriod is specified in seconds. Minimum is 300 (5 minutes)
Returns
  • On success, AWS_IOT_DEFENDER_SUCCESS is returned.
  • If defender is not started yet, AWS_IOT_DEFENDER_NOT_STARTED is returned.
Warning
This function is not thread safe.
Note
If this function is called when defender agent is started, the period is re-calculated and updated in next iteration.