xlxd/ambed
Luca Marchesano 57f5462d0b
Fix MIN macro
2018-11-20 21:52:30 +01:00
..
cambepacket.cpp ambed version 1.0.0 2017-08-09 13:26:01 +02:00
cambepacket.h ambed 1.3.0 2017-11-13 08:42:32 +01:00
cambeserver.cpp ambed version 1.0.0 2017-08-09 13:26:01 +02:00
cambeserver.h ambed version 1.0.0 2017-08-09 13:26:01 +02:00
cbuffer.cpp Added startup systemd, change compiling setting 2018-11-19 12:42:43 +01:00
cbuffer.h ambed version 1.0.0 2017-08-09 13:26:01 +02:00
ccallsign.cpp Added startup systemd, change compiling setting 2018-11-19 12:42:43 +01:00
ccallsign.h ambed version 1.0.0 2017-08-09 13:26:01 +02:00
ccontroller.cpp Added startup systemd, change compiling setting 2018-11-19 12:42:43 +01:00
ccontroller.h ambed version 1.0.0 2017-08-09 13:26:01 +02:00
cftdidevicedescr.cpp amber 1.3.2 2018-06-25 18:41:24 +02:00
cftdidevicedescr.h amber 1.3.2 2018-06-25 18:41:24 +02:00
cip.cpp ambed version 1.0.0 2017-08-09 13:26:01 +02:00
cip.h ambed version 1.0.0 2017-08-09 13:26:01 +02:00
cpacket.cpp ambed version 1.0.0 2017-08-09 13:26:01 +02:00
cpacket.h ambed 1.3.0 2017-11-13 08:42:32 +01:00
cpacketqueue.cpp ambed version 1.0.0 2017-08-09 13:26:01 +02:00
cpacketqueue.h ambed version 1.0.0 2017-08-09 13:26:01 +02:00
cstream.cpp ambed version 1.0.0 2017-08-09 13:26:01 +02:00
cstream.h ambed version 1.0.0 2017-08-09 13:26:01 +02:00
ctimepoint.cpp ambed version 1.0.0 2017-08-09 13:26:01 +02:00
ctimepoint.h ambed version 1.0.0 2017-08-09 13:26:01 +02:00
cudpsocket.cpp ambed version 1.0.0 2017-08-09 13:26:01 +02:00
cudpsocket.h ambed version 1.0.0 2017-08-09 13:26:01 +02:00
cusb3xxxinterface.cpp Added startup systemd, change compiling setting 2018-11-19 12:42:43 +01:00
cusb3xxxinterface.h ambed 1.3.0 2017-11-13 08:42:32 +01:00
cusb3000interface.cpp Added startup systemd, change compiling setting 2018-11-19 12:42:43 +01:00
cusb3000interface.h amber version 1.1.0 2017-08-21 17:03:29 +02:00
cusb3003df2etinterface.cpp realign devicenames after accidental rename 2017-11-07 01:33:31 +01:00
cusb3003df2etinterface.h Add files via upload 2017-11-05 20:39:15 +01:00
cusb3003hrinterface.cpp Added startup systemd, change compiling setting 2018-11-19 12:42:43 +01:00
cusb3003hrinterface.h Add files via upload 2017-11-05 20:39:15 +01:00
cusb3003interface.cpp Added startup systemd, change compiling setting 2018-11-19 12:42:43 +01:00
cusb3003interface.h ambed 1.3.0 2017-11-13 08:42:32 +01:00
cvocodecchannel.cpp ambed 1.1.1 2017-08-23 15:00:23 +02:00
cvocodecchannel.h ambed version 1.0.0 2017-08-09 13:26:01 +02:00
cvocodecinterface.cpp ambed version 1.0.0 2017-08-09 13:26:01 +02:00
cvocodecinterface.h ambed version 1.0.0 2017-08-09 13:26:01 +02:00
cvocodecs.cpp Added startup systemd, change compiling setting 2018-11-19 12:42:43 +01:00
cvocodecs.h amber 1.2.0 2017-11-05 18:18:59 +01:00
cvoicepacket.cpp ambed version 1.0.0 2017-08-09 13:26:01 +02:00
cvoicepacket.h ambed 1.3.0 2017-11-13 08:42:32 +01:00
ftd2xx.h ambed version 1.0.0 2017-08-09 13:26:01 +02:00
main.cpp amber 1.2.1 2017-11-08 10:36:22 +01:00
main.h Fix MIN macro 2018-11-20 21:52:30 +01:00
makefile Added startup systemd, change compiling setting 2018-11-19 12:42:43 +01:00
readme amber 1.3.2 2018-06-25 18:41:24 +02:00
README.md Added startup systemd, change compiling setting 2018-11-19 12:42:43 +01:00
run ambed version 1.0.0 2017-08-09 13:27:06 +02:00
syslog.h ambed version 1.0.0 2017-08-09 13:26:01 +02:00
WinTypes.h ambed version 1.0.0 2017-08-09 13:26:01 +02:00

