Using aws-iot-device-sdk-cpp as static lib in C project #206
-
I have a project written in C99 and wonder if I can use this (c++) SDK in it (e.g. to include Is this possible/recommended use? Previously, I used aws-iot-device-sdk-embedded-c library in my project, but as it is not thread-safe, I need to add a wrapper around it (e.g. coreMQTT-Agent). |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
The v2 C++ SDK (https://github.com/aws/aws-iot-device-sdk-cpp-v2) includes aws-c-iot in it. This SDK is in maintenance mode and has no relation to the C++ CRT or the v2 SDK. As for thread safety, the v2 SDK should be thread safe (for a certain definition of thread-safe). This SDK is not. |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
The v2 C++ SDK (https://github.com/aws/aws-iot-device-sdk-cpp-v2) includes aws-c-iot in it. This SDK is in maintenance mode and has no relation to the C++ CRT or the v2 SDK.
As for thread safety, the v2 SDK should be thread safe (for a certain definition of thread-safe). This SDK is not.