From 8e074f2a09afdd6095345b8af80a3f8981b0b88e Mon Sep 17 00:00:00 2001 From: Tianming Chen Date: Wed, 4 May 2022 11:13:59 -0700 Subject: [PATCH] Added param for OTA E2E test --- .../test_execution_config_template.h | 8 +++++- config_template/test_param_config_template.h | 25 +++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/config_template/test_execution_config_template.h b/config_template/test_execution_config_template.h index 0e6a2c7..a802f76 100644 --- a/config_template/test_execution_config_template.h +++ b/config_template/test_execution_config_template.h @@ -40,12 +40,18 @@ * #define TRANSPORT_INTERFACE_TEST_ENABLED (0) */ -/** +/** * @brief Configuration to enable the OTA PAL test. * * #define OTA_PAL_TEST_ENABLED (0) */ +/** + * @brief Configuration to enable the OTA End-to-end test. + * + * #define OTA_E2E_TEST_ENABLED (0) + */ + /** * @brief Configuration to enable the corePKCS11 test. * diff --git a/config_template/test_param_config_template.h b/config_template/test_param_config_template.h index ed5dd65..58e9360 100644 --- a/config_template/test_param_config_template.h +++ b/config_template/test_param_config_template.h @@ -281,4 +281,29 @@ * #define PKCS11_TEST_LABEL_ROOT_CERTIFICATE pkcs11configLABEL_ROOT_CERTIFICATE */ +/** + * @brief The IoT Thing name for the device for OTA test. + * + * #define OTA_IOT_THING_NAME "PLACE_HOLDER" + */ + +/** + * @brief Major version for OTA E2E test. + * + * #define OTA_APP_VERSION_MAJOR 0 + */ + +/** + * @brief Major version for OTA E2E test. + * + * #define OTA_APP_VERSION_MINOR 9 + */ + +/** + * @brief Major version for OTA E2E test. + * + * #define OTA_APP_VERSION_BUILD 1 + */ + + #endif /* TEST_PARAM_CONFIG_H */