Created by Jean-Luc Deltombe (LX3JL) on 09/07/2017.
Copyright © 2017 Jean-Luc Deltombe (LX3JL). All rights reserved.
----------------------------------------------------------------------------- 
This file is part of ambed.
xlxd is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
xlxd is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Foobar.  If not, see <http://www.gnu.org/licenses/>.

VERSION: 1.3.2 Hardware compatibility.

This version of ambed is compatible with:

  • DF2ET's AMBE3003USB opensource device (https://github.com/phl0/AMBE3003USB)
  • LX3JL's USB-3006 opensource device (https://github.com/lx3jl/usb-3006)
  • DVSI's USB-3000 device
  • DVSI's USB-3003 device
  • DVSI's USB-3012 device
  • NWDR's ThumbDV device
  • NWDR's ThumbDV-3 device
  • DVMEGA AMBE3000 device
  • DVMEGA AMBE3003 device
  • TEAM6160 AMBE3000 device Available transcoding channels per device:
device			 DMR->DSTAR		DSTAR->DMR		Nb Of concurrent channels
-------------------------------------------------------------------------------------------------
3000(pair)		    1				1			2
3003			    1				1			2
3003(pair)		    3				3			4
3003-3000(pair)	            2			        2		not tested
3006			    3				3			6
3012			    6				6			12

Multiple devices can be used at the same time. You need to use 3000 by pairs or paired with a 3003 Do not to use USB hubs as they have proven making system behaviour unreliable. Instructions:

  1. Installation of FTDI drivers Download from FTDI web site the latest D2XX driver package http://www.ftdichip.com/Drivers/D2XX.htm Follow FTDI provided documentation for installation and testing of the drivers. For macchine x86 x64
# wget http://www.ftdichip.com/Drivers/D2XX/Linux/libftd2xx-i386-1.4.8.gz
# wget http://www.ftdichip.com/Drivers/D2XX/Linux/libftd2xx-x86_64-1.4.8.gz

For raspberry ARMv6 ARMv7

# wget http://www.ftdichip.com/Drivers/D2XX/Linux/libftd2xx-arm-v6-hf-1.4.8.gz
# wget http://www.ftdichip.com/Drivers/D2XX/Linux/libftd2xx-arm-v7-hf-1.4.8.gz

Extract files

# tar xfvz libftd2xx-XXX-1.4.8.tgz
# cd /release/build
# cp libftd2xx.* /usr/local/lib
# chmod 0755 /usr/local/lib/libftd2xx.so.1.4.8
# ln -sf /usr/local/lib/libftd2xx.so.1.4.8 /usr/local/lib/libftd2xx.s
  1. installation of g++ compiler
# apt-get install build-essential

Only Debian 7

# apt-get install g++-4.7
  1. download and compile ambed
# git clone https://github.com/LX3JL/xlxd.git
# cd xlxd/ambed/
# make clean
# make
# make install

Remove module kernel

# rmmod ftdi_sio
# rmmod usbserial
  1. configuring ambed startup service
# cp -r ~/xlxd/Systemd/ambed.* /lib/systemd/system/
Edit file ambed.service for change IP if xlxd run other PC
N.B If ambed is running on same machine than xlxd, use default 127.0.0.1
otherwise use the machine own IPs
# pico /lib/systemd/system/ambed.service
Update sevice list
# systemctl daemon-reload
Enable service autostart
# systemctl enable ambed.timer
  1. running ambed note: Due to specific FTDI driver implementation, ambed must be running with root privilege, and cannot be run as a daemon. So ambed will display the information and error messages in the terminal it has been started from Command of start/stop/restart/status service
# service ambed start
# service ambed stop
# service ambed restart
# service ambed status