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

Remove Filter from sniff mode #193

Open
m1iles opened this issue Dec 6, 2023 · 1 comment
Open

Remove Filter from sniff mode #193

m1iles opened this issue Dec 6, 2023 · 1 comment

Comments

@m1iles
Copy link

m1iles commented Dec 6, 2023

Hi,
is there a way to remove any Filter from sniffing mode. I want to be able to monitor all of the traffic on the can bus not just the ones with the header 7E*. Becuse data like this won't help:
[47763] 00 00 07 E9 08 06 41 00 98 18 00 01
[55263] 00 00 07 E9 08 06 41 00 98 18 00 01
[59762] 00 00 07 E8 08 06 41 00 98 1B A0 13
[64262] 00 00 07 E8 08 06 41 00 98 1B A0 13
[67263] 00 00 07 E9 08 06 41 00 98 18 00 01
[70262] 00 00 07 E8 08 06 41 00 98 1B A0 13
[71763] 00 00 07 E9 08 06 41 00 98 18 00 01
[74762] 00 00 07 E8 08 06 41 00 98 1B A0 13
[79262] 00 00 07 E8 08 06 41 00 98 1B A0 13
[82263] 00 00 07 E8 08 06 41 00 98 1B A0 13
[86763] 00 00 07 E8 08 06 41 00 98 1B A0 13
Thank you in advance.

@m1iles
Copy link
Author

m1iles commented Dec 6, 2023

Maybe I should I add a few steps I tried to remove the filter:
remove the obd.setHeaderFilter() and obd.setHeaderMask() functions.
Changed the filter functions to the following:
obd.setHeaderFilter(0x000);
obd.setHeaderMask(0x7FF);
also removed the code in the library in case it gets called by a different function with a default value of some sort.

None of this removed the filter.

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