Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated SDK commit to use the latest SDK code #416

Merged
merged 36 commits into from
Dec 20, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
61d5485
Updated SDK commit to use the latest SDK code
HarshGandhi-AWS Jun 12, 2023
50b1f21
Addressed reviewers comments and updated unit tests to support the ch…
HarshGandhi-AWS Jun 19, 2023
1516023
Resolved indentation errors
HarshGandhi-AWS Jun 20, 2023
09af0fb
Resolved indentation errors
HarshGandhi-AWS Jun 20, 2023
d196c07
Resolved indentation errors
HarshGandhi-AWS Jun 20, 2023
b4358ef
Resolved indentation errors
HarshGandhi-AWS Jun 20, 2023
866712c
Resolved indentation errors
HarshGandhi-AWS Jun 20, 2023
d0c2eb9
update device mqtt connection logic
HarshGandhi-AWS Jun 20, 2023
a90659d
removing DC initialization code to create multiple lock files
HarshGandhi-AWS Jun 20, 2023
730d839
addressed reviewers comments to resolve test failures
HarshGandhi-AWS Jun 27, 2023
3897903
resolved unit test failure
HarshGandhi-AWS Jun 27, 2023
8e1ce2c
remove MemoryTrace unit test
HarshGandhi-AWS Jun 27, 2023
4d4a60d
resolved Lint errors
HarshGandhi-AWS Jun 27, 2023
6eb723b
explicitly calling the code in SharedCrtManager to initialize allocat…
HarshGandhi-AWS Jul 5, 2023
926147b
addressed lint errors
HarshGandhi-AWS Jul 5, 2023
f9c50fe
addressed lint errors
HarshGandhi-AWS Jul 5, 2023
0597270
addressed reviewers comment and added the config serialization test back
HarshGandhi-AWS Jul 6, 2023
676882c
Update GTestMain.cpp to not cleanup resources after testing is completed
HarshGandhi-AWS Jul 13, 2023
f357df6
Update e2e-tests-ubutu-x86 test to skip secure tunneling test
HarshGandhi-AWS Jul 14, 2023
95db8c9
Compile device client binaries as Release build type (#422)
marcoemorais-aws Aug 3, 2023
f50db70
update sdk commit again
RogerZhongAWS Aug 7, 2023
129f662
Updated code to shutdown on tunnel close callback and updated zlib de…
HarshGandhi-AWS Sep 29, 2023
d0e773d
Updated Secure Tunneling close logic for Secure Tunneling Component (…
HarshGandhi-AWS Oct 3, 2023
6ee7ff9
Added null check before closing connection (#429)
HarshGandhi-AWS Oct 11, 2023
f207eaf
fixed bug to read SIGTERM signal when sent form kernal (#430)
HarshGandhi-AWS Oct 12, 2023
af69d33
Fix docker-build.sh (#423)
RogerZhongAWS Oct 12, 2023
2efead6
Updated google-test lib version to v1.12.0 (#431)
HarshGandhi-AWS Oct 14, 2023
b75dc3a
disabled jobs and secure tunneling if they are not compiled into bina…
HarshGandhi-AWS Nov 7, 2023
0f91380
Update Dockerfile OpenSSL version (#435)
RogerZhongAWS Nov 8, 2023
00f68ce
Removed number of slash validation for MQTT topics (#438)
HarshGandhi-AWS Nov 27, 2023
7f569e9
updated SDK again
HarshGandhi-AWS Dec 5, 2023
d11c527
conflict fix
HarshGandhi-AWS Dec 5, 2023
fb58d1f
add http proxy support for secure tunneling
RogerZhongAWS Dec 11, 2023
1beb832
cleanup http proxy changes
RogerZhongAWS Dec 12, 2023
2aff02a
fix format
RogerZhongAWS Dec 12, 2023
0a3172b
fix format
RogerZhongAWS Dec 12, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt.awssdk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ project(aws-iot-device-sdk-cpp-v2-download NONE)
include(ExternalProject)
ExternalProject_Add(aws-iot-device-sdk-cpp-v2
GIT_REPOSITORY https://github.com/aws/aws-iot-device-sdk-cpp-v2.git
GIT_TAG ac3ba3774b031dde1b988e698880d6064d53b9d9
GIT_TAG b12656085b9bf1ecff1a0b8a4c7d496acc3f684f
SOURCE_DIR "${CMAKE_BINARY_DIR}/aws-iot-device-sdk-cpp-v2-src"
BINARY_DIR "${CMAKE_BINARY_DIR}/aws-iot-device-sdk-cpp-v2-build"
CONFIGURE_COMMAND ""
Expand Down
23 changes: 12 additions & 11 deletions source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,18 @@ namespace Aws

int main(int argc, char *argv[])
{
auto listener = std::make_shared<DefaultClientBaseNotifier>();
HarshGandhi-AWS marked this conversation as resolved.
Show resolved Hide resolved

features = make_shared<FeatureRegistry>();

resourceManager = std::make_shared<SharedCrtResourceManager>();

if (!resourceManager.get()->initialize(config.config, features))
{
LOGM_ERROR(TAG, "*** %s: Failed to initialize AWS CRT SDK.", DC_FATAL_ERROR);
deviceClientAbort("Failed to initialize AWS CRT SDK");
}

CliArgs cliArgs;
if (Config::CheckTerminalArgs(argc, argv))
{
Expand Down Expand Up @@ -321,8 +333,6 @@ int main(int argc, char *argv[])
LOG_WARN(TAG, "Unable to append current working directory to PATH environment variable.");
}

features = make_shared<FeatureRegistry>();

LOGM_INFO(TAG, "Now running AWS IoT Device Client version %s", DEVICE_CLIENT_VERSION_FULL);

// Register for listening to interrupt signals
Expand All @@ -333,15 +343,6 @@ int main(int argc, char *argv[])
sigaddset(&sigset, SIGHUP);
sigprocmask(SIG_BLOCK, &sigset, nullptr);

auto listener = std::make_shared<DefaultClientBaseNotifier>();
resourceManager = std::make_shared<SharedCrtResourceManager>();

if (!resourceManager.get()->initialize(config.config, features))
{
LOGM_ERROR(TAG, "*** %s: Failed to initialize AWS CRT SDK.", DC_FATAL_ERROR);
deviceClientAbort("Failed to initialize AWS CRT SDK");
}

#if !defined(EXCLUDE_FP) && !defined(DISABLE_MQTT)
if (config.config.fleetProvisioning.enabled &&
!config.config.fleetProvisioningRuntimeConfig.completedFleetProvisioning)
Expand Down