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

Implementation of working set members #126

Open
5 tasks
GwnDaan opened this issue Jan 13, 2023 · 0 comments
Open
5 tasks

Implementation of working set members #126

GwnDaan opened this issue Jan 13, 2023 · 0 comments
Labels
enhancement New feature or request iso: virtual terminal Related to the ISO-11783:7 standard

Comments

@GwnDaan
Copy link
Member

GwnDaan commented Jan 13, 2023

Right now the stack only supports one member in a working set, the "working set master". But the standard defines that there can be multiple 'control functions' (CF) / members in a working set.

Definition of a 'working set' from iso.org:

several control functions (Part 1; 3.10) in one or more electronic control units (Part 1; 3.19) acting as distributed processes providing a single application
Note: All control functions that are part of a working set, whether or not they are in separate electronic control units, are identified as members by the working-set master.

What needs to be implemented:

  • A way for the VT client to know if the current CF is the working set master.
  • Defining number of working set members in send_working_set_master() function.
  • If CF is the working set master, it must know which CFs are the working set members and broadcast their NAMEs once with messages using PGN 0x00FE0C after send_working_set_master() is called.
  • If CF is origin of a message that has a response, it should monitor response messages from a VT (which are send destination specific to working set master) to pair with send command (Only for VT version <= 3)
  • If CF is working set master receives a response message that it didn't send a command for, it should ignore it.

I think this feature has a low priority at this stage, but should be kept in mind while developing related features.

It would be interested to know what the example use cases are for having more than one member in a working set, so if you know any feel free to drop it here.

@GwnDaan GwnDaan added the enhancement New feature or request label Jan 13, 2023
@ad3154 ad3154 added this to the 1.0.0 Features milestone Mar 16, 2023
@GwnDaan GwnDaan added the iso: virtual terminal Related to the ISO-11783:7 standard label Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request iso: virtual terminal Related to the ISO-11783:7 standard
Projects
None yet
Development

No branches or pull requests

2 participants