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 not sending out commands

Solved812 views16th May 2024command listener makeCommandByProtocol server smart-serial
4
Alex Johnson [SLC] [DevOps Advocate]836 14th May 2024 0 Comments

Hi all,

I'm working on a smart serial protocol that will act as a "listener" (ip, any, one response with a param of length next param that is parsed as messages come through). I am trying to send a command, and it's showing up in the streamviewer, but I can NOT find it in wireshark, despite other traffic (ie messages from device) coming through. Needless to say, the set is not going through on the device.

My setup: makeCommandByProtocol, primary connection of type smart-serial, ip any, port 20002. Secondary connection of type smart-serial, ip <specificDeviceIP>, port also 20002.

I have my Pair with one command and no response where the command is one param that is set via qaction, and I can see the correct command in the streamviewer. I have my generic response that is parsing incoming traffic correctly, and also displaying "no response needed" when I try to send the command.

Pair setup in xml:

Streamviewer example:

I get a "No response needed" response from Streamviewer, but I see nothing in a wireshark, despite seeing the correct traffic coming through for the listening/parsing of messages.

Any ideas on what could be going wrong/other things I should check? I've tried almost everything I can think of including creating a bare bones driver that only sends the command and doesn't listen.

Alex Johnson [SLC] [DevOps Advocate] Selected answer as best 16th May 2024

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
3
Tom Waterbley [SLC] [DevOps Catalyst]8.89K Posted 14th May 2024 1 Comment

Hi Alex,

When data is being sent in a smart-serial element that is configured as server, it's broadcasted to all connected clients. So maybe there are no clients connected on the connection you are using to send data.

Maybe you could try what's described on this page. You probably don't need that second connection to send messages back to the client.

When a specific client sends data, the response should only be sent back to that specific client. This can be obtained by using a trigger "after response".

All groups executed as a result of a trigger 'after response' are sent to the client that sent the command.

Alex Johnson [SLC] [DevOps Advocate] Edited comment 16th May 2024
Alex Johnson [SLC] [DevOps Advocate] commented 15th May 2024

Hi Tom,

Thanks for the feedback, but this does not fix my issue. Sets are still not going out to the device.

EDIT: The issue was fixed due to a device setting that needed to be enabled. Still using one listener connection and then dataminer determines where the command goes.

You are viewing 1 out of 2 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