Is MQTT Internet iolibrary complete?
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: Is MQTT Internet iolibrary complete?
by louis ·
Hi,
Did you ask about QoS settings?
If you look inside the file MQTTClient.c in the library,
There is a cycle function. You can set QoS in the function as shown in the following figure.
Thank you.
RE: Is MQTT Internet iolibrary complete?
by sam zozis ·
Hi Louis,
Yes, I asked about QoS, but that is not my point.
I saw the cycle function, but it seems like this function does not handle all the potential cases that can happen. For example, for QoS 2 messages, I cannot see code in the cycle function that handles re-transmission of publish message if the client does not receive a PUBREC packet after a certain amount of time (timeout).
Sam