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

AT+BLESCAN error, with name/mac filter. release/4.0.0.0 with ble command support #815

Open
3 tasks done
F1RST1 opened this issue Mar 20, 2024 · 5 comments
Open
3 tasks done
Labels
Awaiting Response awaiting a response from the author

Comments

@F1RST1
Copy link

F1RST1 commented Mar 20, 2024

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.

General issue report

image

repo: https://github.com/F1RST1/esp-at

@F1RST1
Copy link
Author

F1RST1 commented Mar 20, 2024

chip type: esp32-c2

@F1RST1
Copy link
Author

F1RST1 commented Mar 25, 2024

Hello. @xcguang @ustccw
Could you guys help me?
I tried the Actions artifact and there is still error.

https://github.com/espressif/esp-at/actions/runs/8359432201
esp32c2-ble-2mb-at

@Luxin812
Copy link
Contributor

@F1RST1 thank you very much for asking this issue. I've reproduced it locally and will have a fix soon.

@F1RST1
Copy link
Author

F1RST1 commented Apr 8, 2024

@Luxin812
By the way, as I know, the implementation of filtering by name is fully comparison. Could yout please change it to partical compare? I meant using function like strstr instead of strcmp.

@Luxin812
Copy link
Contributor

Luxin812 commented Apr 9, 2024

The latest master branch has fixed the problem of BLE returning ERROR when scanning the specified name and mac. You can download the latest firmware to test it.

By the way, as I know, the implementation of filtering by name is fully comparison. Could yout please change it to partical compare? I meant using function like strstr instead of strcmp.
Maybe you can use the AT+BLESCAN command without filtering. Use the AT+SYSMSGFILTERCFG command to filter. You can study this command:
Command reference: https://docs.espressif.com/projects/esp-at/en/latest/esp32c2/AT_Command_Set/Basic_AT_Commands.html#at-sysmsgfiltercfg-query-set-the-system-message-filters
Example reference: https://docs.espressif.com/projects/esp-at/en/latest/esp32/AT_Command_Examples/at_msg_resp_fmt_ctrl_examples.html#at-response-message-format-control-examples

@ustccw ustccw added the Awaiting Response awaiting a response from the author label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Response awaiting a response from the author
Projects
None yet
Development

No branches or pull requests

3 participants