Commit Graph

648 Commits

Author SHA1 Message Date
Andreas Eversberg 26f4b3f711 C-Netz: Cleanup OgK slot allocation and polarity detection
Now you can select between 1 and 8 slots per frame.
2022-06-19 06:51:30 +02:00
Andreas Eversberg 4930da8e0c C-Netz: Add capability of non-standard OgK channel(s) 2022-06-19 06:51:28 +02:00
Andreas Eversberg 4758f16324 Implementation of DCF77 transmitter and receiver 2022-06-18 21:26:02 +02:00
Andreas Eversberg 8c382431b5 sdr: RF level is only provided when requested and available 2022-06-18 21:25:59 +02:00
Andreas Eversberg 1708d24d73 Alsa will indivate RF level with 0 dB 2022-06-18 21:25:58 +02:00
Andreas Eversberg df2b017472 debug: Show debug category together with debug level 2022-06-18 21:25:57 +02:00
Andreas Eversberg 98ed54124a Fixed glitch in sound buffer space calculation
Sometimes the sound buffer (ALSA) returns a few more samples than we
sent to it. In this case we return 0, which means that no data has
to be sent.
2022-06-10 20:22:10 +02:00
Andreas Eversberg ba4c095d09 Added UK0 and PH socket to libdebug 2022-05-29 17:07:28 +02:00
Andreas Eversberg fd81881922 ALSA: Add environment variable to delay input
This helps to avoid corrupted date in rx buffer.

Sorry: No more info, because I really don't know why this happens.
2022-05-29 17:06:23 +02:00
Andreas Eversberg e453c10169 Work on docs 2022-05-29 17:06:21 +02:00
Andreas Eversberg fd5ac46b86 B-Netz: Added more base stations, improved display of station list 2022-02-18 21:11:55 +01:00
Andreas Eversberg e31e095173 Work on docs 2021-12-30 23:34:52 +01:00
Andreas Eversberg f613bfcc37 Added locking functions to libdebug, to avoid printf race conditions 2021-12-30 23:34:45 +01:00
Andreas Eversberg 2ddf33837e Osmo-CC: Correctly bind to local IP address, rather than any IP 2021-12-30 23:34:42 +01:00
Andreas Eversberg e4c2e514d1 Osmo-CC: Fixed RTP port selection option 2021-12-30 23:34:37 +01:00
Andreas Eversberg 4810ff659f Osmo-CC: Fixed originator address info in SDP 2021-12-30 23:34:25 +01:00
Andreas Eversberg 3dcb7b34df Implementation of selective call for classic German 'Sirenensteuerung' 2021-12-12 10:53:27 +01:00
Andreas Eversberg 1bd471a703 When a transmitter is off, send absolutely nothing
This is done by shifting away the transmitter from center (DC) freqency.
Useless code was removed, since there is nothing to be transmitted.
2021-12-12 10:53:27 +01:00
Andreas Eversberg b8352af84d SoapySDR: Minor debug output improvement 2021-12-12 10:53:26 +01:00
Andreas Eversberg 2d23c841a6 Cleanup SDR usage when no channel, but full spectrum is used.
Radio and TV uses full spectrum, so they set channels to 0, this will
define a center frequency only. The spectrum is then processed by the
applications and not by libsdr.

