Richard Shaw | 17 Jun 2013 22:40
Picon
Gravatar

golay23 as separate library?

Ok, per Bruces direction, I have created a new directory under freetel called "rfmodem".

I have copied (for now) the golay23 sources there and created a basic cmake config for building and installing the library.

Should I assume that the same COPYING file needs to be in the rfmodem directory? (LGPL v2.1?)

Thanks,
Richard
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Freetel-codec2 mailing list
Freetel-codec2@...
https://lists.sourceforge.net/lists/listinfo/freetel-codec2
Frank Palazzolo | 17 Jun 2013 07:48
Favicon

Building on Windows

I finally got back to getting my build up and going on Windows - successfully!

I finished off the autotools-based make only because that's what I had started.  I'll try cmake next time.

As it turns out, I really need serial PTT in order to use FreeDV.  The vox/half duplex option never worked for me. And Hamlib isn't working for me either.  Finally, it seems the serial PTT is not working in the latest code (?) at least on windows.

So, I built up to revision 1268, (just prior to the hamlib introduction) and added dlg_options.o to Makefile.Win32 which was overlooked in that revision. This appears to be the latest configuration that is functional on windows for me.

Thanks,
Frank
NQ8N

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Freetel-codec2 mailing list
Freetel-codec2@...
https://lists.sourceforge.net/lists/listinfo/freetel-codec2
Kristoff Bonne | 15 Jun 2013 23:50
Picon

c2gmsk: API version 20130606: auxiliary data service + migration to LGPL

Hi All,

I have just commited API version 20130606 to github.

1/ As discussed before, new in this release (compaired to 20130601) is 
the "auxiliary data service" in the 2400 bps modem.

The procedure works like this:
* on the sending side:
-> the API call "c2gmsk_auxdata_sendmessage" will queue a message to be 
send by the modem.
The text will be send at the rate of 100 bps, or 1 nibble (= 4 bits) per 
audio-frames of 40 ms. The end of the message is marked by a "null" 
marker (i.e. a character containing 0x00).
-> when the text has been completely send, a message 
"C2GMSK_MSG_AUXDATA_DONE" is returned by the API to the modulator when 
the frame containing the last nibble of the terminating null-char has 
been send
-> when no data needs to be send, the "null" character is send

* on the receiving side:
When a stream it being received, a message "C2GMSK_MSG_AUXDATA" is send 
to the API to the application when a complete message has received (i.e. 
when the terminating null-char has been received).

2/ I've also taken the opportunity to change the license on the code 
from GPL to LGPL.

Of course, I have only changed the license of the code written by 
myself. Most other code was already under the LGPL license by their 
respective authors. Only the low-level GMSK DSP-filters are licensed 
under GPL by the author.

The 2400 bps modem still carries the version-id 2400/15 (15 = 
"experimental") as I am still waiting for additional test-results.

73
kristoff - ON1ARF

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
Bruce Perens | 15 Jun 2013 00:46
Gravatar

How good an oscillator can we get for using narrow channel widths?

This costs less than $1.50 in 2000 quantity: 
http://www.rfm.com/products/data/xtc7006.pdf
If the radio is calibrated, this gets us +-220 Hz at 440. If it's not 
calibrated, we could be several kHz off in total.
And this potentially adds 3-6 mW to the standby power.
It gets to $20 if we want 100 parts per billion of precision.
If we are going to have GPS anyway, we should select one with a 
frequency output, and use that to calculate an offset for our oscillator.

     Thanks

     Bruce

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
Richard Shaw | 13 Jun 2013 23:22
Picon
Gravatar

Improvements to bootstrapping of wxWidgets

I recently committed an update to the cmake configuration to make bootstrapping wxWidgets a bit easier.

Before you had to toggle the BOOTSTRAP_WXWIDGETS option between cmake/make runs but I found out that I can test for the completion of the wxWidgets build target so you still have to run cmake & make twice, but you don't have to change anything between runs.

I updated the README.cmake to include the change in behavior.

Thanks,
Richard
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Freetel-codec2 mailing list
Freetel-codec2@...
https://lists.sourceforge.net/lists/listinfo/freetel-codec2
ZL2PG | 12 Jun 2013 06:22

digital data over hf

I think there’s been some discussion around using fdmdv2 to pass digital data (not voice).  Could someone point me in the right direction or some past discussions?  Thanks!

 

 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Freetel-codec2 mailing list
Freetel-codec2@...
https://lists.sourceforge.net/lists/listinfo/freetel-codec2
Curt, WE7U | 11 Jun 2013 01:18
Picon

