Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-49459

QModbusTcpServer socket/UnitID handling

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.12.0
    • SerialBus: MOD Bus
    • None

    Description

      Currently, the QModbusTcpServer is derived from QModbusServer and provides only one listening socket and can only interpret the requests send to the UnitID (which is equivalent to the slaveAddress on serial devices) that it is configurated.

      Suggestion 1:

      • add capability to support a maxNumberOfOpenConnections as described in the specs and support opening a new listening socket as soon as the current socket is used by a connection up to the maxNumberOfOpenConnections.

      Suggestion 2:

      http://download.schneider-electric.com/files?p_File_Id=27525734&p_File_Name=ATV61_71_Ethernet_EN_1755879_03.pdf

      page 30 lists multiple servers running at the same time in one device through "virtual" slaveAddresses provided by the UnitID. To support such features commonly found in various devices, the derivation of QModbusTcpServer from QModbusServer should be reviewed and allow creating of multiple QModbusServer instances that handle the requests directed to them through their slaveAddress ID.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            heimrich Karsten Heimrich
            rnolden Marie Loise Nolden (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes