-
Notifications
You must be signed in to change notification settings - Fork 118
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
Optimization? #16
Comments
Why? what makes |
Btw @toncho11, don't open an issue for each answer :) |
Sorry. I need a forum or e-mail. I need a realtime execution (or as fast as possible) for a medical experiment, so that is why I need to understand if there is a better way. |
If you use the loop for all the work, you will obtain worse results since the main loop is blocking other processes and consuming high cpu cycles. Using a the Anyway, I'm not an expert so I recommend you to explore and ask in the official forums https://bbs.espressif.com/search.php?keywords=sdk_wifi_set_promiscuous_rx_cb&sid=19e580006660c7ec05cc11e72b6a469f |
Then you need to get out of the Arduino ecosystem and write a proper interrupt driven state machine. You're NEVER going to get deterministic functionality out of polled IO and blocking functions like |
Hi,
Is sdk_wifi_promiscuous_enable the best way to handle all incoming packages. Isn't it better to handle the packages in the loop of the Arduino program somehow?
The text was updated successfully, but these errors were encountered: