Welcome to the FlexRadio Community! Please review the new Community Rules and other important updates on the Message Board.
The latest SmartSDR Software:
SmartSDR v4.3.16 | SmartSDR v4.3.16 Release Notes
SmartSDR v3.10.15 | SmartSDR v3.10.15 Release Notes
The latest 4O3A Genius Product Software: The latest 4O3A Genius Product Software and Firmware
How to Receive Technical Support: If you are needing assistance with FlexRadio products, 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.
FlexDiscovery - App to test API code
I built a little utility to help me understand the Flex API. It is written in C++ console in Visual Studio. Hopefully, it will help others who are trying to understand how the API works.
GitHub link:
Top program comments:
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:
CD41|transmit set vox_enable=1
Note that "s" and "set" are interchangeable. In my commands, I always use CD instead of C so that I get the verbose debug version of the radio responses.
I hope that this takes some of the mystery out of using the Flex API.
Leave a Comment
Categories
- All Categories
- 417 Community Topics
- 2.2K New Ideas
- 716 The Flea Market
- 8.7K Software
- 225 SmartSDR+
- 6.6K SmartSDR for Windows
- 212 SmartSDR for Maestro and M models
- 472 SmartSDR for Mac
- 282 SmartSDR for iOS
- 270 SmartSDR CAT
- 225 DAX
- 397 SmartSDR API
- 9.7K Radios and Accessories
- 140 Aurora
- 387 FLEX-8000 Signature Series
- 7.3K FLEX-6000 Signature Series
- 1K Maestro
- 58 FlexControl
- 876 FLEX Series (Legacy) Radios
- 1K Genius Products
- 495 Power Genius XL Amplifier
- 366 Tuner Genius XL
- 139 Antenna Genius
- 333 Shack Infrastructure
- 237 Networking
- 500 Remote Operation (SmartLink)
- 150 Contesting
- 867 Peripherals & Station Integration
- 148 Amateur Radio Interests
- 1.2K Third-Party Software