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.
Standalone API connectivity issue
I am building a "MiniMaestro" that connects to my Flex using the network (see my QRZ.com page for pics and details). I have two versions - one that is Arduino Due/Ethernet Shield based and the other that is Teensy 4.1 based. The Teensy has a built in Ethernet port. So far I can adjust volume, frequency, AGC-T and a few other items. If I am plugged into my DHCP-served LAN at home, all is well. Both devices can be plugged into the network at the same time and both work great.
On outings in my 5th wheel camper, the Arduino Due unit works fine with a network switch (no router) by setting the ip to 169.254.5.16. The radio shows up as 169.254.5.220. The Teensy is running the same code (recompiled, of course) as the Due, but it does not work right. I have an ip of 169.254.5.25 set for it ( I did try others, including 16). If I turn the volume knob, it moves the volume a couple of notches, then just quits. If I hit the mute button, It will mute, then get lost. SmartSDR stays alive and continues to work perfectly. If I have both devices connected and active, the Due continues to work perfectly.
Sooo... To my question. Is there something that I need to do differently when running without a DHCP served address? Am I just getting lucky with the Due working and the Teensy not? Seems very strange that they both work flawlessly under DCHP, leading me to wonder if there is something that I need to care for.
Thanks & 73
Len, KD0RC
Best Answer
-
There shouldn't be anything you need to do differently. If you are setting a static IP in the 169.254.0.0 address range, make sure that your subnet mask is a 16-bit mask (255.255.0.0)
5
Answers
-
@KD0RC This post was created as a discussion, but is actually a question where you desire an answer. This topic should have been a Q&A topic, not a discussion. For more information on how to create an Q&A, please see the Message Board post, Using New Q&A (Question & Answer) Feature.
I have gone ahead and converted this discussion to a Q&A for you.
0 -
Thanks Tim, I appreciate the quick response! Yes, I am using a 16 bit mask. Since it works properly using the Arduino Due, I guess there must be an issue with the Teensy ethernet library. I will dig around in there next. Hopefully, I will have something positive to report soon. In the meantime, the project is moving right along. I now have a 480 x 320 color TFT display up and running.
Thanks & 73,
Len, KD0RC
0 -
Follow up - The Teensy ethernet library was indeed the culprit. It was promptly fixed and now I can connect my Teensy version to the Flex with or without DHCP. I have moved on from the clip-lead test shown in the previous picture...
73,
Len
1
Leave a Comment
Categories
- All Categories
- 289 Community Topics
- 2.1K New Ideas
- 534 The Flea Market
- 7.5K Software
- 6K SmartSDR for Windows
- 146 SmartSDR for Maestro and M models
- 360 SmartSDR for Mac
- 249 SmartSDR for iOS
- 230 SmartSDR CAT
- 172 DAX
- 352 SmartSDR API
- 8.8K Radios and Accessories
- 7K FLEX-6000 Signature Series
- 26 FLEX-8000 Signature Series
- 844 Maestro
- 44 FlexControl
- 847 FLEX Series (Legacy) Radios
- 796 Genius Products
- 416 Power Genius XL Amplifier
- 277 Tuner Genius XL
- 103 Antenna Genius
- 243 Shack Infrastructure
- 166 Networking
- 404 Remote Operation (SmartLink)
- 130 Contesting
- 631 Peripherals & Station Integration
- 125 Amateur Radio Interests
- 870 Third-Party Software