aboutsummaryrefslogtreecommitdiffstats
path: root/src/cnetz/cnetz.h
AgeCommit message (Collapse)AuthorFilesLines
2024-02-18Add metering information from osmo-cc to B-Netz and C-NetzAndreas Eversberg1-1/+1
Untested!
2024-02-18Move from local to external osmo* librariesAndreas Eversberg1-4/+4
src/libdebug -> libosmocore src/libselect -> libosmocore src/libtimer -> libosmocore src/libosmocc -> libosmo-cc src/libg711 -> libosmo-cc
2022-07-23C-Netz: Improved RX speech quality and decoder debuggingAndreas Eversberg1-2/+2
2022-06-19C-Netz: Show debugging for IDLE (LR and LMR) framesAndreas Eversberg1-0/+2
Suppress repeated IDLE frame
2022-06-19C-Netz: Add capability of non-standard OgK channel(s)Andreas Eversberg1-2/+4
2021-11-07Refactoring validity check and prefix processing of dialed numberAndreas Eversberg1-0/+1
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-10-24Refactor global variables for signal processingAndreas Eversberg1-1/+1
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-01-03Fixed typos in cli output and source code commentsMartin Hauke1-1/+1
2020-10-29Add tx-gain optionAndreas Eversberg1-1/+1
2020-10-29C-Netz: At correct timeslot switch channel modeAndreas Eversberg1-2/+2
Without this, the first BQ(K) message came to early, so that BSA 51 released when receiving ZFZ(K) one frame too early.
2020-01-12Fixed compiler error for old GCCAndreas Eversberg1-3/+4
2019-12-08Rename dbm0 (level) to speech (level)Andreas Eversberg1-1/+1
In mobile communications we use speech level instead of milliwatts. The deviation (FM) is always based on speech level, not on 1 milliwatt.
2019-11-29C-Netz: Added list of base station names and IDsAndreas Eversberg1-4/+4
Automatic polarity detection is now done by using the polarity of last transmitted message. We cannot use two base station IDs anymore, to detect the polarity. Now we deal only with the defined base station ID.
2019-08-26Allow giving alphanumeric channels (Prepare for IMTS)Andreas Eversberg1-1/+1
2019-06-30C-Netz: Add authentication support (process only)Andreas Eversberg1-3/+8
No real authentication, since the algorithm and the keys inside the cards are not known. A challenge can be specified and optionally the response can be verified.
2019-01-02C-Netz: Add option to control voice deviationAndreas Eversberg1-1/+1
2018-07-01C-Netz: Swtitch speech scrambler only after receiving 3 consecutive frames ↵Andreas Eversberg1-0/+1
with different scrambler mode
2017-12-03Restructure: Move mobile from common code to 'libmobile'Andreas Eversberg1-1/+1
2017-11-25Restructure: Move compandor from common code to 'libcompandor'Andreas Eversberg1-1/+1
2017-11-14Restructure: Move scrambler from C-Netz code to 'libscrambler'Andreas Eversberg1-1/+1
2017-11-13Restructure: Move timer from common code to 'libtimer'Andreas Eversberg1-0/+1
2017-09-01C-Netz: Work on system informations, metering and call queuesAndreas Eversberg1-1/+5
- Make system informations configurable - Simulate call mertering - Support for call queues on busy voice channels
2017-07-15Add wave file playback to replace TX audioAndreas Eversberg1-1/+1
2017-06-10AMPS/C-Netz: Correctly release pending transaction when creating a new oneAndreas Eversberg1-0/+1
If transactions is created, look on all channels for pending transaction with same subscriber. 1. Remove that transaction. 2. Make channel return to IDLE. 3. Release call, if callref exists.
2017-06-10Status displayAndreas Eversberg1-0/+1
Alows to show status of current channels and users
2017-05-19C-Netz: Make demodulation algorithm (slope or leve) slectable via optionAndreas Eversberg1-1/+1
By default (auto), the algorithm is selected, depending on sound card or SDR usage. For testing and debugging purpose, the algorithm can be forced.
2017-05-17C-Netz: SDR now uses zero-crossing to detect level changes.Andreas Eversberg1-1/+1
This does not work with analog radio, but with SDR it works. The quality should be better and the process is faster.
2017-05-17No "sdr" audio device option required anymore (when using SDR)Andreas Eversberg1-1/+1
2017-05-15Rename filter -> iir_filter (file name and instance name)Andreas Eversberg1-1/+1
This is useful when using fir_filter in the future.
2017-02-18C-Netz: Add low pass filter to eliminate high frequency noiseAndreas Eversberg1-0/+1
This improves the FSK decoding quite allot, especially with SDR.
2017-02-18C-Netz: Improve clock speed measurements.Andreas Eversberg1-5/+4
Sound card's clock measurements only requires a few minutes to get sub-ppm accuracy results.
2017-02-18C-Netz: Make average to clock measurements for a quicker resultAndreas Eversberg1-0/+5
2017-02-18C-Netz: Remove the obviously useless noise function for unused timeslotsAndreas Eversberg1-2/+1
2017-02-18Move samples of int16_t format to sample_t, that is of type doubleAndreas Eversberg1-5/+5
This prepares the correction of all levels
2017-02-18Rework on audio interfaceAndreas Eversberg1-1/+1
Sound instance is now called audio instance and uses funcation pointers. This gives a clean interface to be exchanged with other technologies, linke SDR.
2017-01-07prepare audio handling for multi carrier SDRAndreas Eversberg1-1/+1
2016-11-30C-Netz: Simplifying TX signal clock sync between two channelsAndreas Eversberg1-1/+3
2016-11-27Changed command line optionsAndreas Eversberg1-1/+1
* All lower case options define common options * All upper case options define network specific options
2016-10-02C-Netz: callref is moved completely to transaction objectAndreas Eversberg1-1/+0
2016-10-02callref: Move callref from 'sender' to individual implementation of a, b, c-netzAndreas Eversberg1-0/+1
Cellular networks use transaction instances, so callref is now member of transaction object.
2016-08-03C-Netz: Fix release cause codingAndreas Eversberg1-2/+2
2016-08-01C-Netz: retry call setup messages up to 3 timesAndreas Eversberg1-0/+1
2016-07-24Typos: acknowledgement -> acknowledgment signalling -> signalingAndreas Eversberg1-4/+4
2016-06-20Rename 'compander' to 'compandor'Andreas Eversberg1-2/+2
2016-06-12C-Netz: Move transaction routines to seperate fileAndreas Eversberg1-41/+1
2016-05-13C-Netz: Calibration/fix processing of tone levels on TX and RX sideAndreas Eversberg1-2/+2
FSK and compander levels are adjusted. Eliminate offsets between subsequent speech chunks. This is done by high-pass filter. An offset is not passed to the filter. Do correct audio processing chain: time compress -> compressor -> scrambler / pre-emphasis -> TX RX -> de-scrambler / de-emphasis -> expander -> time expand
2016-05-13Automatic FSK polarity selection on TX sideAndreas Eversberg1-3/+7
This is done by simulating two cells with different polarities. On first message from mobile station, the cell with the correct polarity is used, the other is disabled. On RX side the polarity is not selected, since FSK decoder detects polarity for every frame.
2016-05-08C-Netz: Add tiny database to track if phones are onlineAndreas Eversberg1-14/+17
Reject calls, if not online. Use an interval to check if the phones are still online.
2016-05-08common code: Add input gain optionAndreas Eversberg1-1/+1
2016-05-08Multi transceiver supportAndreas Eversberg1-1/+17
This can be multiple transceivers on multiple sound cards. Two transceivers can be bundled on one sound device as well, using both channels.