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

Increase size for password/username #13

Open
cimba007 opened this issue Nov 15, 2017 · 4 comments
Open

Increase size for password/username #13

cimba007 opened this issue Nov 15, 2017 · 4 comments
Assignees
Milestone

Comments

@cimba007
Copy link

cimba007 commented Nov 15, 2017

Would it be possible to increase password/username size form 16 to 32 bytes?

One remark:

#define MQTT_MAX_PACKET_SIZE 512 //This one is not working have to check it

This has to be manually changed on

D:\Users\Jinja\Documents\Arduino\libraries\PubSubClient\src\PubSubClient.h
@jkandasa
Copy link
Member

@cimba007

Would it be possible to increase password/username size from 16 to 32 bytes?

Yes, it is possible, I will update

#define MQTT_MAX_PACKET_SIZE 512 //This one is not working have to check it

Yes, this is known the issue. I do not know how to pass this change from MyConfig.h to PubSubClient

@cimba007
Copy link
Author

From my limited knowledge about makros it seems that it is not possible. I see no problem to directly edit it in the PubSubClient config file.

@jkandasa
Copy link
Member

@cimba007 When I increase this username and password size to 32 bytes, will cause to reconfigure all the existing running devices. Is that fine?

@jkandasa jkandasa self-assigned this Nov 20, 2017
@jkandasa jkandasa added this to the 1.1.0 milestone Nov 20, 2017
@cimba007
Copy link
Author

cimba007 commented Nov 20, 2017 via email

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