Broader refactoring of manifest-based naming and multi A2L#81
Conversation
|
FMI Design Webmeeting: |
There was a problem hiding this comment.
Thank you very much for your changes. I have some questions and small notes:
-
Is it intention that the enumeration names in "role" don't include the "IP" as in original XCP specifications like TCP/IP or UDP/IP, which represent the combination of transport and network layer?
Especially, if we have "Address" in the name like "XCPServiceTCPListenAddress", it should mean "IP-Address" in the network layer, otherwise it could also be MAC-Address in data link layer.
If we are using Ethernet terms, maybe it is better to use "Listener" (also called TCP/IP-Server) instead "Listen" (or XCPSlave in XCP terms)? -
Is it independent on the IP versions or should we mention it somewhere (currently I see that we are using everywhere IPv4 in the examples, but nowhere mentioned IPv6). Not sure, if also multicasts IPs (only UDP/IP) supported.
-
One more side note: I read somewhere that XCP Slave detection was defined in XCP version 1.3 specifically for XCP on Ethernet, so if we have to mention the minimum supported XCP version somewhere.
There was a problem hiding this comment.
There is no XCP on Ethernet, even though the ASAM authors called it that, but they were just mistaken, they defined XCP on TCP and UDP which is independent of any data link layer. Hence there is no potential confusion with MAC addresses or anything of that nature.
One can add the IP in there, but it adds little value, as the IP is always implied (there is no UDP/TCP defined on anything else than IP).
We should clarify that the address can in theory also be IPv6 rather than only IPv4.
The layered standard is independent of the XCP version.
There was a problem hiding this comment.
Pierre: I think that the "IP" part is not very important. We should mention IPV6. I will add it.
Kharamonj: IP is network layer, UDP is transport layer ... but not important
Pierre: historically people included "/IP" ... it does not add benefit.
Pierre: mention "minimum supported XCP version": You have to read the A2L file anyway, there it will be mentioned. We are independent on a specific XCP version.
t-sommer
left a comment
There was a problem hiding this comment.
The variables XCPService{TCP|UDP}Enable do not end with a noun which looks kind of odd. Maybe we should call it EnableXCPService{TCP|UDP}or even better XCPStart{TCP|UDP}Service`, because this is what it does according to the description.
I agree that |
72209f3 to
a71e7ad
Compare
docs/index.adoc
Outdated
| If size is a concern, it may be decided to supply just a single platform and A2L file with an FMU. | ||
|
|
||
| The root name of the A2L file shall be identical to the model identifier and is case sensitive, i.e., a variable description named `<modelIdentifier>.a2l` is associated with an FMU binary named `<modelIdentifier>.{dll|so}`. | ||
| The root name of the A2L file shall be identical to the `identifier` attribute from the `Interface` element of the manifest file and is case sensitive. |
There was a problem hiding this comment.
to the definition attribute?
There was a problem hiding this comment.
Pierre: this might be a left-over, I will look into this
There was a problem hiding this comment.
The whole sentence should be removed as it is in the wrong place of the doc, and it is now redundant to the actual mechanism of locating the a2l files from the manifest. Will remove in wrap up.
The common prefix is more important IMHO, especially since enable flag variables are commonly termed enable and not enable flag or something even more cumbersome. German angst about non-nouns aside... |
Pierre: we are not talking about the variable names any more, only the role names. |
This reflects the review feedback and should not induce any technical changes. Signed-off-by: Pierre R. Mai <[email protected]>
pmai
left a comment
There was a problem hiding this comment.
This hopefully finalizes the changes discussed in the last design meeting.
docs/index.adoc
Outdated
| | Relative URI | ||
| | This attribute must be a relative reference to a URI (formerly called a relative URI) to the A2L variable description file for this interface. | ||
| It may not contain any dot-segments (i.e. complete path segments of `.` or `..`). | ||
| It may not contain any dot-segments (i.e., complete path segments of `.` or `..`). |
There was a problem hiding this comment.
rather than adding the commas I think we should work more to remove the use of i.e. in its entirety by having a separate definition of dot segments, or otherwise re-phrasing. This goes for all occurrences of i.e.
There was a problem hiding this comment.
There is no XCP on Ethernet, even though the ASAM authors called it that, but they were just mistaken, they defined XCP on TCP and UDP which is independent of any data link layer. Hence there is no potential confusion with MAC addresses or anything of that nature.
One can add the IP in there, but it adds little value, as the IP is always implied (there is no UDP/TCP defined on anything else than IP).
We should clarify that the address can in theory also be IPv6 rather than only IPv4.
The layered standard is independent of the XCP version.
docs/index.adoc
Outdated
| If size is a concern, it may be decided to supply just a single platform and A2L file with an FMU. | ||
|
|
||
| The root name of the A2L file shall be identical to the model identifier and is case sensitive, i.e., a variable description named `<modelIdentifier>.a2l` is associated with an FMU binary named `<modelIdentifier>.{dll|so}`. | ||
| The root name of the A2L file shall be identical to the `identifier` attribute from the `Interface` element of the manifest file and is case sensitive. |
There was a problem hiding this comment.
The whole sentence should be removed as it is in the wrong place of the doc, and it is now redundant to the actual mechanism of locating the a2l files from the manifest. Will remove in wrap up.
This constitutes a more complete refactoring of the manifest schema, so that better naming and expandability is achieved.