Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: V3.6.4.0, V3.7.0.0
    • Component/s: Core
    • Labels:
      None
    • Account:
      SPC EthernetIp Core (SPCETHERNET)

      Description

      The connection path format is defined in Vol1 3-5.5.1.10: Connection Path.
      There, a strict ordering of segments is specified, where electronic keys go first, followed by application paths, and finished by data and network segments. The connection path parser currently does not enforce such an ordering and will accept, for instance, the electronic, at any location within the path.

      it would actually be pretty cool to have an imperative parse instead of the huge switch-case, like:

      while (consume_electronic_key(path))
      {
        push_path();
        while (consume_network_segment(path));
        if (!parse_port_segment(path))
        {
          pop_path();
          break;
        }
      }
      
      consume_electronic_key(path);
      consume_network_segment();
      expect_application_path();
      while (consume_application_path())
      {
        
      }
      consume_simple_data_segment();
      while (consume_network_segment(path));

        Attachments

          Issue Links

            Expenses

              Activity

                Status Description

                  People

                  • Reporter:
                    MBommert Marc Bommert
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    0 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved: