SmartSDR v3.9.19 and the SmartSDR v3.9.19 Release Notes
SmartSDR v2.12.1 and the SmartSDR v2.12.1 Release Notes
The latest 4O3A Genius Product Software and Firmware
Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.
How do I determine stations connected ?
Answers
-
Hi Dale, I wrote a little test program for a Raspberry Pi that does exactly what you are looking for. When I can get back to my shack later today, I will dig that up and send you the code.
It is written in C# forms using the Visual Studio IDE. I originally tried to use FlexLib, but it doesn't work under Unix. This version uses the text-based (native) Flex API. It should be easily ported to any C-based language if you don't want to use C#.
0 -
Hi Dale, Here is a Visual Studio C# forms program (Raspberry Paestro) that shows how to find a Flex, connect to it and bind to a connected GUI Client (like SmartSDR). It has very little functionality, but does show the stations that are connected and even lets you choose which one to bind to. Hopefully this will get you going.
I have this running on a Raspberry Pi 4, but I suspect a Pi 3 would work just as well.
Be sure to have the Pi ethernet connected to the same network segment as the radio.
Let me know how this works. If you have issues, post back here and I will do what I can to help.
0 -
Thanks. I took a quick look a that, will dig deeper later on - at the moment I am trying to take advantage of dry weather to get a long wire up. This radio will eventually move to a mountain top repeater site. Right now we are just working to get it operating so we can create documentation and train some people. I have the Flex on a VLAN along with a Raspberry Pi 4. The Softether VNC server allows remote stations to connect at layer 2 so they see the Flex radio as if it was on their network - no need for the SmartSDR login credentials. I played a bit last night with netcat trying some of the SmartSDR TCP/IP API commands. I watched the Youtube video that Annaliese created which was helpful. I was hoping to stumble on a status/info command that would return the count of clients connected and their station names. I will dig through your code and see if I spot how this is done. Thanks & 73, Dale, K7FW0
-
Also look at Node Red for Ham Radio group. There is a flow written for the Flex that shows you that and more. There are flows to control other peripherals as well (amps, tuners, rotors, AC, DC relays, antenna switches, wattmeters, etc).
Node Red server can run on a Pi and probably is best platform to run it on due to reliability of Pi OS and low power consumption
When you start planning a remote station, start giving thought to being able to control and monitor as much as possible and have contingency plan in place in case you lose control. Driving up to a repeater site may not be possible in some areas at parts of the year. My remote base requires snow mobile access at some times during the year.
Luckily the local station does not.
73
Dave wo2x
0
Leave a Comment
Categories
- All Categories
- 329 Community Topics
- 2.1K New Ideas
- 597 The Flea Market
- 7.9K Software
- 6.2K SmartSDR for Windows
- 168 SmartSDR for Maestro and M models
- 397 SmartSDR for Mac
- 260 SmartSDR for iOS
- 247 SmartSDR CAT
- 180 DAX
- 369 SmartSDR API
- 9.1K Radios and Accessories
- 15 Aurora
- 163 FLEX-8000 Signature Series
- 7.1K FLEX-6000 Signature Series
- 911 Maestro
- 51 FlexControl
- 854 FLEX Series (Legacy) Radios
- 873 Genius Products
- 446 Power Genius XL Amplifier
- 312 Tuner Genius XL
- 115 Antenna Genius
- 278 Shack Infrastructure
- 196 Networking
- 439 Remote Operation (SmartLink)
- 135 Contesting
- 726 Peripherals & Station Integration
- 137 Amateur Radio Interests
- 945 Third-Party Software