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

Update to support MSCAN #4

Open
modz2014 opened this issue Nov 23, 2024 · 1 comment
Open

Update to support MSCAN #4

modz2014 opened this issue Nov 23, 2024 · 1 comment

Comments

@modz2014
Copy link

modz2014 commented Nov 23, 2024

Hey this needs to be updated to support MSCAN as it won't set the protocol at all even though I have set it

 {
     var setProtocolResult = await MyOBDXScantool.SetOBDProtocol(Protocols.MSCAN);
     if (setProtocolResult.Item1 != Errors.Success)
     {
         AppendToLog("Failed to set MSCAN protocol.");
         await MyOBDXScantool.Disconnect();
         return;
     }

     var setFilterResult = await MyOBDXScantool.CANCommands.SetRxFilterEntire(0, new CAN_Class.Filter(0x7E8, 0x7FF, 0x7E0, 0, 1, 1));
     if (setFilterResult.Item1 != Errors.Success)
     {
         AppendToLog("Failed to set MSCAN filter.");
         await MyOBDXScantool.Disconnect();
         return;
     }
@modz2014
Copy link
Author

i also notice you cant switch between protocols either unless you disconnect the device form usb

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