Skip to content

SDK "hides" packetsend and packetreceive #296

Answered by jmklix
alinadima asked this question in Q&A
Discussion options

You must be logged in to vote

The v2 sdk was designed so to handle the packetsend and packetreceive for you with the available options provided by AWS IoT. You can expect the persistent session to behave as described in the docs:

Whether or not to start a clean session with each reconnect. If True, the server will forget all subscriptions with each reconnect. Set False to request that the server resume an existing session or start a new session that may be resumed after a connection loss. The session_present bool in the connection callback informs whether an existing session was successfully resumed. If an existing session is resumed, the server remembers previous subscriptions and sends mesages (with QoS1 or higher)…

Replies: 2 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
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