Commit Graph
100 Commits
Author SHA1 Message Date
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
Andreas Eversberg 3ef9ef88bd B-Netz: Compiler switch to generate a dial sequence (for testing) 2016-07-24 12:30:56 +02:00
Andreas Eversberg 2137db0e01 NMT: Autoanswer for SMS/DMS calls 2016-07-09 15:16:17 +02:00
Andreas Eversberg e7fa08b6df NMT / SMS: Short Message Service support 2016-07-09 15:16:16 +02:00
Andreas Eversberg 64c829909b NMT / DMS: User data facility support (required for SMS) 2016-07-09 11:27:24 +02:00
Andreas Eversberg 62b3712ce5 common code: Check and ignore events without callref set 2016-07-09 11:27:02 +02:00
Andreas Eversberg f39ee2f15a common code: Add support for main loop handler 2016-07-09 11:27:02 +02:00
Andreas Eversberg 26ab26db48 minor fix at MNCC socket 2016-07-09 11:27:02 +02:00
Andreas Eversberg 44ebf1616a work on docs 2016-07-07 16:25:55 +02:00
Andreas Eversberg ab9aba1a84 B-Netz: Reply the station ID correctly
It must be replied right after it has been received the first time.
It does not matter if this happens a bit later, even a second later.

Thanx to Hans Wigger for providing recording from his B-Netz tester to
figure this out.
2016-07-06 16:19:01 +02:00
Andreas Eversberg 54266a9937 Minor fixup to .gitignore: ignore test_compandor 2016-07-06 16:18:51 +02:00
Andreas Eversberg f3fd01ebcd ALSA code: Fixed corrupted sample at the end of a read
The last sample may get corrupted. It seems that this depends on the
card that is used. To fix this, the snd_pcm_avail is checked and
one sample less than available is read using snd_pcm_readi. This
sample remains in RX buffer until next read. Then it is not corrupted.
2016-07-02 08:04:43 +02:00
Andreas Eversberg 4719be95bd work on docs 2016-07-02 08:01:34 +02:00
Andreas Eversberg 2ee51022f4 Rename 'compander' to 'compandor' 2016-06-20 19:37:56 +02:00
Andreas Eversberg 86daa5a64a AMPS: Add option to use the BUSY/IDLE bit on FOCC 2016-06-20 17:16:46 +02:00
Andreas Eversberg 76f6285846 AMPS: Show round trip delay of Filler frames in loopback mode 2016-06-20 17:15:42 +02:00
Andreas Eversberg d851c37eac common code: Release MNCC call 30 seconds after listening to announcement 2016-06-19 17:46:56 +02:00
Andreas Eversberg b45b0c6bac common code: Minor fix in main loop 2016-06-19 17:43:48 +02:00
Andreas Eversberg f87e36fa47 AMPS: Detect difference between paging response and call response
Release call, if paging response was received, after call from fixed
network has already been released.
2016-06-19 17:41:42 +02:00
Andreas Eversberg 2b61a2ca4a Work on docs 2016-06-19 11:09:03 +02:00
Andreas Eversberg 673aa74e6c AMPS: Various minor fixes 2016-06-19 11:03:59 +02:00
Andreas Eversberg 4d52f955b3 common code: Add processing interval option to decrese CPU usage 2016-06-18 19:33:08 +02:00
Andreas Eversberg e10898c1e8 C-Netz: Minor cosmetic fixes 2016-06-18 08:05:18 +02:00
Andreas Eversberg d2c4ca4fa9 Implementation of Advanced Mobile Phone Service (AMPS) 2016-06-17 17:03:29 +02:00
Andreas Eversberg 7d5d3da8d3 Add function to display wave form from input/loop
Use 'w' to toggle display.

Move terminal input processing and main loop to main_common.c
2016-06-17 17:03:28 +02:00
Andreas Eversberg 4e0e13cb2d work on docs 2016-06-17 17:03:27 +02:00
Andreas Eversberg 1d20119d85 common code: Call control allows to re-dial after disconnect
No hangup key required before that anymore.
2016-06-12 16:16:37 +02:00
Andreas Eversberg 7cfd11eb17 common code: Add feature to select debug category rather than showing all 2016-06-12 16:14:29 +02:00
Andreas Eversberg 051cc81b13 C-Netz: Move transaction routines to seperate file 2016-06-12 16:11:20 +02:00
Andreas Eversberg 26593ed034 NMT: fix minor bug 2016-06-12 16:11:20 +02:00
Andreas Eversberg 4d22b11855 common code: Add debug #define for capture generated singal
Used for fundamental debugging of encoded signal
2016-06-12 16:11:20 +02:00
Andreas Eversberg c933250685 Add dsp mode change fuction to A and B Netz, fixed NMT 2016-06-12 16:11:20 +02:00
Andreas Eversberg 997f8eda43 B-Netz: Add timer for switching back from calling channel
The timer ensures that the paging sequence is sent out by sound card before
switching back to traffic channel
2016-05-29 17:17:49 +02:00
Andreas Eversberg 1ceb3026dd Fixed link problem with alsa lib
Thanx to Martin for pointing to this problem.
2016-05-16 18:41:21 +02:00
Andreas Eversberg 90dbc0cbd7 C-Netz: Debug fixes 2016-05-15 20:44:07 +02:00
Andreas Eversberg 50136d7e8a NMT: Typo in channel list 2016-05-15 20:43:58 +02:00
Andreas Eversberg e9640c0cd8 C-Netz: Fix TX polarity selection 2016-05-15 20:43:49 +02:00
Andreas Eversberg 9ecb87f3e6 Fixing station ID command line parameter 2016-05-15 20:43:38 +02:00
Andreas Eversberg 7aa2445b47 Move amplitude (level) debugging to debug.c 2016-05-15 20:37:06 +02:00
Andreas Eversberg adc3270dc0 Acknowledgements 2016-05-13 20:44:47 +02:00