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.
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.
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
- jwcooper
- Posts: 1004
- Joined: Tue May 01, 2012 9:08 pm
Re: Status of QOS
IO supports qos 0 and 1, but not 2.
- rdagger
- Posts: 88
- Joined: Mon Nov 30, 2015 5:44 pm
Re: Status of QOS
I suggest the granted_qos parameter should return the correct value or an unsupported error should be raised.
- jwcooper
- Posts: 1004
- Joined: Tue May 01, 2012 9:08 pm
Re: Status of QOS
What MQTT client library are you using?
- rdagger
- Posts: 88
- Joined: Mon Nov 30, 2015 5:44 pm
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.