Commit Graph

1787 Commits

Author SHA1 Message Date
Johannes Pohl
78e596d643 version2.1.0 2018-06-01 10:18:46 +02:00
Johannes Pohl
26e5bbb492 Add a CLI (#440)
* add argument parser for CLI

* add pause to cli

* parse messages to send

* add send function

* use while loop instead of hard sleep

* use logger for error msg

* use tabulator for progress bar

* prepare rx mode

* use Thread for Protocol Sniffer instead of qt signals

* adapt tests

* fix thread can only be started once error

* enable receiving from command line

* support send from file

* save gain correctly

* enable rx into file

* remove unused signal

* enable raw rx and file mode

* add support for device identifier

* add support for default pause

* enable abort sending witt ctrl c

* support encodings

* make logging multiprocessing aware and add autobuild extensions to cli

* move place

* fix sniffer when receiving multiple messages at once

* add test for modulator cli parsing and fix some bugs

* extend modulator test and fix another bug

* add unittests and reorder urh_cli structure

* add tests

* adapt CI to CLI tests

* force osx

* fix osx

* adapt close dialog method

* remove close dialog method

* test read messages to send

* centralize read messages method

* increase timeout for ci

* support loading of project files to load cli values

* add sleep for ci

* add cli to deployment

* replace static calls with ProjectManager Class

* use time sleep instead of qwait

* disable gc collect call

* disable gc collect for python 3.4 only

* gc collect only for osx

* simplify cleanup

* simplify cleanup

* advanced cleanup only for windows

* cleanup also for osx

* gc collect for osx

* add unittests

* consider frozen app path

* init multiprocessing first

* enable logging on cli for windows

* use log file handler for log

* add missing import
2018-06-01 09:59:53 +02:00
Johannes Pohl
2dd16d955a fix faulty label visibility behaviour described in #451 2018-05-30 22:47:10 +02:00
Johannes Pohl
93dd981382 consider hidden zeros for show selection in interpretation fix #442 2018-05-29 14:15:52 +02:00
Johannes Pohl
4c4403313b fix #444 2018-05-29 10:16:38 +02:00
Johannes Pohl
d627bb48c7 fix #441 2018-05-29 09:56:10 +02:00
Johannes Pohl
f4bb8fd2e2 catch exception for deployed win version 2018-05-23 15:05:11 +02:00
Johannes Pohl
4ebbfaf7f2 hide USRP messages when checking for native interface 2018-05-23 13:43:35 +02:00
Johannes Pohl
cfbec470d3 Allow export of spectrogram and demodulated view (#437)
* add export for demodulated signal

* allow to export spectrogram

* improve initial names

* increase timeout for ci

* update coveragerc
2018-05-22 11:17:38 +02:00
Johannes Pohl
0570b67e73 make refin and refout configurable for CRC 2018-05-22 11:16:45 +02:00
Johannes Pohl
700e74fc14 make exception more verbose 2018-05-14 06:56:39 +02:00
Johannes Pohl
39d1ee11d3 refactor code 2018-05-06 21:42:39 +02:00
Johannes Pohl
be14e5341e version2.0.4 2018-05-06 21:08:17 +02:00
Johannes Pohl
170dccf2d8 make 24bit wav also work on windows 2018-05-06 20:57:27 +02:00
Johannes Pohl
c00f2e30f4 version2.0.3 2018-05-06 19:19:11 +02:00
Johannes Pohl
defefb46ba add support for 24bit wav 2018-05-06 19:17:32 +02:00
Johannes Pohl
5b4885c732 add identifier key 2018-05-03 21:00:36 +02:00
Johannes Pohl
7407c6b375 Multi device support (#432)
* control device extensions with macros remove fallback logic

* wrap hackrf device list method

* add multi device support for hackrf

* fix argument order

* add multi dev support for rtlsdr

* add multi device support for lime sdr

* add multi device support for sdrplay

* multi device support for usrp
2018-05-03 16:47:50 +02:00
andynoack
a3c0a24f51 prevent bandwidth lock for soundcard sample rate setting 2018-05-03 14:09:22 +02:00
Johannes Pohl
a0469f11bf Add SoundCard Support (#433)
* add test for sound device lib

* add trace for missing portaudio

* optimize imports

* add test for pyaudio

* initial soundcard implementation with health check

* enable rx for soundcard

* enable tx for soundcard

* make sample rate configurable

* python 3.4 compat
2018-05-01 19:19:08 +02:00
andynoack
98a77718ef disable device selection during spectrum analyzer is running 2018-04-26 08:40:38 +02:00
Johannes Pohl
6fa114b2a7 improve scrolling 2018-04-25 16:45:11 +02:00
Johannes Pohl
fcfccf11b8 version2.0.2 2018-04-22 14:48:12 +02:00
Johannes Pohl
6f9098983d keep message type of messages when entering writeable mode in analysis 2018-04-20 17:49:21 +02:00
Johannes Pohl
f7bdf2881e open label dialog also from label value view 2018-04-20 17:49:21 +02:00
Johannes Pohl
e8311d1a7d add test for insert column in simulator 2018-04-20 17:49:21 +02:00
Johannes Pohl
68c45f634e allow inserting columns in simulator 2018-04-20 17:49:21 +02:00
Johannes Pohl
8edb2105f7 allow editing of constant values in simulator table 2018-04-20 17:49:21 +02:00
Johannes Pohl
9715357f8f properly save old directory when rebuilding extensions from source 2018-04-20 08:51:56 +02:00
Johannes Pohl
c2803cbab3 only pass transcript of current round to external programs 2018-04-20 08:38:51 +02:00
Johannes Pohl
9f3e87469b rename tabs in simulation dialog 2018-04-20 08:38:51 +02:00
Johannes Pohl
09026b9952 make endianness selectable in order column (#428)
* make endianness selectable in order column

* improve display for BE and LE

* add test for choosing endianness

* update coveragerc
2018-04-17 13:05:01 +02:00
jopohl
4330aab51f properly shutdown gr thread 2018-04-14 15:55:27 +02:00
andynoack
42148cde6d ensure bool 2018-04-12 12:20:14 +02:00
Johannes Pohl
9b416a2d05 Simulator Improvements (#423)
* fix transcript for external programs

* allow dropping simulator profiles to simulator

* fix transcript for external programs
2018-04-09 13:23:31 +02:00
Johannes Pohl
08926726e5 add saved rx file in simulator to recent files 2018-04-06 12:15:07 +02:00
Johannes Pohl
a21d25e2f1 save adaptive noise setting 2018-04-06 12:15:07 +02:00
Johannes Pohl
27fe92e19e fix #421 2018-04-05 17:48:04 +02:00
andynoack
fe7eb70eac increase maximum value for max retries 2018-03-29 08:53:34 +02:00
andynoack
93313930de fix crash when modulating empty message 2018-03-29 08:43:02 +02:00
andynoack
b8da04690d Use decode flag also for setData in base class
Generator should also work with this change
2018-03-29 08:34:24 +02:00
Johannes Pohl
cdbbbcde8d fix crash when pasting to empty simulator scene 2018-03-26 16:01:35 +02:00
Johannes Pohl
7060c42f5c make return code of trigger command accessible in rules and formulas 2018-03-26 15:50:53 +02:00
Johannes Pohl
63d62111c1 enable passing transcript to command actions 2018-03-26 15:50:53 +02:00
Johannes Pohl
e322cef324 start rx/tx only when needed in simulator 2018-03-26 15:50:53 +02:00
Johannes Pohl
4b4a9a88e3 fix segfault when choosing external program in simulator 2018-03-26 15:50:53 +02:00
Johannes Pohl
d1a75d1cea check result of external programs when receiving message 2018-03-26 15:50:53 +02:00
Johannes Pohl
4be16817a4 version2.0.1 2018-03-23 12:02:11 +01:00
Johannes Pohl
98574c1129 Save num sending repeats (#415)
* save num sending repeats

* show device tab by default

* adapt unittest

* optimize teardown

* adapt travis conf

* update travis

* improve test

* add verbose flag

* remove options dialog test

* improve open recent test

* improve open recent test

* remove verbose flag

* set depth back
2018-03-21 15:19:10 +01:00
Johannes Pohl
12db6fb9da recompile cython files 2018-03-20 22:12:27 +01:00