daxiq status message

  • 1
  • Question
  • Updated 2 years ago
  • Answered
When I have DaxIq enabled I see that I receive daxiq Status messages, here's an example:

S7E1E15E5|daxiq 1 pan=0x40000000 rate=48000 capacity=16 available=14

yet when I look in the C# code of FlexLib I don't see any use of this Status message in the "private void ParseStatus(string s)" method on Radio.

Is this a leftover from some previous approach or have I just missed its processing in FlexLib?
Photo of Doug - K3TZR

Doug - K3TZR

  • 120 Posts
  • 17 Reply Likes

Posted 2 years ago

  • 1
Photo of Eric - KE5DTO

Eric - KE5DTO, Official Rep

  • 919 Posts
  • 346 Reply Likes
It looks like we process daxiq status messages under the "stream" heading (see ParseStatus in Radio.cs).  This looks like a bug.  Thanks for pointing it out.  I entered it in our system for tracking as #4943.
Photo of Doug - K3TZR

Doug - K3TZR

  • 120 Posts
  • 17 Reply Likes
Thanks Eric
Photo of Mario - DL3LSM

Mario - DL3LSM

  • 68 Posts
  • 29 Reply Likes
I'm trying to access DAX IQ.. Creating the stream works ok but if I try to remove I get no status message back from which I can see that the stream was removed. I looked at the TCP commands exchanged by SmartDAX and the radio using wireshark. They are the same commands I'm using and SmartDAX gets the same responses as well.

Here are the command / responses (using Dougs API tester):



No panadapter had daxiq channel 1 assigned so pan is always 0x0 in these messages.

Two things I'm puzzled about:
  • the stream status message after I crated the daxiq stream does not have the in_use flag
  • when I remove the stream I only get a daxiq status message which is identical to the message after I created the stream - I would have expected to get a stream stratus message with "in_use=0" as this is the criteria in FlexLib to remove the stream object
SmartDAX sends a second identical stream remove command after the first one but gets the same error reply like I do in the dialog above..

So what is the secret here?? How does SmartDAX figure that the daxiq stream was removed?

Thanks and 73
Mario, DL3LSM
(Edited)
Photo of Eric - KE5DTO

Eric - KE5DTO, Official Rep

  • 919 Posts
  • 346 Reply Likes
This looks like an oversight to me.  I suppose that if you are using FlexLib and call the Close function in IQStream, it will dispose of the C# object.  But this leaves a hole in the API where other applications are concerned.  I've entered this as issue #5281 for tracking.