The Device SDK simplifies access to the Pub/Sub functionality of the AWS IoT broker via MQTT and provides APIs to interact with Thing Shadows. The SDK has been tested to work with the AWS IoT platform to ensure the best interoperability of a device with the AWS IoT platform. The Device SDK provides functionality to create and maintain a MQTT Connection. It expects to be provided with a Network Connection class that connects and authenticates to AWS IoT using either direct TLS or WebSocket over TLS. This connection is used for any further publish operations. It also allows for subscribing to MQTT topics which will call a configurable callback function when these messages are received on these topics. This SDK implements the specific protocol for Thing Shadows to retrieve, update and delete Thing Shadows adhering to the protocol that is implemented to ensure correct versioning and support for client tokens.

Features

  • Designed around the C++11 standard
  • This SDK also implements the Jobs protocol to interact with the AWS IoT Jobs service
  • Network layer abstracted from the SDK. Can use any TLS library and initialization method
  • Support for multiple platforms and compilers. Tested on Linux, Windows (with VS2015) and Mac OS
  • Flexibility in picking and choosing functionality, can create Clients which only perform a subset of MQTT operations
  • Support for Rapidjson allowing use of complex shadow document structures

Project Samples

Project Activity

See All Activity >

Categories

IoT

License

Apache License V2.0

Follow AWS IoT C++ Device SDK

AWS IoT C++ Device SDK Web Site

Other Useful Business Software
Easily Host LLMs and Web Apps on Cloud Run Icon
Easily Host LLMs and Web Apps on Cloud Run

Run everything from popular models with on-demand NVIDIA L4 GPUs to web apps without infrastructure management.

Run frontend and backend services, batch jobs, host LLMs, and queue processing workloads without the need to manage infrastructure. Cloud Run gives you on-demand GPU access for hosting LLMs and running real-time AI—with 5-second cold starts and automatic scale-to-zero so you only pay for actual usage. New customers get $300 in free credit to start.
Try Cloud Run Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of AWS IoT C++ Device SDK!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

C++

Related Categories

C++ IoT Software

Registered

2022-07-04