Welcome to the new FlexRadio Community! Please review the new Community Rules and other important new Community information on the Message Board.
Need the latest SmartSDR, Power Genius, Tuner Genius and Antenna Genius Software?
SmartSDR v3.8.23 and the SmartSDR v3.8.23 Release Notes
SmartSDR v2.12.1 and the SmartSDR v2.12.1 Release Notes
Power Genius XL Utility v3.8.9 and the Power Genius XL Release Notes v3.8.9
Tuner Genius XL Utility v1.2.11 and the Tuner Genius XL Release Notes v1.2.11
Antenna Genius Utility v4.1.8
SmartSDR v3.8.23 and the SmartSDR v3.8.23 Release Notes
SmartSDR v2.12.1 and the SmartSDR v2.12.1 Release Notes
Power Genius XL Utility v3.8.9 and the Power Genius XL Release Notes v3.8.9
Tuner Genius XL Utility v1.2.11 and the Tuner Genius XL Release Notes v1.2.11
Antenna Genius Utility v4.1.8
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.
Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.
Flex API utility

KD0RC
Member, Super Elmer Moderator
in SmartSDR API
I thought I would share a little utility that I use when I am trying to understand an aspect of the Flex API. Top comments in the program:
/*
FlexDiscovery
Len Koppl, KDØRC
9/23/20
Visual Studio 2019 C++ console
Uses Flex API without .net or FlexLib (i.e. uses native text-based API commands) Utility to test Flex API commands and to show TCP/IP traffic from the radio.
Displays the first Flex discovery UDP packet that it finds. Other Flex UDP traffic is not read. The commented out commands are what I have been experimenting with. There are many many more that can be added here. Most are commented out so that you can focus on just what you are interested in. The main goal is to provide a way to try out commands before putting them into your
program. To get the proper parameter name (may vary slightly from the wiki...),
uncomment the appropriate subscription(s), run this program, then activate the control
in SmartSDR, or on your Maestro. The response from the radio will be displayed on
the console screen. The parameters have good instruction set reciprocity,
so this will lead you to the correct syntax. A good example is VOX. The wiki says:
C41|transmit set vox=1 It doesn't work... Run this utility with "sub tx all" uncommented and turn VOX on and off. The radio
responds with:
S1F5C6BC|transmit vox_enable=1 vox_level=68 vox_delay=16
S1F5C6BC|transmit vox_enable=0 vox_level=68 vox_delay=16 So now you can deduce that the actual command is:
C41|transmit set vox_enable=1Note that "s" and "set" are interchangable. In my commands, I always use CD instead of C
so that I get the verbose debug version of the radio responses.
*/
Extract this source file and copy it into Visual Studio (C++ console app).
Now you have an easy way to explore the Flex API.
Tagged:
4
Comments
-
I found it Len! Thanks!
0 -
Excellent! Let me know how you get along with it. I think that I may have found the problem with Flex Repeater Spots. Hopefully the testing will come back positive…
0
Leave a Comment
Categories
- All Categories
- 338 Community Topics
- 2.1K New Ideas
- 580 The Flea Market
- 7.7K Software
- 6.2K SmartSDR for Windows
- 161 SmartSDR for Maestro and M models
- 387 SmartSDR for Mac
- 253 SmartSDR for iOS
- 244 SmartSDR CAT
- 177 DAX
- 365 SmartSDR API
- 9K Radios and Accessories
- 7.1K FLEX-6000 Signature Series
- 127 FLEX-8000 Signature Series
- 891 Maestro
- 50 FlexControl
- 853 FLEX Series (Legacy) Radios
- 849 Genius Products
- 438 Power Genius XL Amplifier
- 298 Tuner Genius XL
- 113 Antenna Genius
- 269 Shack Infrastructure
- 190 Networking
- 429 Remote Operation (SmartLink)
- 134 Contesting
- 702 Peripherals & Station Integration
- 131 Amateur Radio Interests
- 924 Third-Party Software