Commit Graph

121 Commits

Author SHA1 Message Date
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
Harald Welte ee7a645ca4 Add LLC defragmentation + SDNCP output via tun device
this allows us to look at IP messages contained in SNDCP
2011-05-27 09:37:06 +02:00
Harald Welte 13657cf8d2 add location update types 2011-05-27 09:31:35 +02:00
Harald Welte fd878e23d7 tetra-rx: use talloc 2011-05-27 08:46:10 +02:00
Harald Welte 0ad20fd762 create 'struct tetra_mac_state' in main and pass through all layers/SAPs 2011-05-27 08:44:12 +02:00
Harald Welte e676ea1300 use new GSMTAP api inside libosmocore 2011-05-22 11:45:09 +02:00
Harald Welte a22f5923d1 libosmocore namespace changes ("osmo_") 2011-05-08 09:46:46 +02:00
Harald Welte 005e26833e add tunctl to makefile
tunctl will be needed for the upcoming SNDCP payload dumping
2011-04-26 14:49:59 +02:00
Sylvain Munaut 2d9b3e2560 lower_mac/viterbi: Use the viterbi code provided in libosmocore
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-04-26 14:46:04 +02:00
Harald Welte 24177bce48 modify tunctl to allow cration of TUN (ip) devices, not just TAP (ethernet)
This adds a '-U' command line argument to select TUN mode.  Default remains
the TAP case.
2011-04-25 18:47:29 +02:00
Harald Welte ceaf34016a Import tunctl from uml-utilities project 2011-04-25 18:28:29 +02:00
Harald Welte 4911ba91ef TETRA: start to use msgb as part of osmo_prim / tmvsap_prim
This will allow us to pass the same msgb (with different l1h/l2h)
up the stack.
2011-04-24 16:55:42 +02:00
Harald Welte 8d36966e82 tetra_prim: some more comments 2011-04-24 15:43:28 +02:00
Harald Welte 194bf12a0a LLC: fix parsing of AL-FINAL 2011-04-24 12:04:51 +02:00
Harald Welte 2840dc5f07 don't decode NULL pdu or TL-SDU of non-starting LLC segments 2011-04-24 11:45:20 +02:00
Harald Welte b5d6edbb82 Introduce LLC layer that has been completely missign so far
All our MM/CMCE/SNDCP 'decodes' were broken previously, as they
assumed that the MM/CMCE/SNDCP message follows immediately after the
MAC header.  However, there's the LLC layer in between.

This is just simple LLC decoding and does not do re-assembly yet.
2011-04-24 11:10:52 +02:00
Harald Welte 2c6eab8f48 upper mac: fix printing of carrier frequency Hz 2011-04-24 10:00:37 +02:00
Harald Welte 51147d4e7a upper mac: fix printing of certain PDUs (remove additional newline) 2011-04-24 09:54:02 +02:00
Harald Welte ba1ec17db6 upper mac: print MLE PDU type 2011-04-24 09:24:13 +02:00
Harald Welte ec02a9f038 upper mac: initial SUPPLEMENTARY parsing, fix fake FRAG/END decoding 2011-04-24 09:15:28 +02:00
Harald Welte 2e56b6eed0 PHY: don't print the full raw burst bits for each burst by default 2011-04-24 09:14:35 +02:00
Harald Welte 44cd972b05 lower mac: don't print all the different type-n bits per default 2011-04-24 09:14:12 +02:00
Harald Welte 0348831844 SNDCP: use downlink definitions, not uplink 2011-04-24 09:00:41 +02:00