AWS IoT Device SDK C:
Defender
AWS IoT Device Defender library
|
Return to main page ↑ |
Configuration settings of the Defender library
Enable secure sockets metrics Possible values: 0 or 1
Recommended values: 1
Default value (if undefined): 0
This macro must be defined for device defender library to collect sockets metrics correctly. Without defining it, the behavior is unknown.
Default format for metrics data serialization.
Possible values: AWS_IOT_DEFENDER_FORMAT_CBOR (JSON is not supported for now)
Recommended values: Cbor is more compact than Json, thus more efficient.
Default value (if undefined): AWS_IOT_DEFENDER_FORMAT_CBOR
Use long tag or short tag for metrics report.
Possible values: 0
or 1
Recommended values: 0 to use short tag to reduce network transmit cost.
Default value (if undefined): 0
Default period constants if users don't provide their own.
If metrics is sent faster than 5 minutes for one "thing", it may be throttled.
Possible values: greater than or equal to 300
Recommended values: greater than or equal to 300
seconds; defender service might throttle if the period is too short
Default value (if undefined): 300
Default MQTT connect timeout.
Possible values: greater than 0
Default value (if undefined): 10
Default MQTT subscribe timeout.
Possible values: greater than 0
Default value (if undefined): 10
Default MQTT publish timeout.
Possible values: greater than 0
Default value (if undefined): 10