Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Smart serial listener – replying to a single client not possible sans “after response” trigger?

Solved830 views27th August 2024client command listener server smart-serial
1
Alex Johnson [SLC] [DevOps Advocate]836 4th June 2024 3 Comments

Hi all,

In DataMiner Docs, we have a way to configure smart serial listener to reply to a single client:

However, this is only "after response". I have an implementation where I need to use one connection to send a command back to the client after a button press, e.g not after response. As it currently is working, whenever I send the command it broadcasts it to all available/open clients. Is there a way around this?

Alex Johnson [SLC] [DevOps Advocate] Selected answer as best 27th August 2024
Michael Wells [SLC] [DevOps Member] commented 4th June 2024

More information: what we need to do is somehow keep track of the TCP session source IP port from which a client sends a specific message, store it in a parameter on a row associated with that message, and then use that TCP source IP port value to become the TCP destination IP port to which we send a response message based on how and when an operator chooses to process a given message through various buttons linked to QA’s.

We know we can use SmartIPHeader to get the IP, Port and Sequence Number and could store that in the response, but can we somehow use this option in the construction of a new message (not an automatic response to the inbound message) to force SLPort to utilize a specific (dynamic based on the incoming message) TCP Destination IP Port to send the message to the device?

Jeroen Neyt [SLC] [DevOps Advocate] commented 5th June 2024

Would you happen to know the IP addresses of the clients upfront or is that unknown?

Michael Wells [SLC] [DevOps Member] commented 5th June 2024

IP Address is known.

3 Answers

  • Active
  • Voted
  • Newest
  • Oldest
0
Jeroen Neyt [SLC] [DevOps Advocate]2.35K Posted 6th June 2024 0 Comments

If the connector has only a smart-serial connection and you know the IP addresses of the clients upfront, it might be an option to configure an element per client.

The actual listening socket is still shared over the multiple element instances but each element context has its own dedicated connection to one specific client.

This can be achieved by configuring the Accepted IP address field of the smart-serial connection.

This would be an example configuration for the connection to the client located at 179.226.97.50. You would then need to do this for all clients.

Admittedly this is a bit of a configuration overhead but today I see no other way in how to target a specific client on request.

If this configuration is not an option, I would recommend you to submit a feature suggestion to try to come up with a solution on how this could be covered from within a connector.

Jeroen Neyt [SLC] [DevOps Advocate] Answered question 6th June 2024
You are viewing 1 out of 3 answers, click here to view all answers.
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin