Welcome to the 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.

Spot Remove All Command

Member ✭✭✭✭
edited January 2021 in SmartSDR API
Per the Wiki, the command to remove a spot is:  

C[D]<seq_number>|spot remove <spot_index>

Where <spot_index> is the specific spot you want to remove.

Question:   What is the commnad to remove all spots?

Alan
WA9WUD


Welcome!

It looks like you're new here. Sign in or register to get started.

Best Answers

  • Member ✭✭✭
    Answer ✓

    If you have not already found the answer "spot clear" should work.

  • Member ✭✭✭
    Answer ✓

    Done.

    Just released FRStack 3.1.26.55

    Added Radio Memory REST API, Radio SPOTS REST API, Hot keys for CWSPEEDUP1 CWSPEEDDOWN1 and a new feature where Slice B tracks Slice A frequency w/ rev direction feature. The last feature can be used to work satellites.

    FRStackWebApi releases will follow shortly.

Answers

  • Member, Super Elmer Moderator

    Hi Alan, I haven't tried this yet, but it seems like you could do a for loop (or whatever the Node Red equivalent is). Increment spot_index from 0 to 999 in a remove command. Just ignore the messages about invalid spot_index. I also wonder if a spot_index of ALL would work.

    73,

    Len, KD0RC

  • Member ✭✭✭✭

    Thanks, Mark. I will give that a try. Perhaps a candidate for a REST command in the next update?

    Alan

  • Member ✭✭
    edited April 20

    I am working on a simple macOS app to clear all spots (since Marcus's app doesn't do it), and using WireShark with Windows SmartSDR in a VM, I discovered that the command to clear ALL spots is:

    C[D]<seq_number>|spot clear
    

    Easy-peasy.

    I've added an "Issue" to the Flex Wiki to have this command added.

Leave a Comment