The sample rate must be a factor of 1e9, so that time stamps work
and signal has no gaps/glitchs.
2021-12-12 10:53:26 +01:00
Andreas Eversberg 726453909c work on docs 2021-12-12 10:53:26 +01:00
Andreas Eversberg bcdf61ffa5 Eurosignal: Minor cleanup and fixes 2021-12-12 10:53:26 +01:00
Andreas Eversberg c2a01fb7dd POCSAG: Fixed handling of loopback and scanning feature 2021-12-12 10:53:26 +01:00
Andreas Eversberg dde4113e61 Improvement of Goertzel filter. Using Hamming window now. Add test routine. 2021-12-08 17:24:04 +01:00
Andreas Eversberg d1f6a0f6ce radio: Fixed crash cause by not selecting any RX sink 2021-11-20 10:05:32 +01:00
Andreas Eversberg 86d4523cc7 Correctly show channel frequencies in spectrum view when swapping SDR links 2021-11-07 20:00:43 +01:00
Andreas Eversberg 7fa5f85731 POCSAG 2021-11-07 20:00:43 +01:00
Andreas Eversberg 869625cfcd SoapySDR: Fixed API change from version 0.8.0
The last API check was wrong. 0.7.2 is still old api, but 0.8.0 is new.
2021-11-07 20:00:42 +01:00
Andreas Eversberg c0aab6d60e AMPS: Fixed minor compiler warning 2021-11-07 20:00:42 +01:00
Andreas Eversberg 4e3b7952d1 C-Netz: Improve database dump (press 'i') 2021-11-07 20:00:42 +01:00
Andreas Eversberg 46b00e21f0 SIM sniffer: Minor output fix 2021-11-07 20:00:42 +01:00
Andreas Eversberg 0ebd53ac69 C-Netz: Minor fixes to pulse shaping code 2021-11-07 20:00:42 +01:00
Andreas Eversberg 3e5326f891 Eurosignal: Removed useless channel check 2021-11-07 20:00:42 +01:00
Andreas Eversberg b0b0046ad3 Fixed minor compiler warning 2021-11-07 20:00:42 +01:00
Andreas Eversberg 423bc42429 Refactoring validity check and prefix processing of dialed number
Command line help shows how many digits and what prefixes can be dialed.

Giving a station ID via command line will be checked for being valid.

The number to call the mobile statione will be checked for being valid.

Prefixes that are defined for a nework will be removed from station ID

Multiple station ID lengths are supported:
 * C-Netz: 7 or 8 digits, depending on area code length
 * A-Netz: 5 or 7 digits; number is truncated to last 5 digits.
 * IMTS/MTS: 5 or 7 digits, depending on phone's selector switch.
2021-11-07 20:00:42 +01:00
Andreas Eversberg 3a73f31d7e Fixed crash bug in dialing console 2021-11-07 20:00:41 +01:00
Andreas Eversberg 465445aac5 Add Magnetic card emulation for C-Netz
Emulation can be done with a coil connected to sound card.

Alternatively an Attiny85 can be used to control a coil.
2021-11-07 20:00:41 +01:00
Andreas Eversberg 922b4af362 Refactoring ASCCI-Art image printing 2021-11-07 08:55:46 +01:00
Andreas Eversberg 6fa74a1296 Refactor global variables for signal processing
These are:
	device, sample rate, buffer, latency
Called now:
	dsp_device, dsp_samplerate, dsp_buffer, dsp_latency
Call audio device:
	call_device, call_samplerate, call_buffer
2021-10-24 06:25:10 +02:00
Andreas Eversberg de685b3cb6 Minor changes at timer.c: Improved precision 2021-10-24 06:25:11 +02:00
Andreas Eversberg 8a1c5a1a5b SoapySDR uses time stamps to prevent gaps/overflows in transmit stream
A common option for both UHD and SoapySDR allows to turn off time stamps.
2021-09-24 17:20:27 +02:00
Andreas Eversberg 35ed2d5138 Added locking to debug output, to prevent race condition between threads 2021-09-24 17:20:27 +02:00
Andreas Eversberg 1b16029ac6 B-Netz: Improved detection of tone/frame
- Be less tollerant to levels when detcting tones.
- Squelch applies to tone detector also
2021-09-17 16:17:05 +02:00
Andreas Eversberg 4974e39999 Osmo-CC: Conversion function between values and their names
Allows to convert integer values into their names and vice versa.
2021-09-17 16:17:05 +02:00
Andreas Eversberg 29ec9b67d4 FUVST: Minor output improvements 2021-09-17 16:16:28 +02:00
Andreas Eversberg 3293dfb500 C-Netz: Fix calls to 8-digits subscriber numbers 2021-09-17 16:16:20 +02:00
Andreas Eversberg 3fce0403fd C-Netz: Updated base station list 2021-09-17 16:16:10 +02:00
Andreas Eversberg 17908076a9 Optionally output date with each debug line 2021-09-17 16:15:32 +02:00
Andreas Eversberg 1dff336ea2 Add message tracing to Osmo-CC 2021-09-17 16:12:22 +02:00
Andreas Eversberg 6aa8a237db SoapySDR: Fixed API change from version 0.7.1 2021-06-23 16:06:36 +02:00