Skip to content

How long it take for onSubAck callback to invoke incase of there is issue with the network or incase of any other issue #661

Answered by bretambrose
niranjankk12 asked this question in Q&A
Discussion options

You must be logged in to vote
  1. The wait is unbounded unless you set an ack timeout when connecting: https://github.com/awslabs/aws-crt-cpp/blob/main/include/aws/crt/mqtt/MqttConnection.h#L257
  2. 0 means failure and no callback will ever be invoked.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jmklix
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants