Quality RTOS & Embedded Software

LIBRARIES
WHAT'S NEW
AWS Reference Integrations
FreeRTOS SMP:
FreeRTOS security certification:
Embedded World track keynote:

AWS IoT Device Defender

Introduction

The AWS IoT Device Defender library enables you to send security metrics from your IoT devices to the AWS IoT Device Defender service. The AWS IoT Device Defender service lets you continuously monitor these security metrics from devices for deviations from what you have defined as appropriate behavior for each device. If something doesn’t look right, AWS IoT Device Defender sends out an alert so you can take action to remediate the issue. More details about AWS IoT Device Defender can be found in AWS IoT documentation. Interactions with the AWS IoT Device Defender service use MQTT, a lightweight publish-subscribe protocol. This library provides a convenient API to compose and recognize the MQTT topic strings used by the AWS IoT Device Defender service.

The library is written in C and designed to be compliant with ISO C90 and MISRA C:2012. The library has no dependencies on any additional libraries other than the standard C library. It also doesn’t have any platform dependencies, such as threading or synchronization. It can be used with any MQTT library and any JSON or CBOR library. The library has proofs showing safe memory use and no heap allocation, making it suitable for IoT microcontrollers, but also fully portable to other platforms.

AWS IoT Device Defender library can be freely used and is distributed under the MIT open source license.

 

Code Size of AWS IoT Device Defender (example generated with GCC for ARM Cortex-M)
FileWith -O1 OptimizationWith -Os Optimization
defender.c1.1K0.6K
Total estimates1.1K0.6K
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.