Replies to Equalizer Info commands

  • 1
  • Question
  • Updated 3 years ago
When I send an "eq rx info" command to the radio I receive the expected response:

SCCB288B6|eq rx mode=1 63Hz=10 125Hz=10 250Hz=10 500Hz=10 1000Hz=10 2000Hz=10 4000Hz=10 8000Hz=10

but I also receive the following:

SCCB288B6|eq rxsc mode=1 63Hz=0 125Hz=0 250Hz=0 500Hz=0 1000Hz=0 2000Hz=0 4000Hz=0 8000Hz=0

What is the significance of the "rxsc" reply? Similarly, two replies are received for the "eq tx info" command, one with "tx" and one with "txsc".
Photo of Doug - K3TZR

Doug - K3TZR

  • 69 Posts
  • 4 Reply Likes

Posted 3 years ago

  • 1
Photo of Ed.G

Ed.G, Software Engineer

  • 85 Posts
  • 20 Reply Likes
When we first created the EQ it was implemented in our audio codec chip and the API commands and responses had a range of 0 to 20 for the EQ levels. In v1.4 we moved the location of the EQ into our DSP co-processor and it made more sense to use the actual values of the EQ which have a range from -10 to 10.

We did not want to break the API for developers that had already written EQ controls so we left the old API command which is "eq rx" and added a new command/status which is the "eq rxsc". Both commands and statuses are valid with the "eq rx" command using the old 0 to 20 range and the new "eq rxsc" command using the -10 to 10 range. 

The same applies to the TX EQ.
Photo of Doug - K3TZR

Doug - K3TZR

  • 69 Posts
  • 4 Reply Likes
Thanks Ed,

I suspected something like that.

I'm primarily looking forward from 1.4 so when I see the "sc" form coming from the Radio I'll use the "sc" form when sending commands.

To afford some measure of backward compatibility, when I only see the non-"sc" form coming from the Radio, I'll use the non-"sc" form in commands I send to the Radio.
Photo of Ed.G

Ed.G, Software Engineer

  • 85 Posts
  • 20 Reply Likes
Sounds like a good plan. That's very close to what we do in SmartSDR.