-
Notifications
You must be signed in to change notification settings - Fork 843
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
BLE Scan Window Ignored, BLESCANPARAM #857
Comments
AT+GMR response:
|
I have also seen this issue on v3.2.0.0 with the ESP-WROOM-32 It is clear that both the scan interval and scan window are only applied when the BLE module is de-initialised ( |
On v3.4.0.0, applying the scan parameters while BLE is de-initialized returns an ERROR TX: AT+BLEINIT=0 |
@Peter-B4321 to work around this issue you will need to apply the new parameters, then de-initialise BLE before initialising it again. |
We have successfully reproduced the issue locally. We will need some time to analyze it and will get back to you with the results shortly. Thank you very much for reporting this issue. |
Answers checklist
ESP-AT version
3.4.0.0
Operating System used
Linux
If you are using Windows, please specify command line type.
None
What is the expected behavior?
Scan for the window and wait the interval.
For example, AT+BLESCANPARAM=1,0,0,16000,1600
The command should scan for 1s and then wait 9s.
What is the actual behavior?
Scanning is constant without breaks.
Steps to reproduce
AT+BLEINIT=1
AT+BLESCANPARAM=1,0,0,16000,1600
AT+BLESCAN=1,0
Then, look at the scan results.
Build or installation Logs
More Information
Happens on multiple devices.
The text was updated successfully, but these errors were encountered: