quartiq / minimq

Minimal no_std MQTT v5.0 client implementation
MIT License
143 stars 16 forks source link

Respect server wildcard subscription availability #138

Closed ryan-summers closed 1 year ago

ryan-summers commented 1 year ago

The server will indicate if wildcard subscriptions are supported in the CONNACK. If it doesn't support them, we should not transmit subscription requests with wildcards.

If we subscribe with a wild card when they are not supported, the server should disconnect us. It would be good to generate an error if someone tries to subscribe when the server doesn't support specific types of subscriptions.

ryan-summers commented 1 year ago

Closing - it's not clear that this benefits the library at all, as the end result is likely the same for a user application.