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.

How to get profile list from the API

KD0RC
KD0RC Member, Super Elmer Moderator

I am working on my TeensyMaestro project (buttons and knobs for my 6400) and do not see a command for retrieving the profile names. I have a work-around where I load a profile from a config file. This causes a status to come back listing the profiles. I was hoping that there is a profile list command somewhere, and I just missed it. So if I could trigger the status shown below without actually loading a profile, I would be very happy!

S533BEE5E|profile global list=KD0RC -  6 CW^KD0RC -  6 SSB^KD0RC - 10 CW^KD0RC - 10 SSB^KD0RC - 12 CW^KD0RC - 12 SSB^KD0RC - 15 CW^KD0RC - 15 SSB^KD0RC - 17 CW^KD0RC - 17 SSB^KD0RC - 20 CW^KD0RC - 20 SSB^KD0RC - 30 CW^KD0RC - 40 CW^KD0RC - 40 SSB^KD0RC - 80 CW^KD0RC - 80 SSB^KD0RC - 160 CW^KD0RC - 160 SSB^KD0RC - CW^KD0RC - SSB^Len Android Phone^Len Laptop^Oldies AM^SO2RDefault^

Thanks & 73,

Len, KD0RC

p.s. To see the current state of this project, check out my QRZ.com page.

p.p.s. Flex, thanks for putting the caret separator character in there! Unprintable separators are a nightmare to debug...

Answers

  • KD0RC
    KD0RC Member, Super Elmer Moderator

    Well I figured out a work-around. Not too elegant, but it works... I send a command to load a non-existent profile, and it responds with an error telling me that there is no such profile, but it also sends the full list of profiles, so mission accomplished. Now I can load the profile list into my menu system and select profiles from the TeensyMaestro.

    Len

  • That looks awesome, Len.
  • KD0RC
    KD0RC Member, Super Elmer Moderator

    Thanks Matt, it has been a very fun project!

    I also figured out the Profile has an undocumented feature (at least I didn't find it...). I now have it coded to use the "profile global info" command to get the list of profiles. Works great and lets me select profiles from my little box without moving the mouse.

    73,

    Len

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.