Welcome to the new FlexRadio Community! Please review the new Community Rules and other important new Community information on the Message Board.
If you are having a problem, please refer to the product documentation or check the Help Center for known solutions.
Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.

A way to observe commands and responses

Doug - K3TZR
Doug - K3TZR Member
edited April 2019 in SmartSDR for Windows
Is there some "switch" (e.g. a command line option) that would log the commands sent by the SSDR UI to the FlexLIb Api and vice versa?

I'm looking through the C# FlexLIb API and trying to understand how it is used by the SSDR UI. Without access to the source for the UI it's a bit of a mystery at times. It would be helpful to see a log of the activity.

I suppose I could recompile FlexLIb API and add logging into it but I'm guessing that it might already exist (in some undocumented dark corner).



  • Andreas Junge
    Andreas Junge Member
    edited April 2019
    I think WireShark is your friend :-)

    “Perry Rhodan fascist

    Run the right filters and you will see all the traffic to and from the radio. 

    73, Andreas, N6NU
  • Doug - K3TZR
    Doug - K3TZR Member
    edited October 2018

    I agree, Wireshark can be useful. The right filters are the part I find difficult. I was hoping that there was some simpler approach buried in the code.

    BTW, I didn't state the problem correctly, I actually want to see the traffic between the Radio (hardware) and FlexLib but you seem to have understood what I meant.

    I gave Wireshark another try, here's a capture filter that I found useful:

    host <ipAddress> and tcp and greater 70

    The "greater 70" eliminates the ping packets making it easier to see the useful parts.

  • Andreas Junge
    Andreas Junge Member
    edited April 2019
    There also is a "Follow conversation" feature, so you can see the flow of commands over multiple packets.

    73, Andreas, N6NU
  • Steve-N5AC
    Steve-N5AC Community Manager admin
    edited February 2017
    Wireshark is the easiest way to do this.  Find one communication between the radio and SmartSDR (one TCP packet) and right click on that packet and say "follow TCP conversation."  This will bring up the complete communications of command, response and status information between the client and the radio.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.