modified coumentation
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Tue, 15 Dec 2015 23:35:02 +0000 (23:35 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Tue, 15 Dec 2015 23:35:02 +0000 (23:35 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@2541 01035d8c-6547-0410-b346-abe4f91aad63

freebeacon/freebeacon.c

index c595c57f76ce19682d2361d5379b14f1b3c1e1bd..ea01f5db1d0797762862d6e5559a35e77ae6caab 100644 (file)
       + add mode, state machine
       + has audio interfaces, PTT, so neat solution
 
-  Building:
-    Download and "make install && ldconfig" codec2.  On my Ubuntu 14 and RPi I had to add an extra search
-    path to the ld.conf.d directory to match the path the codec2 .so was installed in.
+  Building and Installation: 
 
-    apt-get install libsamplerate0-dev portaudio19-dev libportaudio-dev libsndfile1-dev
-    gcc -I/usr/local/include/codec2 freebeacon.c -o freebeacon -lsamplerate -lportaudio -lsndfile -lcodec2
+    sudo apt-get install subversion cmake libsamplerate0-dev portaudio19-dev libsndfile1-dev
+
+    svn co http://svn.code.sf.net/p/freetel/code/codec2-dev
+    cd codec2-dev
+    mkdir build_linux
+    cd build_linux
+    cmake ../
+    make
+    sudo make install
+
+    Note: On my Ubuntu 14 and RPi I had to add an extra search path to the
+    ld.conf.d directory to match the path the codec2 .so was installed
+    in.
+
+    ldconfig -v
+
+    svn co http://svn.code.sf.net/p/freetel/code/freebeacon
+    cd freebeacon
+    make
 
     Plug in your USB sound card and USB RS232 devices.
     Use alsamixer to adjust levels on your sound card. 
   Example usage:
     ./freebeacon -c /dev/ttyUSB1 --txfilename ~/codec2-dev/wav/vk5qi.wav --dev 4 -v --trigger hello
 
+  Testing your PTT by making it jump straght into tx mode:
+    ./freebeacon -c /dev/ttyUSB1 --txfilename ~/codec2-dev/wav/vk5qi.wav --dev 4 -v --trigger hello -t
+
   Testing sound cards on RPi:
 
   $ arecord -l