This library provides the port of the AWS IoT SDK for Mbed OS. It can be used to connect devices running Mbed OS to the AWS IoT Core service over MQTT.
An example demonstrating the use of this library has been provided as part of the official Mbed OS examples here.
- This library depends on:
- This SDK port follows the steps listed in AWS' developer guide found here.
- The "Config header" and the "Platform Types" requirements can be found in the library under
mbed/include/
- The "Platform layer" port can be found under
mbed/src/
. As a minimum, a system clock, mutex, semaphore, network implementation and an optional thread implementation are required. More details on this are provided here. The thread implementation is optional and needed for synchronization between threads while using traces for debug messages.
For now, the IoT Defender service is disabled in this port library. If you need to enable it for your project:
-
Open .mbedignore and change
-aws-iot-device-sdk-embedded-c/libraries/aws/defender/* +aws-iot-device-sdk-embedded-c/libraries/aws/defender/test/*
-
Implement
IotClock_SleepMs
,IotSemaphore_TryWait
andIotMetrics_GetTcpConnections
in your application, as the Defender module depends on them. For their API requirements, search for them in the source code of aws-iot-device-sdk-embedded-c
- Mbed OS Stats API.
- Mbed OS Configuration.
- Mbed OS Serial Communication.
- Mbed OS bare metal.
- Mbed boards.
- AWS IoT Core
- AWS IoT Core - Embedded C SDK
The software is provided under Apache-2.0 license. Contributions to this project are accepted under the same license.
This project contains code from other projects. The original license text is included in those source files. They must comply with our license guide.