AWS IoT Device SDK C: Defender
AWS IoT Device Defender library
Return to main page ↑
_defenderMetrics_t Struct Reference

#include <aws_iot_defender_internal.h>

Data Fields

uint32_t metricsFlag [DEFENDER_METRICS_GROUP_COUNT]
 
IotMutex_t mutex
 

Detailed Description

Structure to hold the metrics.

Field Documentation

◆ metricsFlag

uint32_t _defenderMetrics_t::metricsFlag[DEFENDER_METRICS_GROUP_COUNT]

Array of bit-flag of metrics. The index is enum value of AwsIotDefenderMetricsGroup_t.

◆ mutex

IotMutex_t _defenderMetrics_t::mutex

Mutex to protect _AwsIotDefenderMetricsFlag referenced by:

  • metrics timer callback
  • SetMetrics API

The documentation for this struct was generated from the following file: