-
Notifications
You must be signed in to change notification settings - Fork 9
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
Automated Machine Identification #112
Comments
I do not think ISOBlue starts fast enough to catch those messages. According to https://copperhilltech.com/blog/sae-j1939-address-claim-procedure-sae-j193981-network-management/, the address claim procedure starts after the machine's POST. For this to be successful, ISOBlue would need to be ready to log before turning on the machine, which is extremely hard (if not impossible) to determine. It might make more sense to query this data, and it is possible sending the request address claim message on the bus, but this would make ISOBlue an active listener, opening new challenges and security issues. Experience would be best to tell if these concerns are actually a big deal. |
Well it’s worth checking if they are there now in logs at least.
I would think this is a common issue since address claim is a critical part of J1939 so any CAN interface has this issue. Is there is some way to do “wake on CAN” where the CAN interface immediately starts buffering packets until the OS is awake so that the first read is actually pulling from the buffer?
Aaron
… On Jan 22, 2021, at 11:15 AM, Fabio A. Castiblanco ***@***.***> wrote:
I do not think ISOBlue starts fast enough to catch those messages. According to https://copperhilltech.com/blog/sae-j1939-address-claim-procedure-sae-j193981-network-management/ <https://copperhilltech.com/blog/sae-j1939-address-claim-procedure-sae-j193981-network-management/>, the address claim procedure starts after the machine's POST. For this to be successful, ISOBlue would need to be ready to log before turning on the machine, which is extremely hard (if not impossible) to determine. It might make more sense to query this data, and it is possible sending the request address claim message on the bus, but this would make ISOBlue an active listener, opening new challenges and security issues. Experience would be best to tell if these concerns are actually a big deal.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#112 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AA2KEUAP6TQBREVVKGEI4VLS3GQD7ANCNFSM4WOUQIVA>.
|
There is a chance that we do see them when IB is turned on by wake-on-can. I assume the CAN hardware captures everything, its just a question of if Linux/SocketCAN pulls from that hardware before it's internal buffers are full. There is a USB in the middle, but given wake on CAN works over it, the USB systems must stay active during suspend. We should just check. I don't know the PGN, but I think this is as simple as checking for the existence of a PGN, at least at first. |
PGN’s for address claim are here (first search result): https://copperhilltech.com/blog/sae-j1939-address-management-messages-request-for-address-claimed-and-address-claimed/ <https://copperhilltech.com/blog/sae-j1939-address-management-messages-request-for-address-claimed-and-address-claimed/>
59904, 60928, 65240
The 65240 PGN is the “I successfully commanded this address” message which I think is the important one. It contains the NAME (the main thing we want) and the SA that was claimed to link the NAME with any subsequent messages on the bus.
Aaron
… On Jan 22, 2021, at 11:26 AM, Andrew Balmos ***@***.***> wrote:
There is a cache that we do see them when IB is turned on by wake-on-can. I assume the CAN hardware captures everything, its just a question of if Linux/SocketCAN pulls from that hardware before it's internal buffers are full. There is a USB in the middle, but given wake on CAN works over it, the USB systems must stay active during suspend.
We should just check. I don't know the PGN, but I think this is as simple as checking for the existence of a PGN, at least at first.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#112 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AA2KEUBNHPH4VM3YTVLVVILS3GRL3ANCNFSM4WOUQIVA>.
|
Fabio and I discussed this briefly in person yesterday We came to the conclusion that if this data (PGN 55240?) is queryable the simpler solution would be to not worry about catching these messages in the beginning and query for them once we get around to booting up. This would also work for machines that do not have power on the isobus plug while the machine is off. We could not find an evidence saying this is or is not possible but we are planning on experimenting with it this week with skidsteer to see if it would work. |
You are right, it looks like “request for address claimed” to broadcast address should get you what you want. However, did anybody take just a few minutes to look and see if you have any in your logs from the past?
Aaron
… On Jan 23, 2021, at 3:02 PM, Aaron Neustedter ***@***.***> wrote:
Fabio and I discussed this briefly in person yesterday
We came to the conclusion that if this data (PGN 55240?) is queryable the simpler solution would be to not worry about catching these messages in the beginning and query for them once we get around to booting up. This would also work for machines that do not have power on the isobus plug while the machine is off.
We could not find an evidence saying this is or is not possible but we are planning on experimenting with it this week with skidsteer to see if it would work.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#112 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AA2KEUFSOIL6LKUYRDONZG3S3MTOLANCNFSM4WOUQIVA>.
|
@facastiblancor had checked one of the Deer combines and didn't see it. Not sure if he has gotten around to checking any other machines. |
You are right, it looks like sending the Request for Address Claimed message to the broadcast address is supposed to get all the ECU’s to respond with their addresses. That would do it!
Aaron
… On Jan 23, 2021, at 3:02 PM, Aaron Neustedter ***@***.***> wrote:
Fabio and I discussed this briefly in person yesterday
We came to the conclusion that if this data (PGN 55240?) is queryable the simpler solution would be to not worry about catching these messages in the beginning and query for them once we get around to booting up. This would also work for machines that do not have power on the isobus plug while the machine is off.
We could not find an evidence saying this is or is not possible but we are planning on experimenting with it this week with skidsteer to see if it would work.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#112 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AA2KEUFSOIL6LKUYRDONZG3S3MTOLANCNFSM4WOUQIVA>.
|
We should be able to identify the machine that the ISOBlue is on, likely with the address claiming CAN sequence at machine startup. This will decrease errors from having to manually enter what machine a given ISOBlue is on
Suggested by @aultac on 1/22/21 meeting, but has been kicked around for a while
Potential roadblocks:
The text was updated successfully, but these errors were encountered: