quartiq / minimq

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

Removing arbitrary limit on subscription topic count #113

Closed ryan-summers closed 2 years ago

ryan-summers commented 2 years ago

This PR removes the arbitrary restriction on the maximum number of topics per subscription by instead just taking a slice to the subscription reason codes. These codes are then processed individually in the handler instead of being converted into ReasonCodes and pushed into a slice.