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

btm_pm_proc_mode_change causes disconnect (IDFGH-14563) #15322

Open
3 tasks done
mitchellcairns opened this issue Feb 3, 2025 · 0 comments
Open
3 tasks done

btm_pm_proc_mode_change causes disconnect (IDFGH-14563) #15322

mitchellcairns opened this issue Feb 3, 2025 · 0 comments
Labels
Status: Opened Issue is new Type: Bug bugs in IDF

Comments

@mitchellcairns
Copy link

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF 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.

IDF version.

master

Espressif SoC revision.

ESP32-WROOM

Operating System used.

Windows

How did you build your project?

VS Code IDE

If you are using Windows, please specify command line type.

None

Development Kit.

Custom Board

Power Supply used.

USB

What is the expected behavior?

When the sniff/unsniff commands are sent (Host device is a Nintendo Switch here), the HID/ACL connections are severed.

What is the actual behavior?

Simply disabling the btm_pm_proc_mode_change function by performing an early return causes this issue to go away.

I'm not sure if there's a custom HCI command that is being misinterpreted as sniff/unsniff, but these are common commands and it seems like something is not right here with how the commands are being handled.

Image

Steps to reproduce.

I'm not sure if there will be a simple way to reproduce this. I'm open to ideas, if there's another setup where we can test the sniff/unsniff commands in the context of a Bluetooth HID device.

Debug Logs.


More Information.

No response

@mitchellcairns mitchellcairns added the Type: Bug bugs in IDF label Feb 3, 2025
@github-actions github-actions bot changed the title btm_pm_proc_mode_change causes disconnect btm_pm_proc_mode_change causes disconnect (IDFGH-14563) Feb 3, 2025
@espressif-bot espressif-bot added the Status: Opened Issue is new label Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Opened Issue is new Type: Bug bugs in IDF
Projects
None yet
Development

No branches or pull requests

2 participants