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

HCI Command SetEventFilter shouldn't cause netsimd to terminate #22

Open
akuker opened this issue Feb 12, 2024 · 1 comment
Open

HCI Command SetEventFilter shouldn't cause netsimd to terminate #22

akuker opened this issue Feb 12, 2024 · 1 comment

Comments

@akuker
Copy link

akuker commented Feb 12, 2024

Reference: #17 (comment)

In the current implementation of netsimd (approx version 0.2.11), when a SetEventFilter Bluetooth HCI command is issued, and it is not "Clear all filters", netsimd will terminate. Our use case uses this HCI command, so netsimd will terminate in the middle of our simulation.

Could rootcanal/netsimd be updated to support this HCI command or at least ignore it?

@akuker
Copy link
Author

akuker commented Feb 12, 2024

Note: when using the Bumble HCI bridge, this can be worked around by adding the SetEventFilter command (OGF 0x03 OCF 0x0005) to the short circuit list at the end of the command.

For example:

bumble-hci-bridge tcp_server:127.0.0.1:9000 android-netsim 0x03:0005

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

1 participant