How to transfer files to the radio.

  • 1
  • Question
  • Updated 4 years ago
I have found and downloaded the Waveform API example. How do I get it in the folder inside the radio? 
Photo of lyndy brannen

lyndy brannen

  • 42 Posts
  • 5 Reply Likes

Posted 4 years ago

  • 1
Photo of Mike Hoing

Mike Hoing

  • 249 Posts
  • 39 Reply Likes
What did you find and where? I have found stuff maybe I don't know what I am looking at

Mike
N9DFD
Photo of lyndy brannen

lyndy brannen

  • 42 Posts
  • 5 Reply Likes
Photo of Mike Hoing

Mike Hoing

  • 249 Posts
  • 39 Reply Likes
So you grab the DSP API folder at stuff it in the radio. Now like you said where
Photo of Bob - G3WKW

Bob - G3WKW

  • 38 Posts
  • 4 Reply Likes
I think you will find it needs to be compiled first. What you have is in C# and what you stuff somewhere needs to be a DLL . So a lot more questions! I have been trying with Visual Studio 2013 but some errors indicate it might have been done on an older version. Or else I don't know what I am doing which is equally likely.
Photo of lyndy brannen

lyndy brannen

  • 42 Posts
  • 5 Reply Likes
Thanks, learning more each day.
Photo of Andrew Russell

Andrew Russell

  • 257 Posts
  • 33 Reply Likes
Not being much of a programmer I need a step by step how to.
Andrew
Photo of lyndy brannen

lyndy brannen

  • 42 Posts
  • 5 Reply Likes
Me too Andrew.
Photo of Bob - G3WKW

Bob - G3WKW

  • 38 Posts
  • 4 Reply Likes
Me as well. Perhaps a new thread asking if anyone has managed to compile and install. What you have downloaded are source files with a .cs suffix so these appear to be in C Sharp or C#. They require building into .dll files according to the processor of your PC. Microsoft Visual Studio is the tool to do that. Look on YouTube for info about that. But I have stuck with error messages that stump me. This is a lot more complex than the Hello World tutorials!
Photo of Bill - K7UOP

Bill - K7UOP

  • 34 Posts
  • 6 Reply Likes

I'm not an expert programmer but have some experience. This is what I've deduced after watching the YouTube video on the Waveform API and looking at the provided source files.

The DSP_API is written in C++ and are text files. They need to be compiled into executable binary files. Executable files need to be compiled for the particular microprocessor that they will be run on. For the Radio this is a 1 GHz ARM M8-hf (Neon) CPU. It is mentioned that a BeagleBone Black is a compatible hardware module and I imagine it can be used for development (compiling, etc.).

The DSP_API\DOCS\Documentation.txt file indicates the folder in the radio where the executable and config file must reside. But, it does not describe how to transfer the files to the radio.

The PC GUI is written in C#. It is intended to run on Windows PC and can be built using Visual Studio. The FlexLib code or dll's are not provided in the download and  the current FlexLib.dll that I have (v1.3.0.25781) does not include definitions for the Waveform API. So, I get errors when trying to build the GUI.

These are not trivial tasks. We will have to wait for Flex to provide more information.

Photo of Bob - G3WKW

Bob - G3WKW

  • 38 Posts
  • 4 Reply Likes
Thank you that explains a lot and why I am getting the errors that I am seeing. Also note that FreeDV is also a moving target so expect to have to recompile every couple of months to keep up. I have used FreeDV with the Flex, perhaps I will stick with that until this is a bit more mature. Back to the "Hello World" tutorials!
Photo of lyndy brannen

lyndy brannen

  • 42 Posts
  • 5 Reply Likes
Thanks Bill.  Getting closer.