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

excessive use of memory #4

Open
giangino69 opened this issue May 29, 2022 · 2 comments
Open

excessive use of memory #4

giangino69 opened this issue May 29, 2022 · 2 comments

Comments

@giangino69
Copy link

Hello

first of all I thank you for the excellent work, but I realized that the scanBLE after some time takes up all the esp32 memory, which then freezes. To solve the problem I used a different library (https://github.com/h2zero/NimBLE-Arduino) which also possesses the function "pBLEScan-> setMaxResults (0)" which do not store the scan results, use callback only.
By doing this the program is more stable. If you are interested, I'll post the sketch

@ra6070
Copy link
Owner

ra6070 commented Jun 3, 2022

Hi Giangino,
I would love to see your imnplementation!
Thanks in advance!

@giangino69
Copy link
Author

TPMS_reader2_1_01_DualCoreout.zip

Hello

I am attaching the complete file, the solution provides the possibility by typing "menu" on the serial monitor to configure the IDs of two TPMS without having to recompile the program. once my esp32 has collected the information, it retransmits them via serial to a second device. everything is commented in Italian but the program is the "son" of your work and you shouldn't have any problems understanding it

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