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

Not a real issue - uninitialized variable #31

Closed
gimbus109 opened this issue Dec 16, 2022 · 1 comment
Closed

Not a real issue - uninitialized variable #31

gimbus109 opened this issue Dec 16, 2022 · 1 comment

Comments

@gimbus109
Copy link

Hello, as stated in the title - it's not an issue, but is a bit annoying: the library compiles smoothly under Arduino Ide, but under Visual Studio with VisualMicro extension got an error in publish method. The source of that error is in uninitialized variable packet id. It's then set if QoS > 0, if QoS=0 remains uninitialized. Assigning any value to it doesn't disturb anything - pocketid is used (in the next step in the library) only if QoS>0, but mitigates annoying compiler errors.
And -last but not least - thank You for that library, I've been testing it for some time with SIM868 GSM module and it works great.

gimbus109

monstrenyatko added a commit that referenced this issue Oct 9, 2024
@monstrenyatko
Copy link
Owner

@gimbus109 , thank you for highlighting the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants