Sylvain Munaut
b33bc63042
Some quick DMO hacks
...
Change-Id: Idbc7263f2171367516beedf7fa2c1bcc2779c5e7
2016-12-31 18:07:14 +01:00
Harald Welte
0ca867eda2
remove old gnuradio <= 3.6 demodulator code
...
keeps some of the device specific scripts in addition to the (supposedly
generic) osmosdr-tetra_demod_fft.py
Also, update the README file to corresponding changes.
Change-Id: Icae93bb9a6a7219e14931fb6e04a4c6fffa0779d
2016-12-18 17:10:10 +01:00
Harald Welte
409d2985cb
demod: Import the new GR 3.7 code
...
This adds demodulator code compatible with gnuradio 3.7 series.
Change-Id: Ibaf7f9c552cc1625210a75f2e9ec142ab47ce8d6
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2016-12-18 17:06:32 +01:00
Antonio Eugenio Burriel
359ef6ba24
Fix ETSI reference codec's patch for building on 64 bit architectures.
...
merged/ported to osmocom master by Harald Welte
Change-Id: I6b16811d4a3030dfce0718f0b1d266ee1761bfef
2016-12-18 16:21:35 +01:00
sq5bpf
043cc0e506
Add patches for codec static linking and logging to stderr
...
Change-Id: I41b32e38c08152e608f20af44db4456ca59169eb
2016-12-18 16:11:22 +01:00
sq5bpf
44956fef8d
Update the Codec Download instructions and include a shell script
...
Change-Id: Ia943a38e422e23e70f73d9672554633c014f6da7
2016-12-18 16:10:23 +01:00
sq5bpf
871782e445
Add simdemod2.py, a simple demodulator without GUI
...
Change-Id: Ibad17350db1b00f87955684e4cc17e0a5e8ea6de
2016-12-18 15:37:33 +01:00
Dieter Spaar
158270f489
normalize_fn(): Fix computation of frame numbers
...
A copy+paste mistake resulted in the calculation of wrong frame numbers
in normalize_fn().
2016-11-27 17:50:08 +01:00
Petr Baudis
a562b0e9a2
Merged useful extra features
...
osmosdr-tetra_demod_fft.py: Commandline switch -F for frequency offset
osmosdr-tetra_demod_fft.py: More verbose fine-tuning messages
Conflicts:
src/demod/python/osmosdr-tetra_demod_fft.py
2015-08-21 01:52:40 +02:00
Petr Baudis
7d6f7287d7
osmosdr-tetra_demod_fft.py: More verbose fine-tuning messages
2015-08-21 01:52:27 +02:00
Jiří Pinkava
89f01f3501
fix debug build
2015-08-21 01:49:46 +02:00
Jiří Pinkava
c065f9214c
speed up float_to_bits
...
Reduce overhead caused by inefficient call of read
for each float. Increases speed about 50x.
2015-08-21 01:49:38 +02:00
luckyhacky
6f78d76052
removed hard coded values - exchanged it with enum for better readability
2015-08-21 01:49:02 +02:00
luckyhacky
83140af8d0
extended sysinfo as described in section 21.4.4.1
...
now every transmitted field in sysinfo is analyzed
2015-08-21 01:48:46 +02:00
luckyhacky
732d06d531
align for better readability
2015-08-21 01:48:30 +02:00
luckyhacky
165bf705a2
fixed typo
2015-08-21 01:47:00 +02:00
luckyhacky
6dcdb89454
set hyperframe number in struct tdma_time
2015-08-21 01:46:50 +02:00
luckyhacky
59e06e22ee
added basic hyperframe support for output
2015-08-21 01:46:40 +02:00
Frank A. Stevenson
6430bdeb5f
fix some global ugliness
...
This removes a static global variable which will only work if you only
have once instance of the tetra receiver.
2012-12-01 14:48:52 +01:00
Dimitri Stolnikov
1594e170bc
fix first decimation value for FCD devices
...
thanks to Stefan Mandl for bringing up this issue.
2012-11-11 14:11:53 +01:00
Sylvain Munaut
2ee4b4ad4d
float_to_bits: Remove offset
...
This is a symptom of frequency offset and it's the demodulator job to
correct this ...
Thanks to Frank A. Stevenson for noticing this legacy hack
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-11-11 12:48:33 +01:00
Gregor Gregoric
095e7bd8aa
Add missing if braces in decode_chan_alloc
2012-10-04 18:31:51 +02:00
Ronny Kunze
2d9bf16066
Use correct bit offset to decode the ADDR_TYPE_SSI_USAGE
2012-07-14 13:02:07 +02:00
Dimitri Stolnikov
7bb6e34ad0
move graphical sinks to tabbed control
2012-06-07 21:39:09 +02:00
Dimitri Stolnikov
246b3d37e1
rename rtlsdr-tetra_demod_fft.py to osmosdr-tetra_demod_fft.py
2012-06-07 15:24:52 +02:00
Dimitri Stolnikov
74d40768ed
add --args command line argument to pass to gr-osmosdr source
2012-06-07 15:22:37 +02:00
Steve Markgraf
e55c014d9c
rtlsdr-tetra: remove unneeded import
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-06-07 15:06:20 +02:00
Dimitri Stolnikov
582acdf444
add frequency and gain controls to rtlsdr receiver
2012-06-07 14:29:26 +02:00
Dimitri Stolnikov
2037ebeac6
add rtlsdr based receiver with click & tune functionality
...
Call it with
src$ ./demod/python/rtlsdr-tetra_demod_fft.py -s 1.8e6 -f 394.6e6 -g -1 -o /dev/stdout | ./float_to_bits /dev/stdin /dev/stdout | ./tetra-rx /dev/stdin
- Adjust the center frequency (-f) and gain (-g) according to your needs.
- Use left click in Full Spectrum window to roughly select a TETRA carrier.
- Use left click to fine tune the carrier by clicking on the left or right side of the spectrum.
2012-05-31 01:36:22 +02:00
Dimitri Stolnikov
617dacf7b9
demod: use current uhd arguments scheme in uhd-tetra_demod.py
...
also introduces --spec argument useful with usrp1
2011-12-27 12:14:03 +01:00
Dimitri Stolnikov
7226098a9c
add tunctl to .gitignore
2011-12-27 12:09:53 +01:00
Sylvain Munaut
d4948d3c29
gsmtap: Fix warnings
...
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-11-25 20:29:06 +01:00
Sylvain Munaut
1bc5434a99
lower_mac/viterbi: Use the high level API of conv.h from libosmocore
...
It's more stable ... here we just need a flexible length, which we
can 'fake' by creating a local copy of the 'code' definition on the
stack.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-11-25 20:13:51 +01:00
Dimitri Stolnikov
2a7ed4e7ae
update cqpsk demodulator to work with gnuradio 3.5
2011-11-20 17:04:27 +01:00
Alexander Huemer
a4bdfabbbb
fix ordering of gcc food in Makefile
2011-10-30 20:27:18 +01:00
Sylvain Munaut
4384428843
demod: Add new option to usrp1 demod
...
- Antenna selection
- FPGA master freq
- Better default subdevice picking
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-09-25 16:37:54 +02:00
Harald Welte
abc2eb2b97
tetra_mac_pdu: Prevent array overflow of addr_len_by_type[]
...
detected by Smatch
2011-07-16 18:06:22 +02:00
Harald Welte
6d7b343149
use the new osmocom/core/prim.h header file
...
(introduced by libosmocore 9b21e88367eea8cdf200cf06fae99dec06e712a7)
2011-06-23 14:16:25 +02:00
Harald Welte
07d1f1f7d2
float_to_bits: add '-v' argument for verbose printing of the bits
2011-06-04 22:11:56 +02:00
Clemens Hopfer
e417cc16f5
Add UHD based demodulator script (tested with N200+WBX)
2011-06-04 08:52:58 +02:00
Harald Welte
5707cb731c
add FCDP based modulator with FFT output during demodulation
2011-06-01 19:05:33 +02:00
Harald Welte
f72acb950a
add bit-reordering functions for TETRA ACELP speech codec
2011-05-29 13:02:37 +02:00
Harald Welte
a40aa8133b
add a quilt patch series against the ETSI TETRA codec
2011-05-29 12:16:48 +02:00
Harald Welte
5868bbf87f
save state if traffic or non-traffic burst at AACH time
...
the later code processing the SB/NB can then refer to that state.
2011-05-28 20:10:56 +02:00
Harald Welte
06b01f79b3
Speech Class 1 bits are 112 / 168, not 114 / 171
2011-05-27 12:32:15 +02:00
Harald Welte
c959894fbe
add rate 8/17 RCPC for speech with STCH
2011-05-27 11:05:51 +02:00
Harald Welte
e3032cd897
add matrix interleave for voice frames (untested)
2011-05-27 10:59:09 +02:00
Harald Welte
a9885473d2
conv_enc: fix test cases for voice RCPC
2011-05-27 10:48:23 +02:00
Harald Welte
cb25e99b21
lower_mac: Add puncturing schemes for voice channels
2011-05-27 10:38:24 +02:00
Harald Welte
025c3fc4c9
add missing tun/tap utility routines
2011-05-27 09:38:34 +02:00