From 96f1d606605c59c98d1eac0a444a66778bd69acc Mon Sep 17 00:00:00 2001 From: "Pierre R. Mai" Date: Tue, 18 Jun 2024 14:51:28 +0200 Subject: [PATCH] Initial sketch of manifest-based naming and multi A2L Fixes #63. --- docs/examples/fmi_ls_xcp_manifest_example.xml | 25 ++++-- schema/fmi3LayeredStandardXcpManifest.xsd | 83 +++++++++++++++---- 2 files changed, 88 insertions(+), 20 deletions(-) diff --git a/docs/examples/fmi_ls_xcp_manifest_example.xml b/docs/examples/fmi_ls_xcp_manifest_example.xml index 41186d8..84fac46 100644 --- a/docs/examples/fmi_ls_xcp_manifest_example.xml +++ b/docs/examples/fmi_ls_xcp_manifest_example.xml @@ -2,9 +2,22 @@ \ No newline at end of file + xmlns:fmi-ls="http://fmi-standard.org/fmi-ls-manifest" + fmi-ls:fmi-ls-name="org.fmi-standard.fmi-ls-xcp" + fmi-ls:fmi-ls-version="1.0.0-rc.4" + fmi-ls:fmi-ls-description="Layered standard based on FMI 2.0 and FMI 3.0 for describing and implementing XCP support for FMUs, which can either provide an XCP service or allow direct memory access via A2L files."> + + + \ No newline at end of file diff --git a/schema/fmi3LayeredStandardXcpManifest.xsd b/schema/fmi3LayeredStandardXcpManifest.xsd index a3c33e7..136e3c3 100644 --- a/schema/fmi3LayeredStandardXcpManifest.xsd +++ b/schema/fmi3LayeredStandardXcpManifest.xsd @@ -36,23 +36,78 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + + + + + + Identifier used to construct the A2L file name. + + + + + + + If true, the FMU provides its own XCP slave implementation. + + + + + + + If true, the FMU allows direct memory access from the outside via its A2L file. In most cases this mechanism will be used by an external XCP service provided by the importer. + + + + + + + If supplied, specifies the name of the FMU variable that provides the EnableXcpOnTcpIp configuration capability. If not supplied, no such variable exists. + + + + + + + If supplied, specifies the name of the FMU variable that provides the EnableXcpOnUcpIp configuration capability. If not supplied, no such variable exists. + + + + + + + If supplied, specifies the name of the FMU variable that provides the TcpListenPortNumber configuration capability. If not supplied, no such variable exists. + + + + + + + If supplied, specifies the name of the FMU variable that provides the UdpListenPortNumber configuration capability. If not supplied, no such variable exists. + + + + + + + If supplied, specifies the name of the FMU variable that provides the TcpListenIpAddress configuration capability. If not supplied, no such variable exists. + + + + + + + If supplied, specifies the name of the FMU variable that provides the UdpListenIpAddress configuration capability. If not supplied, no such variable exists. + + + + + + - - - - If true, the FMU provides its own XCP slave implementation. - - - - - - - If true, the FMU allows direct memory access from the outside via its A2L file. In most cases this mechanism will be used by an external XCP service provided by the importer. - - -