Installing using "cmake" on CentOS-6.4 64-bit


Trying cmake on another OS.  Managed to make it this far.  Please no lectures about "root", I'm a SysAdmin and
understand the consequences.  This is a test VM I had available, and it has no user accounts (and I didn't
feel like making any for this simple test).  ;-)

yum install gcc gcc-c++ gtk2-devel make svn libarchive libtool-ltdl-devel libsamplerate-devel
libsndfile-devel sox-devel

# cmake wasn't new enough, so installed it from a separate download:
wget ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/cathay4t:/misc-rhel6/CentOS_CentOS-6/x86_64/cmake-2.8.9-3.1.x86_64.rpm
rpm -U cmake-2.8.9-3.1.x86_64.rpm

# Portaudio
wget http://www.portaudio.com/archives/pa_stable_v19_20111121.tgz
tar xzvf pa_stable_v19_20111121.tgz
cd papa_stable_v19_20111121
./configure
make
sudo make install

# Hamlib
# Download hamlib from:  http://sourceforge.net/projects/hamlib/files/hamlib/1.2.15.3/hamlib-1.2.15.3.tar.gz/download?use_mirror=iweb
tar xzvf hamlib-1.2.15.3.tar.gz
cd hamlib-1.2.15.3
./configure
make
sudo make install

# Download and install WxWidgets 2.9.4 from:
#
# http://www.wxwidgets.org/downloads/
#
tar xjvf wxWidgets-2.9.4.tar.bz2
cd wxWidgets-2.9.4
./configure
make
sudo make install

# Download and install libctb:
#
wget https://iftools.com/download/ctb/0.16/libctb-0.16.tar.gz
tar xzvf libctb-0.16.tar.gz
cd libctb-0.16/build
make -f GNUmakefile
sudo make -f GNUmakefile install
# Copy a forgotten include file into /usr/local/include area:
sudo cp ../include/ctb_0.16/kbhit.h /usr/local/include/ctb-0.16/.

# Check out and install FreeDV:
#
mkdir freetel
cd freetel
svn checkout http://freetel.svn.sourceforge.net/svnroot/freetel freetel-code
cd freetel-code/fdmdv2
mkdir linux_build
cd linux_build
rm CMakeCache.txt; cmake .. -DUSE_STATIC_CODEC2=1

# NOTE:  You may need to install additional libraries via "yum", then
# retry the above "cmake" command until it completes successfully.

make clean
make
...
Linking C executable insert_errors
[100%] Built target insert_errors
[ 29%] No install step for 'codec2'
[ 33%] Completed 'codec2'
[ 33%] Built target codec2
Scanning dependencies of target freedv
[ 37%] Building CXX object src/CMakeFiles/freedv.dir/dlg_about.cpp.o
[ 41%] Building CXX object src/CMakeFiles/freedv.dir/dlg_audiooptions.cpp.o
[ 45%] Building CXX object src/CMakeFiles/freedv.dir/dlg_filter.cpp.o
[ 50%] Building CXX object src/CMakeFiles/freedv.dir/dlg_options.cpp.o
[ 54%] Building CXX object src/CMakeFiles/freedv.dir/dlg_ptt.cpp.o
[ 58%] Building CXX object src/CMakeFiles/freedv.dir/fdmdv2_main.cpp.o
[ 62%] Building CXX object src/CMakeFiles/freedv.dir/fdmdv2_pa_wrapper.cpp.o
[ 66%] Building CXX object src/CMakeFiles/freedv.dir/fdmdv2_plot.cpp.o
[ 70%] Building CXX object src/CMakeFiles/freedv.dir/fdmdv2_plot_scalar.cpp.o
[ 75%] Building CXX object src/CMakeFiles/freedv.dir/fdmdv2_plot_scatter.cpp.o
[ 79%] Building CXX object src/CMakeFiles/freedv.dir/fdmdv2_plot_spectrum.cpp.o
[ 83%] Building CXX object src/CMakeFiles/freedv.dir/fdmdv2_plot_waterfall.cpp.o
[ 87%] Building CXX object src/CMakeFiles/freedv.dir/hamlib.cpp.o
[ 91%] Building CXX object src/CMakeFiles/freedv.dir/topFrame.cpp.o
[ 95%] Building C object src/CMakeFiles/freedv.dir/sox_biquad.c.o
/root/src/we7u/freetel/freetel-code/fdmdv2/src/sox_biquad.c: In function 'sox_biquad_filter':
/root/src/we7u/freetel/freetel-code/fdmdv2/src/sox_biquad.c:98: warning: passing argument 4 of
'lsx_biquad_flow' from incompatible pointer type
/root/src/we7u/freetel/freetel-code/fdmdv2/src/sox_biquad.c:37: note: expected 'size_t *' but
argument is of type 'unsigned int *'
/root/src/we7u/freetel/freetel-code/fdmdv2/src/sox_biquad.c:98: warning: passing argument 5 of
'lsx_biquad_flow' from incompatible pointer type
/root/src/we7u/freetel/freetel-code/fdmdv2/src/sox_biquad.c:37: note: expected 'size_t *' but
argument is of type 'unsigned int *'
[100%] Building C object src/CMakeFiles/freedv.dir/varicode.c.o
Linking CXX executable freedv
CMakeFiles/freedv.dir/sox_biquad.c.o: In function `sox_biquad_finish':
sox_biquad.c:(.text+0x203): undefined reference to `sox_quit'
CMakeFiles/freedv.dir/sox_biquad.c.o: In function `sox_biquad_start':
sox_biquad.c:(.text+0x223): undefined reference to `sox_init'
collect2: ld returned 1 exit status
make[2]: *** [src/freedv] Error 1
make[1]: *** [src/CMakeFiles/freedv.dir/all] Error 2
make: *** [all] Error 2

