SmartSDR v3.7.4 and the SmartSDR v3.7.4 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
- 250 Community Topics
- 2.1K New Ideas
- 489 The Flea Market
- 7.4K Software
- 5.9K SmartSDR for Windows
- 135 SmartSDR for Maestro and M models
- 332 SmartSDR for Mac
- 241 SmartSDR for iOS
- 224 SmartSDR CAT
- 161 DAX
- 344 SmartSDR API
- 8.6K Radios and Accessories
- 6.9K FLEX-6000 Signature Series
- 779 Maestro
- 42 FlexControl
- 836 FLEX Series (Legacy) Radios
- 732 Genius Products
- 392 Power Genius XL Amplifier
- 254 Tuner Genius XL
- 86 Antenna Genius
- 224 Shack Infrastructure
- 151 Networking
- 375 Remote Operation (SmartLink)
- 119 Contesting
- 586 Peripherals & Station Integration
- 116 Amateur Radio Interests
- 810 Third-Party Software