Skip to main content

Library: AWS IoT Core Client SL

“AWS IoT Core” is a managing cloud platform from Amazon in which connected devices can work together easily and safely with cloud applications and other devices. The AWS IoT Core Client SL library provides function blocks for sending and receiving messages. Communication is encrypted and takes place by means of the MQTT protocol. In the AWS environment, messages are typically sent in JSON format. The JSON Utilities library can be used for parsing and creating JSON files.

. Function blocks of the library:
  • AWSIoTClient: Establishes a connection to "AWS IoT Core"

  • AWSIoTPublish: Publishes messages (Publish)

  • AWSIoTSubscribe: Subscribes to a topic (Subscribe)

  • AWSIoTGetDeviceShadow: Reads the "Device Shadow"

  • AWSIoTUpdateDeviceShadow: Updates the "Device Shadow" data

  • AWSIoTSubscribeDeviceShadow: Subscribes to changes of the "Device Shadow"

. Functionality:
  • Publish and subscribe to messages based on MQTT V3.1.1

  • TLS encryption

  • Authentication via client certificate

  • Support of "Quality of Service": 0 and 1 (QoS0, QoS1)

  • Data type topics: WSTRING

  • Maximum size of a topic: 1024

  • Maximum package size and payload size, configurable by means of a parameter list

  • Multitasking and multicore support

  • Support of "Last Will'" messages (QoS0, QoS1)

  • Wildcard support (# and +)