# The next command would have been:
sudo make install

--

-- 
Curt, WE7U.        http://wetnet.net/~we7u
Windows ate my homework!

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
Richard Shaw | 10 Jun 2013 18:27
Picon
Gravatar

Are we ready to remove autotools in fdmdv2?

Unless someone has a problem/data point to the contrary, I think the cmake build now performs equal or better than the autotools build for all systems/platforms.

Is it time for the patchwork of makefiles to die? I think it's causing confusing to newer people attempting to build codec2/freedv for the first time.

Thoughts?

Thanks,
Richard
KF5OIM
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Freetel-codec2 mailing list
Freetel-codec2@...
https://lists.sourceforge.net/lists/listinfo/freetel-codec2
Stuart Longland (VK4MSL | 10 Jun 2013 06:32
Gravatar

Alternative to the Rpi/BeagleBone

Hi all,

Just stumbled across this little board:
http://www.dontronics-shop.com/olimex-imx233-olinuxino-micro.html

I worked with an i.MX27 MCU when I was working at Jacques, and it wasn't
a bad piece of kit.  There they were using boards made by Ka-Ro, which
incorporated an i.MX27 on a SO-DIMM module.

Yes, the Linux kernel shipped with the things was ancient, but without
too much trouble I managed to port the Penguitronix git tree over to
them at the time.

This Olimex board seems to have most of the peripherals one would need
on the GPIO headers themselves, including stereo audio in/out ports.

The board costs about as much as a Raspberry Pi, one downside is that it
has less RAM.  I'm digging around to see if it has hardware float;
apparently it's an optional feature of the ARM926EJ-S.
--

-- 
Stuart Longland (aka Redhatter, VK4MSL)

I haven't lost my mind...
  ...it's backed up on a tape somewhere.

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
Bruce Perens | 10 Jun 2013 00:24
Gravatar

freedv.org upgrade

Freedv.org is getting its Debian release upgrade. There might be some 
web site downtime this evening.

     Thanks

     Bruce

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
Richard Shaw | 8 Jun 2013 14:25
Picon
Gravatar

PTT Issues with latest SVN (1312)

Ok, I did have serial PTT working... *BUT* it was really weird...

I meant to write about this weeks ago but since I've been concentrating on the cmake build I never got around to it.

First hardware... I've got a home build opticoupler serial interface using a PL2303 (real one, not the Chinese knock off) with both RTS and DTR connected through diodes so I can use either for +V keying.

I'm not sure if it was libctb or the way we use it, but when I first tried it I got really weird results. Just doing RTS +V wouldn't work so I started experimenting. Some combinations would key immediately when I pressed OK, others wouldn't key at all. Some others would key in reverse. And at the time it would work whether I had the checkbox checked or not.

When it was working, the right combination was DTR and +V checked on BOTH. 

No, *every* combination will quickly key on OK, which I assume is just the serial port initializing, but when I click START it goes straight to keying. Clicking PTT doesn't turn it off.

It either doesn't look like the libctb stuff was restored properly or there's some interaction with hamlib?

Thanks,
Richard
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Freetel-codec2 mailing list
Freetel-codec2@...
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Gmane