Commit Graph
100 Commits
Author SHA1 Message Date
Andreas Eversberg e1cbb1649a Fixed memory leak in PDEBUG(). Thanx to valgrind finding that! 2017-01-05 08:36:52 +01:00
Andreas Eversberg 286c11cab4 B-Netz: Add translation of emergency numbers 110 and 112 2017-01-02 17:38:54 +01:00
Andreas Eversberg b59ce96889 B-Netz: Minor change on start image 2017-01-02 10:19:07 +01:00
Andreas Eversberg 16e1e842b9 A-Netz: Don't allow emphasis, since it is not used with A-Netz 2017-01-02 10:16:49 +01:00
Andreas Eversberg e724823c5b A-Netz: Reset tone detector when going idle
A pending tone must be detected as soon as the cell is idle. This happens
if the phone picks up during release guard time.
2017-01-02 10:13:43 +01:00
Andreas Eversberg 2e7a05f8d9 Add GPL 3 license text, as it is refered to in every source code 2016-12-15 17:56:44 +01:00
Andreas Eversberg d47853201c common code: Update call console only when it changes or after debug line 2016-12-11 14:21:22 +01:00
Andreas Eversberg 3400f555fe Add common function to give hotkey help
* Key to dial and hangup
* Key to display wave form
2016-12-09 16:42:38 +01:00
Andreas Eversberg d1c6d6bc72 work on docs 2016-12-09 16:42:19 +01:00
Andreas Eversberg 7585f9c22d Add function to change dsp state, more debug with channel info 2016-12-09 16:34:33 +01:00
Andreas Eversberg f111c50478 A-Netz / B-Netz: Add function to change state, debug with channel info
Change state uses a function rather than directly setting state
variable.

Some debug commands now use channel number. (for multi-trx setups)
2016-12-06 17:47:58 +01:00
Andreas Eversberg eed826387a work on docs 2016-12-06 17:46:12 +01:00
Andreas Eversberg 27c6e3d860 C-Netz: Add code documentation... 2016-12-01 17:59:08 +01:00
Andreas Eversberg e34d74aa23 C-Netz: Simplifying TX signal clock sync between two channels 2016-11-30 18:09:38 +01:00
Andreas Eversberg d52d0242bf Output enhancements
* no more flicker on wave form display while scrolling
* dialing console gets cleared/overwritten correctly
* fixes on stderr output
2016-11-29 07:49:21 +01:00
Andreas Eversberg 938fb74bae B-Netz: Fixes call procedure according to the standard FTZ 171 R 4 2016-11-27 22:06:47 +01:00
Andreas Eversberg b1c452cf12 Changed command line options
* All lower case options define common options
* All upper case options define network specific options
2016-11-27 22:06:47 +01:00
Andreas Eversberg f911717aa4 C-Netz: Minor coding style changes, no changes to process 2016-11-22 19:09:05 +01:00
Andreas Eversberg 0a83b19a99 common code: Display wave form in color
Show 0-line as blue and curve as green and channel number as white.
2016-11-17 19:38:36 +01:00
Andreas Eversberg 7a2ff388a4 Add .dirstamp to .gitignore 2016-11-13 06:50:44 +01:00
Andreas Eversberg 5f5683e374 NMT: Fixed compiler warning 2016-11-13 06:42:18 +01:00
Andreas Eversberg 34954b50de B-Netz: Rename special start digit for coin box phone type 2016-11-13 06:39:14 +01:00
Andreas Eversberg 2a4abc62b2 Move realtime scheduling and signal handling to common code 2016-11-13 06:37:56 +01:00
Andreas Eversberg 4dacec9ceb A-Netz: Use Operator number 010 when calling from mobile station
Also use no caller ID (NULL). The call control code processes the
caller ID and dialed number correctly.
2016-11-13 06:04:54 +01:00
Andreas Eversberg 52b1ac65f4 A-Netz: Keep phase for each paging tone when played in sequence
If paging tones are played in sequence, only one tone out of four tones
is played at once. The phase of all tones are calculated as if each tone
would have been sent permanently.
2016-11-13 06:00:24 +01:00
Andreas Eversberg 3cd102c638 work on docs 2016-11-09 18:34:47 +01:00
Andreas Eversberg 6c1b6119ad common code: Display multiple wave forms for each channel used
Use 'w' key to enable/disable RX wave form display.
2016-10-31 19:16:47 +01:00
Andreas Eversberg ea32ab3fa3 B-Netz: Move 'telegramm' generation to seperate telegramm.c/h files 2016-10-31 18:21:26 +01:00
Andreas Eversberg 63f39e105b AMPS: Fixes for multi transceiver support
- Fix channel assignment
- Voice channel sends test tone when idle
- Changed paging timeout
- Minor fix of SCC field in 2 messages
2016-10-30 09:37:14 +01:00
Andreas Eversberg b70f4ecebc work on docs 2016-10-30 09:25:14 +01:00
Andreas Eversberg bb92a1f3b0 AMPS: Add option to be more tollerant to sync detection
Also it detects more false syncs, but this is ignored if decoding fails.
2016-10-29 14:38:49 +02:00
Andreas Eversberg 42ddd3320e work on docs 2016-10-29 14:38:48 +02:00
Andreas Eversberg 052fe5d1de AMPS: Improved level detection of bit decoder 2016-10-29 14:38:46 +02:00
Andreas Eversberg 3a3c1c258b AMPS: Show number of correct words (CRC) for each FOCC frame 2016-10-28 17:07:38 +02:00
Andreas Eversberg c1a02a5029 common code: Fix double free bug 2016-10-28 16:55:39 +02:00
Andreas Eversberg c6d3a41b81 C-Netz: Increment error counter only when trying to reach the phone 2016-10-23 11:50:02 +02:00
Andreas Eversberg 1ea95de120 C-Netz: Use emphasis with 200 uS time constant 2016-10-23 08:46:05 +02:00
Andreas Eversberg 8864db8269 C-Netz: Adjusting compandor response level 2016-10-23 08:45:24 +02:00
Andreas Eversberg e763d3c6ed C-Netz: Changing keepalive interval to 2 minutes and retry to 1 minute 2016-10-23 07:32:21 +02:00
Andreas Eversberg bde0fe94c1 work on docs 2016-10-22 21:26:48 +02:00
Andreas Eversberg 5287904d12 Work on Docs
Added the TIA/EIA 553 standard.
2016-10-15 08:54:58 +02:00
Andreas Eversberg 33e0bc5f4e C-Netz: Remove global variables, because they don't speed up anything 2016-10-07 09:14:22 +02:00
Andreas Eversberg 27938d111e Added and fixed extra compiler warnings 2016-10-07 08:55:18 +02:00
Andreas Eversberg 8ef966aa21 C-Netz: Reset FSK decoder when switching channel mode
This prevents corrupt frames, as well as clear pending frames that
were received during the old mode, but may not be received during
the new mode.
2016-10-07 08:00:34 +02:00
Andreas Eversberg eac595bd17 C-Netz: Don't access transaction after destroying it 2016-10-07 08:00:10 +02:00
Andreas Eversberg 0cec2f28be Add check if fromat at PDEBUG() is consistent (like printf)
The bugs it found are fixed too.
2016-10-07 07:52:17 +02:00
Andreas Eversberg e029a6a858 C-Netz: Generator and Arduino programmer for SIM cards
It supports the simple memory cards only. Works only with very early
phones, like BSA51 (tested so far).

