-
Notifications
You must be signed in to change notification settings - Fork 70
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
Write a frame #28
Comments
The injector is not a slave. It sits on the bus between the master and
slave(s) and once in a while manipulate data bits passing through.
Writing a slave is very possible (depending on your coding skills) but a
different project. ;-)
…On Tue, Feb 12, 2019 at 6:56 AM Thefirstalpha ***@***.***> wrote:
I've just discovered the LIN last week and I don't understand how can I
write a frame using the injector part. Is it possible for a slave to write?
Can someone help me?
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#28>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACFWQYi4Ncycmbmy_SwP7QMneH6kjQ0hks5vMtYfgaJpZM4a2lJw>
.
|
Ok, thanks for your response. |
In a linbus, only slaves send data. The send commands in the form 'slave X,
please send your data', each time to a different slave and that slave
response with its data which can be read by all other slaves connected to
the bus.
The injector is connected such that one slave is connected on one side and
the rest of the slaves are on the other side. This allows the injector to
1) read the data from all slaves and 2) change the data the one slave send
to the other slaves (it's a Man In The Middle attack).
I wouldn't use the injector code for writing a slave since it was designed
as a repeater, not something that generates data on its own, and it's code
is over complicated for a simple slave.
…On Wed, Feb 13, 2019 at 6:35 AM Thefirstalpha ***@***.***> wrote:
Ok, thanks for your response.
So if I understand, the injector read the Rx from the master bus, then it
writes the same data on the Rx of the slave bus (or the opposite)? If that
it's correct, can you show me which lines or files are doing the writing
part on the other bus?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#28 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ACFWQTLLzGH9fb2dF07Y3D5Q0kUPl_O-ks5vNCK-gaJpZM4a2lJw>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I've just discovered the LIN last week and I don't understand how can I write a frame using the injector part. Is it possible for a slave to write? Can someone help me?
Thanks
The text was updated successfully, but these errors were encountered: