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

Custom request, and recv full data message #16

Open
Mebius84 opened this issue Jun 12, 2019 · 1 comment
Open

Custom request, and recv full data message #16

Mebius84 opened this issue Jun 12, 2019 · 1 comment

Comments

@Mebius84
Copy link

Good day! I need to send my own requests through Iso9141 at a speed of 4800 baud, is it possible with the help of your library?

Set the request header and send / receive data. my car works on its own protocol Subaru select monitor (ssm2), it is physically identical to ISO9141, but the method of obtaining data is different, instead of PID, I need to request reading from the address and parse the answer myself.

@iwanders
Copy link
Owner

Hey, what you need should all be possible.

You should be able to change the baud rate here.

the method of obtaining data is different, instead of PID, I need to request reading from the address and parse the answer myself.

You can probably get this to work by calling the request() method yourself, take a look at how getPID works, you can access the full data from the response through the readBuffer method. Let me know if this works for you, if you needed to modify more things to add flexibility to support your requirements feel free to send a PR this way. If you don't, I'd still like to hear whether you got it to work, good luck :)

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

2 participants