Commit Graph

161 Commits

Author SHA1 Message Date
Andreas Eversberg decafb93fb Added UK0 and PH socket to libdebug 2022-05-01 16:42:24 +02:00
Andreas Eversberg 6a0f59412d Added locking functions to libdebug, to avoid printf race conditions 2021-12-30 23:34:45 +01:00
Andreas Eversberg b4b26f025c Osmo-CC: Correctly bind to local IP address, rather than any IP 2021-12-30 23:34:42 +01:00
Andreas Eversberg d468f3c9e8 Osmo-CC: Fixed RTP port selection option 2021-12-30 23:34:37 +01:00
Andreas Eversberg 44e2b75724 Osmo-CC: Fixed originator address info in SDP 2021-12-30 23:34:25 +01:00
Andreas Eversberg 8593eb1dd3 Implementation of selective call for classic German 'Sirenensteuerung' 2021-12-12 10:53:27 +01:00
Andreas Eversberg 914b17e894 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 20621bb1c9 SoapySDR: Minor debug output improvement 2021-12-12 10:53:26 +01:00
Andreas Eversberg 7c53de4446 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 63f275d5db Improvement of Goertzel filter. Using Hamming window now. Add test routine. 2021-12-08 17:24:04 +01:00
Andreas Eversberg 252b9c08bf Correctly show channel frequencies in spectrum view when swapping SDR links 2021-11-07 20:00:43 +01:00
Andreas Eversberg 94c4c26593 POCSAG 2021-11-07 20:00:43 +01:00
Andreas Eversberg 10f27aab7a 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 8485b6e5ce Fixed minor compiler warning 2021-11-07 20:00:42 +01:00
Andreas Eversberg 4fd35fb8d6 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
automatically.

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 03eadb423f Fixed crash bug in dialing console 2021-11-07 20:00:41 +01:00
Andreas Eversberg 5bdc4d2f18 Refactoring ASCCI-Art image printing 2021-11-07 08:55:46 +01:00
Andreas Eversberg f7d4eb961e 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 eb462f6158 Minor changes at timer.c: Improved precision 2021-10-24 06:25:11 +02:00
Andreas Eversberg e311782bd7 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 31e714be7e Added locking to debug output, to prevent race condition between threads 2021-09-24 17:20:27 +02:00
Andreas Eversberg e273ceefa9 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 c094512c62 Optionally output date with each debug line 2021-09-17 16:15:32 +02:00
Andreas Eversberg ce8343fa0a Add message tracing to Osmo-CC 2021-09-17 16:12:22 +02:00
Andreas Eversberg cca768124b SoapySDR: Fixed API change from version 0.7.1 2021-06-23 16:06:36 +02:00
Andreas Eversberg 88005db6a1 Add MPT1327 / Regionet43 (Buendelfunk) network 2021-06-06 11:50:35 +02:00
Andreas Eversberg 4497bb50b4 libosmocc: Add support for individual session config (per endpoint) 2021-04-03 23:00:01 +02:00
Andreas Eversberg dc61ecdb38 libomsocc: Add function to check if interface is attached 2021-04-03 23:00:01 +02:00
Andreas Eversberg 47862fbbd6 libosmocc: Don't route on redirecting number 2021-03-28 13:17:54 +02:00
Andreas Eversberg ee53bff3d4 libosmocc: SDP parser ignores broken codec descriptions
Thenx to Cisco.
2021-03-28 13:06:09 +02:00
Andreas Eversberg 51022b8400 Make Alsa sound interface indipendent from libmobile 2021-03-28 13:05:58 +02:00
Andreas Eversberg 3514bc0ce5 Add new debug class 2021-03-28 13:05:50 +02:00
Andreas Eversberg 1815efb75c libmobile: Do not send 'proceeding', if call gets answered right after 'setup' 2021-03-20 11:24:57 +01:00
Andreas Eversberg 8edfa3d0ae Osmo-CC: The 'local' socket peer is also used as default rtp-peer 2021-03-20 11:20:23 +01:00
Andreas Eversberg 1d281317e8 Using "--limesdr" or "--limesdr-mini" will also set device to "lime"
This is useful, if SoapySDR supports other SDR devices, like sound card. In
this case "--sdr-device-args driver=lime" must be given at command line. Now
this is done automatically with "--limesdr" or "--limesdr-mini".
2021-03-20 11:19:43 +01:00
Andreas Eversberg fcc301b031 Config file path can be changed by command line option "--config <path>" 2021-03-20 11:19:37 +01:00
Andreas Eversberg 01796e55da Fixed broken --osmocc-cross option
Thaks to Markus for pointing to this bug.
2021-03-07 10:39:13 +01:00
Andreas Eversberg c8c4c3549f Osmo-CC: Add telephone-event selection to helper 2021-03-07 10:39:05 +01:00
Andreas Eversberg 2d6c11a51d osmo-cc: Improve network type information element 2021-03-07 10:38:58 +01:00
Andreas Eversberg 75a108a50c Fix libdebug to be used with all osmo-cc projects 2021-03-07 10:38:52 +01:00
Andreas Eversberg fdc6bd5614 libmobile: Minor fixes 2021-03-07 10:38:45 +01:00
Andreas Eversberg 47185e80b7 Added special strdup to liboptions, to prevent memory leaks for option strings
If you are doing memory leak debugging you don't want to see any leaks when
stopping the program.
2021-03-07 10:38:38 +01:00
Andreas Eversberg d65cb69145 Rename the parameter "coherent" to "FFSK" which is the correct meaning. 2021-03-07 10:37:17 +01:00
Martin Hauke b38841d46e Fixed typos in cli output and source code comments 2021-01-03 09:57:03 +01:00
Andreas Eversberg 0a27198540 OsmoCC: Limit number of default socket ports to 20 2021-01-03 09:50:36 +01:00
Andreas Eversberg 3a29e772e2 Replaced MNCC by OSMO-CC 2020-12-29 11:11:41 +01:00
Andreas Eversberg 6feb697eb2 Add G.711 codec (alaw / ulaw conversion) 2020-12-29 11:11:41 +01:00
Andreas Eversberg daf82be156 Add Osmo-CC library to replace MNCC 2020-12-29 11:11:41 +01:00
Andreas Eversberg 871279872c C-Netz: Implementation of a Funkvermittlungsstelle (FuVSt)
Useful to connect with a Funkfeststation (FuFSt).
2020-12-21 08:38:44 +01:00
Andreas Eversberg 65b43f7b31 SS7 MTP Layer 2/3 Implementation (partly) 2020-12-21 08:38:44 +01:00