-
Notifications
You must be signed in to change notification settings - Fork 210
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
fix potential arrary overflow problem of _recvBuffer #214
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking alright, however a couple of questions remain ...
make the code eaiser to read Co-authored-by: Alexander Entinger <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, however you could have left the debug message. (Possibly reinsert it?) I was just critical of the indentation, which seemed too much to me.
Thank you for your reply.It seems that it's better to keep the debug msg.I just restore the code of it.I agree with your suggestion to delete the "continue;". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @bigbearishappy 🚀
I find that when I use my nano 33 ble with this BLE lib.
Sometimes when I use the demo project ScanCallback.ino,
my program freezes because of the overflow of _recvBuffer.