Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

...

  • Communication protocol "MQTT Client Protocol".
  • Station address: station address is a particular topic (Topic) or a character # representing all topics. If there is a station with address # on the line, all messages are directed to its I/O tags. Otherwise, the D2000 KOM process looks for a station with the address corresponding corresponds to the Topic field in the PUBLISH message received from the MQTT server.
    Note: station address doesn't support wildcard characters "+" corresponding to mask of Topic Filter parameter (yet)The address can be a specific Topic, a regular expression, a # character representing all Topics, or a topic .* representing all Topics that are not suitable for other stations. The processing priority is as follows:
    • If there is a station with address # on the line, all messages are directed to its I/O tags and no further search is performed.
    • Otherwise, all other stations on the line are searched (with the exception of the .* address). If the Topic matches the address of a station, the message is directed to that station and no further search is performed.
    • Otherwise, all other stations on the line are searched (with the exception of the .* address), and their address is evaluated as a regular expression. If the Topic matches the station address, the message is directed to that station and no further search is performed.
      Stations are searched in descending order (by station address), so more specific terms go first (e.g., status/battery before status/batt.*)
    • Finally, if there is a station with a .* address, the message is addressed to it.
  • Polling parameters on the Time parameters tab - recommended value is Delay=0.

...