mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2026-08-07 21:53:40 +00:00
Revert unwanted coreHTTP demo changes
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
#include "core_http_client.h"
|
||||
|
||||
/* Transport interface implementation include header for TLS. */
|
||||
#include "using_mbedtls.h"
|
||||
#include "transport_mbedtls.h"
|
||||
|
||||
/* Common HTTP demo utilities. */
|
||||
#include "http_demo_utils.h"
|
||||
@@ -120,10 +120,10 @@
|
||||
*
|
||||
* @note When using ALPN, port 443 must be used to connect to AWS IoT Core.
|
||||
*/
|
||||
#define IOT_CORE_ALPN_PROTOCOL_NAME "\x0ex-amzn-http-ca"
|
||||
#define IOT_CORE_ALPN_PROTOCOL_NAME "x-amzn-http-ca"
|
||||
|
||||
/**
|
||||
* @brief Each compilation unit that consumes the NetworkContext must define it.
|
||||
/**
|
||||
* @brief Each compilation unit that consumes the NetworkContext must define it.
|
||||
* It should contain a single pointer to the type of your desired transport.
|
||||
* When using multiple transports in the same compilation unit, define this pointer as void *.
|
||||
*
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
#include "core_http_client.h"
|
||||
|
||||
/* Transport interface implementation include for plaintext communication. */
|
||||
#include "using_plaintext.h"
|
||||
#include "transport_plaintext.h"
|
||||
|
||||
/* Common HTTP demo utilities. */
|
||||
#include "http_demo_utils.h"
|
||||
@@ -164,8 +164,8 @@
|
||||
*/
|
||||
#define httpexampleNUMBER_HTTP_PATHS ( 4 )
|
||||
|
||||
/**
|
||||
* @brief Each compilation unit that consumes the NetworkContext must define it.
|
||||
/**
|
||||
* @brief Each compilation unit that consumes the NetworkContext must define it.
|
||||
* It should contain a single pointer to the type of your desired transport.
|
||||
* When using multiple transports in the same compilation unit, define this pointer as void *.
|
||||
*
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
#include "core_http_client.h"
|
||||
|
||||
/* Transport interface implementation include header for TLS. */
|
||||
#include "using_mbedtls.h"
|
||||
#include "transport_mbedtls.h"
|
||||
|
||||
/* Common HTTP demo utilities. */
|
||||
#include "http_demo_utils.h"
|
||||
@@ -278,8 +278,8 @@
|
||||
*/
|
||||
#define DELAY_BETWEEN_DEMO_RETRY_ITERATIONS_TICKS ( pdMS_TO_TICKS( 5000U ) )
|
||||
|
||||
/**
|
||||
* @brief Each compilation unit that consumes the NetworkContext must define it.
|
||||
/**
|
||||
* @brief Each compilation unit that consumes the NetworkContext must define it.
|
||||
* It should contain a single pointer to the type of your desired transport.
|
||||
* When using multiple transports in the same compilation unit, define this pointer as void *.
|
||||
*
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
#include "core_http_client.h"
|
||||
|
||||
/* Transport interface implementation include header for TLS. */
|
||||
#include "using_mbedtls.h"
|
||||
#include "transport_mbedtls.h"
|
||||
|
||||
/* Common HTTP demo utilities. */
|
||||
#include "http_demo_utils.h"
|
||||
@@ -196,8 +196,8 @@
|
||||
*/
|
||||
#define DELAY_BETWEEN_DEMO_RETRY_ITERATIONS_TICKS ( pdMS_TO_TICKS( 5000U ) )
|
||||
|
||||
/**
|
||||
* @brief Each compilation unit that consumes the NetworkContext must define it.
|
||||
/**
|
||||
* @brief Each compilation unit that consumes the NetworkContext must define it.
|
||||
* It should contain a single pointer to the type of your desired transport.
|
||||
* When using multiple transports in the same compilation unit, define this pointer as void *.
|
||||
*
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
#include "core_http_client.h"
|
||||
|
||||
/* Transport interface implementation include header for TLS. */
|
||||
#include "using_mbedtls.h"
|
||||
#include "transport_mbedtls.h"
|
||||
|
||||
/* Common HTTP demo utilities. */
|
||||
#include "http_demo_utils.h"
|
||||
@@ -166,8 +166,8 @@
|
||||
*/
|
||||
#define DELAY_BETWEEN_DEMO_RETRY_ITERATIONS_TICKS ( pdMS_TO_TICKS( 5000U ) )
|
||||
|
||||
/**
|
||||
* @brief Each compilation unit that consumes the NetworkContext must define it.
|
||||
/**
|
||||
* @brief Each compilation unit that consumes the NetworkContext must define it.
|
||||
* It should contain a single pointer to the type of your desired transport.
|
||||
* When using multiple transports in the same compilation unit, define this pointer as void *.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user