Incorrect command response to slice set 0 tx=0/1

  • 1
  • Question
  • Updated 6 days ago
When I send a command to change the state of TX on a Slice, the desired action takes place (i.e. TX is turned on or off) but the response to the command seems incorrect. Here's a captured sequence:



Notice that the response to C40 and C54 are both |10000003|Nothing to erase

Is this a bug?

When I see a non-zero reply to a command I assume that it indicates a warning or error.
Photo of Doug - K3TZR

Doug - K3TZR

  • 105 Posts
  • 11 Reply Likes

Posted 2 weeks ago

  • 1
Photo of Doug - K3TZR

Doug - K3TZR

  • 105 Posts
  • 11 Reply Likes
I think I've answered my own question. Looking in http://wiki.flexradio.com/index.php?title=Known_API_Responses I see that there are a small number of "INFO" responses and that this is one of them.

This response is actually "CWX Nothing to erase" which I'm guessing means that if the radio was in the process of sending CWX, changing the state of TX might necessitate erasing some string of characters from CWX and that, in this case, there was nothing to erase.

Sorry for the fire drill.
Photo of Doug - K3TZR

Doug - K3TZR

  • 105 Posts
  • 11 Reply Likes
With some additional testing I believe that this is a bug in v2.4.9. If you do the same commands using a previous version (e.g. 2.3.9) the response is a simple "Rnn|0|".

I also tried "set slice 0x0 mode=USB", the expected reply would be "Rnn|0|", instead the reply is:

"Rnn|50000096" which translates to an error -> "SL_INVALID_PTT_CMD_IN_CW_MESSAGE"

It appears that SmartSDR simply ignores these messages / errors. The Radio works as expected in spite of the messages / errors.
Photo of Eric - KE5DTO

Eric - KE5DTO, Official Rep

  • 712 Posts
  • 208 Reply Likes
This does seem like a bug.  Thanks for pointing this out.  I've entered this as #6786 in our bug tracking system.