Replies: 1 comment
-
Are you sure your code blocks on the On the other hand, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using the sample CPP code given AWS SDK Documentation (below) - to connected to Nucleus and do IPC PublishToIoTCore.
When network connection don't exist or IoT core connection don't exist, then this line
auto response = responseFuture.get();
blocks thread indefinitely.I would need to be able to publish a number of messages to IoT core and only have limited number of threads. In the no-network-connection scenario how could I ensure, thread doesn't block, or check for IoT core connected or not using aws-sdk and then initiate publish messages to iot core.
Any help greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions