Quality RTOS & Embedded Software

LIBRARIES
NOTE: The HTTPS library and documentation are part of the FreeRTOS LTS Roadmap. These libraries are fully functional, but undergoing optimizations or refactoring to improve memory usage, modularity, documentation, demo usability, or test coverage. They are available on GitHub or part of the LTS Development Snapshot download

HTTPS Client Library

Introduction

The HTTPS Client (Hypertext Transfer Protocol) library provides a lightweight HTTP client request and response messaging protocol that runs on top of TCP/IP and is often used in web application use cases.  The HTTPS Client library implements a subset of the HTTP/1.1 protocol standard. An HTTP connection to a server can be established in a non-secure (HTTP) and secure manner (HTTPS). Especially in IoT use cases, TLS (Transport Layer Security) is used to provide a secure communication protocol between a client and server.  In TLS, the client and server establish a secure connection through a handshake protocol to prevent eavesdropping from any malicious parties. When the library is called “HTTPS” instead of “HTTP”, it indicates that HTTP over TLS is enabled by default. The FreeRTOS Plus libraries can be used individually or collectively to create locally connected or internet connected MCU applications.  Each library can be freely used and is distributed under the MIT open source license.

 

Code Size of HTTPS (example generated with GCC for ARM Cortex-M)
FileWith -O1 OptimisationWith -Os Optimisation
iot_https_utils.c0.2K0.1K
iot_https_client.c4.9K4.3K
http_parser.c (third-party utility)17.8K14.6K
Total estimate (configurations defined here)22.9K19.0K
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.