Skip to content

GS4 Task Controller not consistently establishing a session #349

Answered by ad3154
trm01 asked this question in Q&A
Discussion options

You must be logged in to vote

I think I know what the issue is - the NAME filter for the TC isn't specific enough for your use case.

In most of our examples we filter what qualifies as a TC (or a VT) by function code.
However, this isn't working for you because I can see you have another device on your bus with function code 130, but with industry group 3 (whereas a TC would be industry group 2). This device is identified as a "John Deere Land Leveling System Operator Interface".

So, basically what I assume is happening is we're matching whichever function 130 device address claims first 😅

Easy fix though I think - you just need to add an additional filter for industry group 2 in seeder.cpp.

Change these lines:

const …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@trm01
Comment options

Answer selected by trm01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants