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.
API bug?
When I get CWX data back from the Flex API, I get the following status message (the bytesReceived line is mine, not the API...)
Shouldn't it return "cwx_wpm" not "cwx wpm" (i.e. missing underscore)? I thought that there were to be no embedded spaces in function names. I am working around this in my Arduino code, but thought I would bring it up in case no one noticed it (or that I am wrong and spaces are ok...).
Thanks & 73,
Len, KD0RC
Best Answers
-
That is a response to a cwx status request or change in cwx values if a client is subscribed to changes .
wpm=<speed> is the designed response.
Sending the term "cwx" without any parameters, is a status request.
2 -
Tim nailed it. This is intentional. The first part of a status message is often a token to help when parsing. Everything after cwx is a field within the context of the cwx module. You'll see similar syntax for other status messages (slice, transmit, etc).
1
Answers
-
0
-
Ah, OK I understand. I am guessing that this is a change since V2. The IW7DMH Arduino FlexRig library (built for V2) assumes no blanks within tokens. I can easily fix the code to use CWX WPM instead of the original SPEED. I have a quick and dirty routine coded in C++ for my PC that will show me status, messages and responses so that I can be sure what will come back from the radio.
Thanks for the info, I really appreciate it.
73,
Len
0 -
I got it all working, so thanks for the help! I did notice that the speed and pitch never change on a transmit status. On my 6400, I have pitch set to 800 and it stays put and all is well. The speed and CWX speed both work properly and all is well there too. Here you can see the results of changing wpm:
cwx wpm works great, but transmit shows the wrong values. No big deal, but I thought I would mention it as something that I ran across.
I will say that the Flex API is a fantastic tool! Homebrewing takes a different direction with SDR. With the API, Arduino/Teensy and a little software, the project possibilities are limitless. Maybe I will check out Node Red at some point...
73,
Len, KD0RC
0
Leave a Comment
Categories
- All Categories
- 419 Community Topics
- 2.2K New Ideas
- 717 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
- 142 Aurora
- 388 FLEX-8000 Signature Series
- 7.3K FLEX-6000 Signature Series
- 1K Maestro
- 58 FlexControl
- 876 FLEX Series (Legacy) Radios
- 1K Genius Products
- 496 Power Genius XL Amplifier
- 366 Tuner Genius XL
- 139 Antenna Genius
- 334 Shack Infrastructure
- 237 Networking
- 500 Remote Operation (SmartLink)
- 150 Contesting
- 868 Peripherals & Station Integration
- 149 Amateur Radio Interests
- 1.2K Third-Party Software



