diff --git a/convert_benchmark.c b/convert_benchmark.c index 7a0c523..24b1bc1 100644 --- a/convert_benchmark.c +++ b/convert_benchmark.c @@ -1,3 +1,23 @@ +// Part of dump1090, a Mode S message decoder for RTLSDR devices. +// +// convert_benchmark.c: benchmarks for IQ sample converters +// +// Copyright (c) 2016-2017 Oliver Jowett +// Copyright (c) 2017 FlightAware LLC +// +// This file is free software: you may copy, redistribute and/or modify it +// under the terms of the GNU General Public License as published by the +// Free Software Foundation, either version 2 of the License, or (at your +// option) any later version. +// +// This file 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 this program. If not, see . + #include "dump1090.h" static void **testdata_uc8; diff --git a/sdr.c b/sdr.c index 4bc45a3..a437f9b 100644 --- a/sdr.c +++ b/sdr.c @@ -1,5 +1,24 @@ +// Part of dump1090, a Mode S message decoder for RTLSDR devices. +// +// sdr.c: generic SDR infrastructure +// +// Copyright (c) 2016-2017 Oliver Jowett +// Copyright (c) 2017 FlightAware LLC +// +// This file is free software: you may copy, redistribute and/or modify it +// under the terms of the GNU General Public License as published by the +// Free Software Foundation, either version 2 of the License, or (at your +// option) any later version. +// +// This file 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 this program. If not, see . + #include "dump1090.h" -#include "sdr.h" #define ENABLE_RTLSDR #define ENABLE_BLADERF diff --git a/sdr.h b/sdr.h index b578446..072da66 100644 --- a/sdr.h +++ b/sdr.h @@ -1,3 +1,23 @@ +// Part of dump1090, a Mode S message decoder for RTLSDR devices. +// +// sdr.h: generic SDR infrastructure (header) +// +// Copyright (c) 2016-2017 Oliver Jowett +// Copyright (c) 2017 FlightAware LLC +// +// This file is free software: you may copy, redistribute and/or modify it +// under the terms of the GNU General Public License as published by the +// Free Software Foundation, either version 2 of the License, or (at your +// option) any later version. +// +// This file 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 this program. If not, see . + #ifndef SDR_H #define SDR_H diff --git a/sdr_bladerf.c b/sdr_bladerf.c index 2d9b17d..068da48 100644 --- a/sdr_bladerf.c +++ b/sdr_bladerf.c @@ -1,7 +1,21 @@ // Part of dump1090, a Mode S message decoder for RTLSDR devices. // -// bladerf.c: bladeRF support code +// sdr_bladerf.c: bladeRF support // +// Copyright (c) 2017 FlightAware LLC +// +// This file is free software: you may copy, redistribute and/or modify it +// under the terms of the GNU General Public License as published by the +// Free Software Foundation, either version 2 of the License, or (at your +// option) any later version. +// +// This file 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 this program. If not, see . #include "dump1090.h" #include "sdr_bladerf.h" diff --git a/sdr_bladerf.h b/sdr_bladerf.h index c35f9e6..39de012 100644 --- a/sdr_bladerf.h +++ b/sdr_bladerf.h @@ -1,3 +1,22 @@ +// Part of dump1090, a Mode S message decoder for RTLSDR devices. +// +// sdr_bladerf.h: bladeRF support (header) +// +// Copyright (c) 2017 FlightAware LLC +// +// This file is free software: you may copy, redistribute and/or modify it +// under the terms of the GNU General Public License as published by the +// Free Software Foundation, either version 2 of the License, or (at your +// option) any later version. +// +// This file 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 this program. If not, see . + #ifndef BLADERF_H #define BLADERF_H diff --git a/sdr_ifile.c b/sdr_ifile.c index 42fee29..6f7750c 100644 --- a/sdr_ifile.c +++ b/sdr_ifile.c @@ -1,3 +1,53 @@ +// Part of dump1090, a Mode S message decoder for RTLSDR devices. +// +// sdr_ifile.c: "file" SDR support +// +// Copyright (c) 2014-2017 Oliver Jowett +// Copyright (c) 2017 FlightAware LLC +// +// This file is free software: you may copy, redistribute and/or modify it +// under the terms of the GNU General Public License as published by the +// Free Software Foundation, either version 2 of the License, or (at your +// option) any later version. +// +// This file 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 this program. If not, see . + +// This file incorporates work covered by the following copyright and +// permission notice: +// +// Copyright (C) 2012 by Salvatore Sanfilippo +// +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// * Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + #include "dump1090.h" #include "sdr_ifile.h" diff --git a/sdr_ifile.h b/sdr_ifile.h index 63b97c9..6652426 100644 --- a/sdr_ifile.h +++ b/sdr_ifile.h @@ -1,3 +1,23 @@ +// Part of dump1090, a Mode S message decoder for RTLSDR devices. +// +// sdr_ifile.c: "file" SDR support (header) +// +// Copyright (c) 2016-2017 Oliver Jowett +// Copyright (c) 2017 FlightAware LLC +// +// This file is free software: you may copy, redistribute and/or modify it +// under the terms of the GNU General Public License as published by the +// Free Software Foundation, either version 2 of the License, or (at your +// option) any later version. +// +// This file 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 this program. If not, see . + #ifndef SDR_IFILE_H #define SDR_IFILE_H diff --git a/sdr_rtlsdr.c b/sdr_rtlsdr.c index 9f73aca..4c3ae02 100644 --- a/sdr_rtlsdr.c +++ b/sdr_rtlsdr.c @@ -1,3 +1,53 @@ +// Part of dump1090, a Mode S message decoder for RTLSDR devices. +// +// sdr_rtlsdr.c: rtlsdr dongle support +// +// Copyright (c) 2014-2017 Oliver Jowett +// Copyright (c) 2017 FlightAware LLC +// +// This file is free software: you may copy, redistribute and/or modify it +// under the terms of the GNU General Public License as published by the +// Free Software Foundation, either version 2 of the License, or (at your +// option) any later version. +// +// This file 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 this program. If not, see . + +// This file incorporates work covered by the following copyright and +// permission notice: +// +// Copyright (C) 2012 by Salvatore Sanfilippo +// +// All rights reserved. +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions are +// met: +// +// * Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// * Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the distribution. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + #include "dump1090.h" #include "sdr_rtlsdr.h" diff --git a/sdr_rtlsdr.h b/sdr_rtlsdr.h index d83cac5..317b2e4 100644 --- a/sdr_rtlsdr.h +++ b/sdr_rtlsdr.h @@ -1,8 +1,26 @@ +// Part of dump1090, a Mode S message decoder for RTLSDR devices. +// +// sdr_rtlsdr.h: rtlsdr dongle support (header) +// +// Copyright (c) 2016-2017 Oliver Jowett +// Copyright (c) 2017 FlightAware LLC +// +// This file is free software: you may copy, redistribute and/or modify it +// under the terms of the GNU General Public License as published by the +// Free Software Foundation, either version 2 of the License, or (at your +// option) any later version. +// +// This file 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 this program. If not, see . + #ifndef SDR_RTLSDR_H #define SDR_RTLSDR_H -// Support for DVB-T dongles in SDR mode via librtlsdr - void rtlsdrInitConfig(); void rtlsdrShowHelp(); bool rtlsdrOpen();