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

+BLESCANDONE can be sent many times at the end of a scan #862

Open
3 tasks done
JHedgesBartec opened this issue Aug 6, 2024 · 2 comments
Open
3 tasks done

+BLESCANDONE can be sent many times at the end of a scan #862

JHedgesBartec opened this issue Aug 6, 2024 · 2 comments

Comments

@JHedgesBartec
Copy link

Answers checklist

  • I have read the documentation ESP-AT Programming Guide and the issue is not addressed there.
  • I have used the latest released firmware or have updated my ESP-AT branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

AT+GMR

Using Master compiled with additional non BLE commands

AT+GMR
AT+GMR
AT version:3.5.0.0-dev(s-0f91d98 - ESP32 - Jul 19 2024 02:59:04)
SDK version:v5.0.6-dirty
compile time(5d1f30af):Aug  5 2024 12:39:27
Bin version:v4.0.0.0(WROOM-32)

OK

Also seen on release/v3.2.0.0

ESP-AT Firmware Source

GitHub master or release/v3.2.0.0 branches.
Custom compiled with added user commands not related to BLE.

Hardware Information

ESP-WROOM-32

Power Supply used

USB

What is the expected behavior?

Only send a single +BLESCANDONE response message

What is the actual behavior?

Can send many +BLESCANDONE response messages

Probability of recurrence

Issue is intermittent, though seen most when using time limited scans (1 or 2 seconds) in a busy environment.

AT+SYSRAM?

AT+SYSRAM?
AT+SYSRAM?
+SYSRAM:63648,60284
OK

Steps to reproduce

Initialise BLE as Client, set parameters to use a passive scan and scan for devices for 1 or 2 seconds in a busy environment

AT command port output

AT+BLEINIT=1
AT+BLEINIT=1

OK
AT+BLESCAN=1,2
AT+BLESCAN=1,2