An SLE4428 card must be written. The card must not have any protected
serial number area. Also the card must read all 416 written bits via ATR,
not only the first 32 bits.
2016-10-03 13:33:33 +02:00
Andreas Eversberg 50e311590a work on docs 2016-10-02 09:06:06 +02:00
Andreas Eversberg b07509cf2d AMPS: Correcting channel number range 2016-10-02 09:06:06 +02:00
Andreas Eversberg f8cb78dcf8 Update README 2016-10-02 09:06:05 +02:00
Andreas Eversberg ad3c88e064 AMPS: Callref is moved completely to transaction object 2016-10-02 09:06:04 +02:00
Andreas Eversberg 17930af920 C-Netz: callref is moved completely to transaction object 2016-10-02 09:06:04 +02:00
Andreas Eversberg 8d7c7f4425 callref: Move callref from 'sender' to individual implementation of a, b, c-netz
Cellular networks use transaction instances, so callref is now member of
transaction object.
2016-10-02 09:06:03 +02:00
Andreas Eversberg 4c1c8eb6fb NMT: Fix on paging retry 2016-08-28 15:29:13 +02:00
Andreas Eversberg 37ca463d98 NMT: Fixed channel coding for channels other than 1..9 2016-08-20 10:21:46 +02:00
Andreas Eversberg 8cecf13b1a NMT: Add transaction handling 2016-08-20 09:57:05 +02:00
Andreas Eversberg 82901985af work on docs 2016-08-13 15:22:28 +02:00
Andreas Eversberg 767daf73cd C-Netz: Documentation of the call process in the source code 2016-08-13 15:22:28 +02:00
Andreas Eversberg 7d111546c4 Alsa: Keep 8 samples in input buffer to avoid reading corrupted samples 2016-08-13 15:19:12 +02:00
Andreas Eversberg 541eafe59e Common code: Add call state debugging 2016-08-07 17:23:56 +02:00
Andreas Eversberg 362b1cbb61 Common code: Fix sound card reset 2016-08-07 17:22:24 +02:00
Andreas Eversberg 7f786fc00a C-Netz: Fix missing callref assignment (MT call) 2016-08-07 17:20:06 +02:00
Andreas Eversberg 5182f70671 C-Netz: Documentation of some system informations 2016-08-07 17:17:38 +02:00
Andreas Eversberg e07057a7d1 work on docs 2016-08-03 12:40:56 +02:00
Andreas Eversberg e484814c0a C-Netz: Add hack to increase voice deviation for some newer phone 2016-08-03 12:40:56 +02:00
Andreas Eversberg 3a7388ba7f C-Netz: Fixed some debugging output 2016-08-03 12:40:55 +02:00
Andreas Eversberg 2bd7c16baa C-Netz: Add support for extended frequency band. (October 1989) 2016-08-03 12:40:54 +02:00
Andreas Eversberg e69d74ac45 Send test tone towards mobile when no headphone sound device is selected 2016-08-03 12:03:55 +02:00
Andreas Eversberg e4079b8ce8 C-Netz: Fix release cause coding 2016-08-03 12:03:54 +02:00
Andreas Eversberg 53814241b3 AMPS: Note about future callref handling 2016-08-03 12:03:53 +02:00
Andreas Eversberg f15c0dfea3 NMT: Fixing audio level of supervisory signal to match 0.3 KHz deviation 2016-08-03 12:03:52 +02:00
Andreas Eversberg 55229a397c NMT: Fix, stop ringing timer at answer 2016-08-03 12:03:52 +02:00
Andreas Eversberg 28ae3e300f NMT: Fixed multi-transceiver mode and show channel in various logs 2016-08-03 12:03:51 +02:00
Andreas Eversberg 038ce9d1b7 Add info key 'i' to show some states.
Currently showing C-Netz attached subscribers
2016-08-03 12:03:49 +02:00
Andreas Eversberg c9012c7663 C-Netz: Release MT call, if mobile phone does not respond 2016-08-02 09:02:58 +02:00
Andreas Eversberg eb85afa49c C-Netz: Use cosine-square ramp for better signal generation 2016-08-02 07:39:02 +02:00
Andreas Eversberg ce7a98206a C-Netz: Move callref to transaction. Callref on SpK only when its busy.
Only when busy, the channel has callref. This is required for audio
routing. During setup, the callref assigned to transaction and kept
there until release to/from upper layer.
2016-08-01 19:17:13 +02:00
Andreas Eversberg 1a3e536010 AMPS: Fix transaction list corruption 2016-08-01 13:06:03 +02:00
Andreas Eversberg 664f8c7ac0 C-Netz: retry call setup messages up to 3 times 2016-08-01 12:15:12 +02:00
Andreas Eversberg b84a64f872 C-Netz: Autoselect polarity on all transceivers 2016-08-01 12:15:09 +02:00
Andreas Eversberg 77cd21e7c2 C-Netz: Fix transaction list corruption 2016-08-01 12:15:08 +02:00
Andreas Eversberg 0bc5ee553c NMT: Fix SMS cleanup 2016-07-31 18:52:31 +02:00
Andreas Eversberg cc8631d4f9 NMT: Give warning of missing channel type AFTER creating all channels 2016-07-31 18:48:20 +02:00
Andreas Eversberg f729b32745 C-Netz: Fixed multi-transceiver mode and show channel in various logs 2016-07-31 18:48:19 +02:00
Andreas Eversberg eb8a22e2c2 NMT: Fix SMS deliver output message 2016-07-31 14:49:43 +02:00
Andreas Eversberg bda55ca205 work on docs 2016-07-31 14:48:56 +02:00
Andreas Eversberg 0593f7d066 Fix typos 2016-07-24 12:31:09 +02:00
Andreas Eversberg 6a5af9aeac Typos: acknowledgement -> acknowledgment signalling -> signaling 2016-07-24 12:31:08 +02:00
Andreas Eversberg c273bbc5ff Remove console line before printing debugging and on exit 2016-07-24 12:31:08 +02:00
Andreas Eversberg 123979a0f3 NMT: Minor fix at debug output 2016-07-24 12:31:08 +02:00
Andreas Eversberg 8741833948 NMT: Change 'index' of message to 'mt' (message type) 2016-07-24 12:31:08 +02:00
Andreas Eversberg 5807a49f49 Release active call, when disconnect is received from network
If early disconnect is received, the connecion is kept established, so the
announcement can be heared by mobile subscriber.
2016-07-24 12:31:08 +02:00
Andreas Eversberg 4745b29115 NMT: Caller ID support 2016-07-24 12:31:07 +02:00
Andreas Eversberg ba8bf0e9d5 NMT: Fix autoanswer
If phone does not support autoanswer, the MTX proceeds with regular ringing.
2016-07-24 12:31:07 +02:00
Andreas Eversberg efb50532c6 NMT: Rework on frame (message) types 2016-07-24 12:31:07 +02:00
Andreas Eversberg 8906deb5dd B-Netz: Added description for GFS 19 to reduce transmit power 2016-07-24 12:31:07 +02:00
Andreas Eversberg 5bbbe11666 B-Netz: Rework on dialing start digit: New unknown type added 2016-07-24 12:31:06 +02:00
Andreas Eversberg ce86f62b11 work on docs 2016-07-24 12:31:06 +02:00
Andreas Eversberg b3b42e8bc4 Cleanup warnings at autoconfig files 2016-07-24 12:31:06 +02:00
Andreas Eversberg a6bd841247 NMT: Various fixes for SMS support 2016-07-24 12:31:05 +02:00