SmartSDR v3.8.19 and the SmartSDR v3.8.19 Release Notes | SmartSDR v2.12.1 and the SmartSDR v2.12.1 Release Notes
SmartSDR v1.12.1 and the SmartSDR v1.12.1 Release Notes
Power Genius XL Utility v3.8.8 and the Power Genius XL Release Notes v3.8.8
Tuner Genius XL Utility v1.2.11 and the Tuner Genius XL Release Notes v1.2.11
Antenna Genius Utility v4.1.8
Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.
FRstack 3 UDP Broadcast format ?
I'm trying to feed my Arduino based MagDeltaLoop system for 80/160 with the 6400 Slice's actual frequency and in this way want to autotune my loop.
I have setup/enabled UDP broadcasting in FRstack. I see packets sent using a sniffer and being received/decoded by the Arduino shield.
Q: what is format of the content format of these UDP packets?
Thanks in advance,
73, Kor - PA0KDV.
Comments
-
XML:
Here is an actual packet from my FRStack.
<?xml version="1.0" encoding="utf-8"?><RadioInfo><app>FRStack</app><StationName>Maestro</StationName><RadioNr>2</RadioNr><Freq>43127471</Freq><TXFreq>43187471</TXFreq><Mode>FM</Mode><RadioMox>OFF</RadioMox><FocusRadioNr>3</FocusRadioNr><ActiveRadioNr>3</ActiveRadioNr><ActiveRadioMox>OFF</ActiveRadioMox></RadioInfo>
Alan
WA9WUD
1 -
Hi Kor, there is an Arduino library for Flex written by Enzo, IW7DMH. This makes it easy to get information from the radio. I have modified it to work with V2.x and V3.x. It does require a TCP/IP connection, so the Arduino Due and ethernet shield work great for this. For less cost and higher performance, the Teensy 4.1 from PJRC is the best choice.
With this library, you can go directly to the radio, and not have FRStack as a middleman.
I plan on making my version of the library available on GitHub today or tomorrow. If you decide to go this route, I would be happy to help you to get it working.
73,
Len, KD0RC
1 -
Thanks Alan & Len for your swift insights !
vy 73, Kor.0 -
> @KD0RC said:
> Hi Kor, there is an Arduino library for Flex written by Enzo, IW7DMH. This makes it easy to get information from the radio. I have modified it to work with V2.x and V3.x. It does require a TCP/IP connection, so the Arduino Due and ethernet shield work great for this. For less cost and higher performance, the Teensy 4.1 from PJRC is the best choice.
> With this library, you can go directly to the radio, and not have FRStack as a middleman.
> I plan on making my version of the library available on GitHub today or tomorrow. If you decide to go this route, I would be happy to help you to get it working.
> 73,
> Len, KD0RC
Hi Len,
I have been trying to Enzo's stuff but so far not able to connect to the 6400. His Tes01 example returns UDP data, but the IP adress returned is different from what the UDP packet says. See below capture.
Can you share your updated library that you are using in your project?
Thanks for your help.
=== Started DHCP request
=== Waiting for IP address
IP address is: 192.168.1.63
===Looking for Flex Rig (UDP)===
FLEX-6400
3218-8630-6400-2236 version=3.1.12.51 nickname=Kor callsign=PA0KDV ip=192.168.1.55 port=4992 status=Available inuse_ip=192.168.1.54 inuse_host= max_licensed_version=v3 radio_license_id=00-1C-2D-05-09-4E requires_additional_license=0 fpc_mac= wan_connected=0 licensed_clients=2 available_clcFLEX-6400_panadapters=2 available_panadapters=1 max_slices=2 available_slices=1 gui_client_ips=192.168.1.54 gui_client_hostsssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
===========Flex Rig=============
IP Address:105.108.97.98<
Model Name:FLEX-6400 serial=3218-8630-6400-2236 version=3.1.12.51 nickname=Kor callsign=PA0KDV ip=192.168.1.55 port=4992 status=Available inuse_ip=192.168.1.54 inuse_host= max_licensed_version=v3 radio_license_id=00-1C-2D-05-09-4E requires_additional_license=0 fpc_mac= wan_connected=0 licensed_clients=2 available_clcFLEX-6400_FLilab0 -
Hi Kor, well, it looks like you are making good progress! I just sent you the libs that I modified to your QRZ.com e-mail. Note that they are for a Teensy 4.1 board, not an Arduino so I don't know if they will work or not. The NativeEthernet.h library is strictly for the Teensy 4.1, Arduino uses Ethernet.h. The only change is to the NativeEthernet.cpp file - I changed the time out from 60000 to 6000 (from 1 minute to 6 seconds).
When you start your Arduino, do you already have SmartSDR running? If not, that might explain the IP addresses.
Here is what I get when I connect (I have probably got some additional print statements in there from when I was debugging):
=== Started DHCP request
=== Waiting for IP address
IP address is: 192.168.0.25
TeensyMaestro IP: 192.168.0.25
===Looking for Flex Rig (UDP)===
packetSize: 608
FLEX-6400
0720-1014-6400-xxxx
===========Flex Rig=============
IP Address:192.168.0.16<
Model Name:FLEX-6400<
Serial:0720-1014-6400-xxxx<
Version:3.1.12.51<
NickName:Len.6400<
FLEX-6400
0720-1014-6400-xxxx
Len.6400
3.1.12.51
537142100
Found
connecting to Flex rig: 192.168.0.16.
Connected
5445932B
M10000001|Client connected from IP 192.168.0.25
0
Leave a Comment
Categories
- All Categories
- 289 Community Topics
- 2.1K New Ideas
- 536 The Flea Market
- 7.5K Software
- 6K SmartSDR for Windows
- 146 SmartSDR for Maestro and M models
- 360 SmartSDR for Mac
- 250 SmartSDR for iOS
- 231 SmartSDR CAT
- 172 DAX
- 353 SmartSDR API
- 8.8K Radios and Accessories
- 7K FLEX-6000 Signature Series
- 32 FLEX-8000 Signature Series
- 851 Maestro
- 44 FlexControl
- 847 FLEX Series (Legacy) Radios
- 799 Genius Products
- 417 Power Genius XL Amplifier
- 279 Tuner Genius XL
- 103 Antenna Genius
- 243 Shack Infrastructure
- 166 Networking
- 404 Remote Operation (SmartLink)
- 130 Contesting
- 632 Peripherals & Station Integration
- 125 Amateur Radio Interests
- 873 Third-Party Software