OK
+BLESCAN:"5d:4f:00:87:9d:75",-53,<data_removed>,,1
+BLESCAN:"15:ac:30:a3:73:cb",-67,<data_removed>,,1
+BLESCAN:"61:c6:7f:a3:fb:cc",-69,<data_removed>,,1
+BLESCAN:"41:0e:b1:c2:8a:f8",-80,<data_removed>,,1
+BLESCAN:"0b:a5:e7:ea:a5:ea",-80,<data_removed>,,1
+BLESCAN:"60:ff:4a:52:96:cd",-92,<data_removed>,,1
+BLESCAN:"41:4a:f6:05:6e:05",-85,<data_removed>,,1
+BLESCAN:"5b:77:8a:e6:b5:7c",-84,<data_removed>,,1
+BLESCAN:"54:44:a3:08:0e:85",-91,<data_removed>,,0
+BLESCAN:"15:ac:30:a3:73:cb",-67,<data_removed>,,1
+BLESCAN:"5d:4f:00:87:9d:75",-53,<data_removed>,,1
+BLESCAN:"6b:77:3c:6e:16:36",-61,<data_removed>,,1
+BLESCAN:"74:93:47:c2:5f:5b",-82,<data_removed>,,1
+BLESCAN:"40:68:f3:91:86:7d",-78,<data_removed>,,1
+BLESCAN:"0b:a5:e7:ea:a5:ea",-70,<data_removed>,,1
+BLESCAN:"51:e7:e8:b0:bc:c3",-75,<data_removed>,,1
+BLESCAN:"15:ac:30:a3:73:cb",-79,<data_removed>,,1
+BLESCAN:"41:0e:b1:c2:8a:f8",-87,<data_removed>,,1
+BLESCAN:"5d:4f:00:87:9d:75",-77,<data_removed>,,1
+BLESCAN:"5a:2d:ea:f5:7c:e2",-86,<data_removed>,,1
+BLESCAN:"08:0d:81:67:f7:b3",-83,<data_removed>,,1
+BLESCAN:"7d:06:6e:80:b9:8b",-83,<data_removed>,,1
+BLESCAN:"4b:84:b4:57:4d:2f",-61,<data_removed>,,1
+BLESCAN:"19:25:5a:75:60:7d",-77,<data_removed>,,1
+BLESCAN:"0b:a5:e7:ea:a5:ea",-79,<data_removed>,,1
+BLESCAN:"60:ff:4a:52:96:cd",-92,<data_removed>,,1
+BLESCAN:"5d:4f:00:87:9d:75",-52,<data_removed>,,1
+BLESCAN:"15:ac:30:a3:73:cb",-67,<data_removed>,,1
+BLESCAN:"6b:77:3c:6e:16:36",-61,<data_removed>,,1
+BLESCAN:"74:93:47:c2:5f:5b",-83,<data_removed>,,1
+BLESCAN:"9b:ca:b4:c4:e8:29",-78,<data_removed>,,0
+BLESCAN:"0b:a5:e7:ea:a5:ea",-70,<data_removed>,,1
+BLESCAN:"15:ac:30:a3:73:cb",-76,<data_removed>,,1
+BLESCAN:"5d:4f:00:87:9d:75",-76,<data_removed>,,1
+BLESCAN:"74:93:47:c2:5f:5b",-82,<data_removed>,,1
+BLESCAN:"f3:d2:98:ae:1c:76",-86,<data_removed>,,1
+BLESCAN:"4b:84:b4:57:4d:2f",-60,<data_removed>,,1
+BLESCAN:"74:93:47:c2:5f:5b",-88,<data_removed>,,1
+BLESCAN:"f9:64:8e:00:dd:62",-67,<data_removed>,,1
+BLESCAN:"54:ff:62:23:c2:f5",-89,<data_removed>,,1
+BLESCAN:"41:0e:b1:c2:8a:f8",-84,<data_removed>,,1
+BLESCAN:"15:ac:30:a3:73:cb",-67,<data_removed>,,1
+BLESCAN:"0b:a5:e7:ea:a5:ea",-81,<data_removed>,,1
+BLESCAN:"5d:4f:00:87:9d:75",-53,<data_removed>,,1
+BLESCAN:"40:68:f3:91:86:7d",-77,<data_removed>,,1
+BLESCAN:"74:93:47:c2:5f:5b",-82,<data_removed>,,1
+BLESCAN:"15:ac:30:a3:73:cb",-78,<data_removed>,,1
+BLESCAN:"0b:a5:e7:ea:a5:ea",-71,<data_removed>,,1
+BLESCAN:"38:f0:c8:06:06:6b",-86,<data_removed>,,0
+BLESCAN:"40:68:f3:91:86:7d",-83,<data_removed>,,1
+BLESCAN:"71:a7:b4:63:11:45",-67,<data_removed>,,1
+BLESCAN:"71:a7:b4:63:11:45",-75,<data_removed>,,1
+BLESCAN:"64:fe:af:d2:8d:3d",-62,<data_removed>,,1
+BLESCAN:"5b:77:8a:e6:b5:7c",-88,<data_removed>,,1
+BLESCAN:"0b:a5:e7:ea:a5:ea",-72,<data_removed>,,1
+BLESCAN:"74:93:47:c2:5f:5b",-93,<data_removed>,,1
+BLESCAN:"08:0d:81:67:f7:b3",-76,<data_removed>,,1
+BLESCAN:"22:6d:19:55:fd:4a",-71,<data_removed>,,1
+BLESCAN:"4b:84:b4:57:4d:2f",-67,<data_removed>,,1
+BLESCAN:"7d:06:6e:80:b9:8b",-76,<data_removed>,,1
+BLESCAN:"28:92:ab:3b:a1:9b",-86,<data_removed>,,1
+BLESCAN:"74:93:47:c2:5f:5b",-91,<data_removed>,,1
+BLESCAN:"19:25:5a:75:60:7d",-71,<data_removed>,,1
+BLESCAN:"53:97:b3:36:00:18",-86,<data_removed>,,1
+BLESCAN:"40:68:f3:91:86:7d",-74,<data_removed>,,1
+BLESCAN:"74:93:47:c2:5f:5b",-89,<data_removed>,,1
+BLESCAN:"0b:a5:e7:ea:a5:ea",-78,<data_removed>,,1
+BLESCAN:"51:e7:e8:b0:bc:c3",-80,<data_removed>,,1
+BLESCAN:"74:93:47:c2:5f:5b",-83,<data_removed>,,1
+BLESCAN:"41:0e:b1:c2:8a:f8",-94,<data_removed>,,1
+BLESCAN:"53:97:b3:36:00:18",-84,<data_removed>,,1
+BLESCAN:"40:68:f3:91:86:7d",-79,<data_removed>,,1
+BLESCAN:"0b:a5:e7:ea:a5:ea",-77,<data_removed>,,1
+BLESCAN:"60:ff:4a:52:96:cd",-93,<data_removed>,,1
+BLESCAN:"61:c6:7f:a3:fb:cc",-69,<data_removed>,,1
+BLESCAN:"5d:4f:00:87:9d:75",-53,<data_removed>,,1
+BLESCAN:"28:92:ab:3b:a1:9b",-87,<data_removed>,,1
+BLESCAN:"74:93:47:c2:5f:5b",-94,<data_removed>,,1
+BLESCAN:"71:a7:b4:63:11:45",-67,<data_removed>,,1
+BLESCAN:"4b:84:b4:57:4d:2f",-67,<data_removed>,,1
+BLESCAN:"22:6d:19:55:fd:4a",-71,<data_removed>,,1
+BLESCAN:"19:25:5a:75:60:7d",-72,<data_removed>,,1
+BLESCAN:"51:e7:e8:b0:bc:c3",-75,<data_removed>,,1
+BLESCAN:"7d:06:6e:80:b9:8b",-80,<data_removed>,,1
+BLESCAN:"40:68:f3:91:86:7d",-79,<data_removed>,,1
+BLESCAN:"19:25:5a:75:60:7d",-77,<data_removed>,,1
+BLESCAN:"7d:06:6e:80:b9:8b",-83,<data_removed>,,1
+BLESCAN:"0b:a5:e7:ea:a5:ea",-75,<data_removed>,,1
+BLESCAN:"15:ac:30:a3:73:cb",-67,<data_removed>,,1
+BLESCAN:"71:a7:b4:63:11:45",-68,<data_removed>,,1
+BLESCAN:"67:d9:6d:75:9f:ba",-77,<data_removed>,,1
+BLESCAN:"49:a7:4f:45:e8:aa",-87,<data_removed>,,1
+BLESCAN:"5d:4f:00:87:9d:75",-53,<data_removed>,,1
+BLESCAN:"08:0d:81:67:f7:b3",-74,<data_removed>,,1
+BLESCAN:"f2:2c:a7:2c:43:03",-78,<data_removed>,,1
+BLESCAN:"6b:77:3c:6e:16:36",-61,<data_removed>,,1
+BLESCAN:"22:6d:19:55:fd:4a",-71,<data_removed>,,1
+BLESCAN:"4b:84:b4:57:4d:2f",-66,<data_removed>,,1
+BLESCAN:"54:44:a3:08:0e:85",-90,<data_removed>,,0
+BLESCAN:"19:25:5a:75:60:7d",-71,<data_removed>,,1
+BLESCAN:"7d:06:6e:80:b9:8b",-87,<data_removed>,,1
+BLESCAN:"19:25:5a:75:60:7d",-78,<data_removed>,,1
+BLESCAN:"54:44:a3:08:0e:85",-90,<data_removed>,,0
+BLESCAN:"40:68:f3:91:86:7d",-75,<data_removed>,,1
+BLESCAN:"15:ac:30:a3:73:cb",-67,<data_removed>,,1
+BLESCAN:"61:c6:7f:a3:fb:cc",-68,<data_removed>,,1
+BLESCAN:"5d:4f:00:87:9d:75",-53,<data_removed>,,1
+BLESCAN:"08:0d:81:67:f7:b3",-74,<data_removed>,,1
+BLESCAN:"22:6d:19:55:fd:4a",-71,<data_removed>,,1
+BLESCAN:"4b:84:b4:57:4d:2f",-60,<data_removed>,,1
+BLESCAN:"4b:84:b4:57:4d:2f",-61,<data_removed>,,1
+BLESCAN:"19:25:5a:75:60:7d",-77,<data_removed>,,1
+BLESCAN:"40:68:f3:91:86:7d",-78,<data_removed>,,1
+BLESCAN:"51:e7:e8:b0:bc:c3",-77,<data_removed>,,1
+BLESCAN:"54:ff:62:23:c2:f5",-86,<data_removed>,,1
+BLESCAN:"60:ff:4a:52:96:cd",-95,<data_removed>,,1
+BLESCAN:"d4:ca:6e:b7:2f:d7",-87,<data_removed>,,0
+BLESCANDONE
+BLESCANDONE
+BLESCANDONE
+BLESCANDONE
+BLESCANDONE

AT log port output

Log output silenced to save memory - so no output.

More Information.

No response

@ustccw
Copy link
Collaborator

ustccw commented Oct 10, 2024

@Luxin812 PTAL

@Luxin812
Copy link
Contributor

@JHedgesBartec We will resolve this issue as soon as possible. Thank you very much for your feedback.

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

3 participants