moosew / esp8266-arduino-aws-iot-ws

AWS IoT library for ESP8266/Arduino based on websockets and Sigv4 authentication

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AWS IoT Websockets

Library for connecting to the AWS IoT service from an ESP8266 using websockets. Authenticates using AWS IAM credentials and sigV4.

Based on the work of AWS labs, basically using its SigV4 implementation and a fork by Sander van de Graaf. The fork is reflected in the License.

Inspired by Fábio Toledos work on aws-mqtt-websockets, but using libraries accessible through the PlatformIO library manager. This is actually the main reason for creating the library.

Adds MQTT functionality using the Paho library. It is fairly easy to replace with another MQTT client, e.g. PubSubClient.

Attributions

Big thanks to Fábio Toledo for his work on aws-mqtt-websockets. Any credit should be directed to him and the authors of the libraries used in this project.

The library uses code from the following projects. License information can be found in the NOTICE file:

In the case of missing license information, I took the liberty of adding it.

Architecture

class diagram

About

AWS IoT library for ESP8266/Arduino based on websockets and Sigv4 authentication

License:Apache License 2.0


Languages

Language:C++ 96.2%Language:C 3.8%