Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let users select from different buffer sizes. #30

Closed
256dpi opened this issue Apr 1, 2016 · 3 comments
Closed

Let users select from different buffer sizes. #30

256dpi opened this issue Apr 1, 2016 · 3 comments

Comments

@256dpi
Copy link
Owner

256dpi commented Apr 1, 2016

As the underlying library is using templates to manage buffers we cannot just use any size dynamically.
To allow some freedom, we can integrate specific sizes the user can choose from:

client.use64Bytes();
client.use128Bytes(); // default
client.use256Bytes();
client.use512Bytes();
@256dpi
Copy link
Owner Author

256dpi commented Jan 26, 2017

Another possible solution would be to provide a AdvancedMQTTClient that uses template variables for advanced customization and usage:

AdvancedMQTTClient<256> client;

@256dpi 256dpi added this to the v2 milestone Jan 26, 2017
@markrad
Copy link

markrad commented Apr 25, 2017

+1 for this. The buffer is too small for my purposes.

@256dpi 256dpi mentioned this issue Apr 26, 2017
Merged
11 tasks
@256dpi
Copy link
Owner Author

256dpi commented Apr 26, 2017

This is beeing addressed in #59.

@256dpi 256dpi closed this as completed Apr 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants