-
Notifications
You must be signed in to change notification settings - Fork 804
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
rationalisation of logs and removal of duplicate codes (it should fix also #931) #1093
rationalisation of logs and removal of duplicate codes (it should fix also #931) #1093
Conversation
One next step could be to rework the pubMQTT calls leveraging the toChar functions added. |
Unfortunately the problem is in the to_char because: if I put the prefix "static char xxx[yy]" they are not thread safe, but if I don't put it they are subject to the stack clean when the function exits. |
4c36ff9
to
c0bdcd0
Compare
@1technophile I've updated the code but had to put it back inline. I agree with you to make a review of the 30 or so versions of pubMQTT, maybe it would be useful to create an ad hoc class (maybe an extension of "client") that also manages the connection. |
Indeed It would be interesting to have something more modular and that can be extended to further protocols |
Could you rebase it from development please, and I think we are good to go |
@1technophile I have a problem now... the current development branch for me is out of size
I have this configuration
do you have suggestion? |
Maybe by identifying the difference with this one, |
0dab0b3
to
24ec23f
Compare
@1technophile fixed, just used ${com-esp.build_flags} instead of ${env:esp32dev-all-test.build_flags} |
Thanks |
Description:
Rationalisation of logs with removal of duplicate codes (it should fix also #931)
Checklist: