Status of QOS

Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Locked
User avatar
rdagger
 
Posts: 88
Joined: Mon Nov 30, 2015 5:44 pm

Status of QOS

Post by rdagger »

I see several posts stating that only qos=0 is supported for publishing and only qos=0 & qos=1 are supported for subscribing. Is this still true?

When I subscribe to an Adafruit IO feed with qos=2 it does not throw an error. Also, when the onsubscribe method fires it returns a granted_qos parameter of 2.

User avatar
jwcooper
 
Posts: 1004
Joined: Tue May 01, 2012 9:08 pm

Re: Status of QOS

Post by jwcooper »

IO supports qos 0 and 1, but not 2.

User avatar
rdagger
 
Posts: 88
Joined: Mon Nov 30, 2015 5:44 pm

Re: Status of QOS

Post by rdagger »

I suggest the granted_qos parameter should return the correct value or an unsupported error should be raised.

User avatar
jwcooper
 
Posts: 1004
Joined: Tue May 01, 2012 9:08 pm

Re: Status of QOS

Post by jwcooper »

What MQTT client library are you using?

User avatar
rdagger
 
Posts: 88
Joined: Mon Nov 30, 2015 5:44 pm

Re: Status of QOS

Post by rdagger »

jwcooper wrote: Mon Nov 14, 2022 3:47 pm What MQTT client library are you using?
adafruit_minimqtt

Locked
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.

Return to “Internet of Things: Adafruit IO and Wippersnapper”