Commit Graph
100 Commits
Author SHA1 Message Date
Andreas Eversberg a6bf66ee83 POCSAG: Remove unused "repeat" function
A message can be repeated, but not in that short time of a few seconds.

Pagers may ignore messages if they are received again. The user may
repeat the message, but not the transceiver.
2024-04-21 21:01:15 +02:00
Andreas Eversberg f391c0d947 POCSAG: Allow all 128 ASCII characters to be transmitted
To allow all 128 ASCII characters, a null-terminated string cannot be
used. Instead a length is used to define string length, to allow
null-character in that the message string.

The print function in frame.c is improved and used to present the
string.
2024-04-21 21:00:43 +02:00
Andreas Eversberg b16b26d326 Add parameter to DTMF decode to change frequency margin
There is no user for this yet.
2024-04-21 14:47:06 +02:00
Andreas Eversberg 49925d4b95 anetz: Show prefixes and channels with --geo list 2024-04-15 23:12:31 +02:00
Andreas Eversberg f96994e0e7 SIM: Display SIM version in programming mode on memory location 06
Untested!
2024-04-13 23:04:33 +02:00
Andreas Eversberg 9b4095d894 Rename definititions that uses the exact word "DEBUG"
"DEBUG" may be defined, but we don't want to compile eurosignal and
fuenf-tone-ruf with debug code.
2024-04-12 16:57:09 +02:00
Andreas Eversberg b642f82390 pocsag: Add option to change text message padding character 2024-04-10 21:30:35 +02:00
Andreas Eversberg f294261285 Fix filter of demodulator of received radio signal
The filter was way too low. (only half of the total bandwidth)
The missing (filtered) high frequency component caused noisy signal.
Let's see how this fix changes the quality of received FM sound.
2024-04-10 20:44:47 +02:00
Andreas Eversberg e1a7791561 Fix playing anouncements and tones with libmobile
This is a fixup of the new audio processing. Without this patch you will
hear only noisy tones.
2024-04-05 22:24:12 +02:00
Andreas Eversberg 6e2fd793ac Increase compiler warnings and fix them 2024-04-05 21:51:41 +02:00
Andreas Eversberg 470fc49341 C-Netz SIM: Fix entering card numbers with leading zeroes
Numbers for the SIM card can be entered with zeroes in the front. This
will not change numbers to octal. The Bosch OF 7 phone will not accept
numbers in the phone book with less than 4 digits, so it is essential to
allow entering numbers with zeroes in front.

Also state that in the documents.
2024-04-05 21:47:57 +02:00
Andreas Eversberg 17123595ec libserial: Allow 'mark' and 'space' parity setting 2024-04-05 10:39:42 +02:00
Andreas Eversberg a2ea0339e5 pocsag: Allow dialing function digit A..D (numeric, tone 1, tone 2, alpha) 2024-04-01 21:52:36 +02:00
Andreas Eversberg b8b250bd0a Fix command to list channel on various networks 2024-03-30 23:36:03 +01:00
Andreas Eversberg ba02b27a74 jollycom: Minor fix in command line help 2024-03-30 23:28:21 +01:00
Andreas Eversberg b51c9f26d1 Fixes in C-Netz "magnetic" card comments. 2024-03-30 23:28:20 +01:00
Andreas Eversberg d3a5d5c3c6 Improve image of IMTS 2024-03-30 23:28:17 +01:00
Andreas Eversberg b5579d1f16 IMTS dialer: Calculate the parity from all pulses, not just from pulses of one digit 2024-03-30 23:28:16 +01:00
Andreas Eversberg b613123291 Open sound device for capture or playback only, if full duplex is not required 2024-03-30 23:28:13 +01:00
Andreas Eversberg ce58b765f5 A different recording device may be specified for sound card access 2024-03-30 23:28:10 +01:00
Andreas Eversberg fabc849642 datenklo: Disable the display on exit 2024-03-30 23:28:07 +01:00
Andreas Eversberg a20637825a Audio rework, new jitter buffer
Jitter buffer is now based on packets, not on samples. The frames are
dejittered in received form. After reading from jitter buffer, they are
decoded in correct order. If a frame is missing, it is concealed by
repeating audio.
2024-03-30 23:28:05 +01:00
Andreas Eversberg e7efcee289 Fix buffer overflow when displaying measurements 2024-03-25 13:00:08 +01:00
Andreas Eversberg bc3967ccb6 Docs: Minor fix 2024-03-25 13:00:07 +01:00
Andreas Eversberg d30d662307 Avoid large buffer on stack, to prevent stack overflows
This affectes:
 * demodulation in libfsk
 * audio processing in libmobile
2024-03-25 13:00:06 +01:00
Andreas Eversberg a8becfeec5 IMTS/MTS: Add/fixed/improved channel numbers 2024-03-25 13:00:00 +01:00
Andreas Eversberg 05cc5e75c8 36c3 Mate Bottle Simulator
Note: This is a fun-application. Don't take it seriously!

Dial Eventphone extension 6283 (MATE) and feed audio from this
simulator into the phone.
2024-03-25 12:59:55 +01:00
Andreas Eversberg fd3fcddc07 FuVst: Add security code and card reader type to database 2024-02-18 16:23:31 +01:00
Andreas Eversberg 2dcf10b1b1 Add metering information from osmo-cc to B-Netz and C-Netz
Untested!
2024-02-18 16:23:31 +01:00
Andreas Eversberg da9b0a0f8d Add help about settings at location area overheade message 2024-02-18 16:23:30 +01:00
Andreas Eversberg 60c3e094ff Add "--no-config" option, to ignore existing default config file 2024-02-18 16:23:30 +01:00
Andreas Eversberg c844fcc1f6 If a mobile inscribes, show station ID on the console
If the console's station ID is not set, it will be automatically set
when a call is made from the mobile phone or when it performs
inscription to the network. (Only works for cellular networks with
inscription support.)
2024-02-18 16:23:30 +01:00
Andreas Eversberg 7e5663a709 Jollycom: Fix initial voice sample resampling 2024-02-18 16:23:30 +01:00
Andreas Eversberg 26c348411c Datenklo: Timers may only be scheduled or deleted in the main thread
Set flags to schedule timers in main thread.
Timers are: vtimer (datenklo.c), tx/rx timers (am791x.c)
2024-02-18 16:23:30 +01:00
Andreas Eversberg 3c2b5286c5 Disable rtprio by default and abort, if given prio is not allowed 2024-02-18 16:23:30 +01:00
Andreas Eversberg 3158c48365 Move from local to external osmo* libraries
src/libdebug -> libosmocore
src/libselect -> libosmocore
src/libtimer -> libosmocore
src/libosmocc -> libosmo-cc
src/libg711 -> libosmo-cc
2024-02-18 16:23:29 +01:00
Andreas Eversberg 6cd2c3e323 C-Netz-SIM: Store Jolly's phone number to phonebook entry 02
Also set version number to 3.
2024-01-04 17:58:30 +01:00
Andreas Eversberg 31d5667516 Fix usage of strncat 2024-01-04 17:58:05 +01:00
Andreas Eversberg 454086f04c Zeitansage: Remove useless FUSE library flags from Makefile.am 2023-12-13 23:58:49 +01:00
Andreas Eversberg d8950408cc G711: Fix bitorder of u-law codec
Tested with Grandstream
2023-11-27 17:17:52 +01:00
Andreas Eversberg d1b8ed8250 Add option to disable L16 codec (linear 16 bit PCM)
Yate uses wrong byte order, so the codec fails. Disable it if you have
problems with Yate or other defective peers.
2023-11-15 20:37:40 +01:00
Andreas Eversberg a9573aa5cb libosmocc: Support for telephone-events 2023-11-12 17:41:43 +01:00
Andreas Eversberg 865f280bb1 libosmocc: Flag codec as not accepted instead of removing it
This is required if multiple SDP responses are returned. We don't want
to remove a codec with with the first SDP response, which might get
accepted by the second SDP response. Instead we flag the codec as
negotiated or not negotiated.

When early media is received, different codecs may be accepted as when
we receive the actual answer.
2023-11-12 17:36:05 +01:00
Andreas Eversberg 39266802ef 5-tones: Minor fixes in command line help 2023-11-12 17:22:17 +01:00
Andreas Eversberg f4eba26d27 Golay: Add voice message support
A voice message can be sent with a wave file. Pagers that support voice
messages will listen to the wave file on the radio channel.

Use the following command to send a voice message:

	$ echo "1709829,v,<wave file>" > /tmp/golay_msg_send
2023-10-08 12:14:46 +02:00
Andreas Eversberg a949470ec3 AMPS: Add ESN manufacturer names
The ESN list "FCC Public Notice CL-97-70" is found at:
https://web.archive.org/web/19990223224835/http://www.fcc.gov/wtb/cellular/mnfrlst.html

When showing the ESN in logging, the manufacturer name is shown, if
found in the list.

Thanx to shadowcaster3, point to that list.
2023-09-10 21:54:50 +02:00
Andreas Eversberg 43dfab23e0 C-Netz-SIM: Store version number in phone book entry 01 as default. 2023-09-10 21:36:39 +02:00
Andreas Eversberg 4252ca1f82 C-Netz-SIM: Added delay before answering to messages
This delay is required, so that the card reader has enough time to
release the I/O line. The AEG OLYMPIA now works.
2023-08-27 20:28:43 +02:00
Andreas Eversberg abe449bd0e C-Netz: Added new service codes for AEG phone 2023-08-27 20:27:34 +02:00
Andreas Eversberg 38b9a4ac58 C-Netz: Updated sim card layout to support memory card emulation.
A jumper must be switched in order to emulate the reset input.

Also added new service codes to the silk mask.
2023-08-27 20:25:35 +02:00
Andreas Eversberg d09e9c95fd C-Netz: Make memory card emulation work with AEG OLYMPIA phone
Now it is ok to have the first clock pulse after reset. The software
does not care. At least there must be a clock after rising the reset.
2023-08-27 11:52:53 +02:00
Andreas Eversberg 20b5132ef7 Fix notch filter and add a test for it 2023-06-10 11:33:58 +02:00
Andreas Eversberg 963be6e2c5 Osmo-CC: Add R1 interface type 2023-06-10 11:33:14 +02:00
Andreas Eversberg 4c54be0f4d Add R1 debugging class 2023-06-10 11:32:48 +02:00
Andreas Eversberg 0e132f6167 Fix minor compiler warning in sdr.c 2023-05-25 21:56:48 +02:00
Andreas Eversberg 5816f8e7c0 libosmo-cc: Allow remote port change with RTP
In case of port translation, the different remote RTP port is adopted
for further transfer.

This happens, if remote peer uses NAT that changes source port also.
2023-03-26 17:06:37 +02:00
Andreas Eversberg 5c20a3e8b7 libosmo-cc: Fix critical bug in RTCP handling
Upon an RTCP read event, read from RTCP socket and not from RTP socket.
2023-03-26 12:03:53 +02:00
Andreas Eversberg 28a297f97d Generate compador table only once when the application starts 2023-03-18 19:49:56 +01:00
Andreas Eversberg bdecacc99e Changed logging of libosmocc to osmocom style 2023-01-22 18:28:34 +01:00
Andreas Eversberg 746c1fb4ff Add libph_socket (not used by any app now) 2023-01-21 15:15:57 +01:00
Andreas Eversberg 9f662d309f Add libselect to use select instead of polling all file descriptors 2023-01-21 15:15:52 +01:00
Andreas Eversberg ffaed13648 Make libdebug osmocore complatible in some places 2023-01-21 15:15:42 +01:00
Andreas Eversberg f4abbaf027 Make libtimer to be osmo_* compatible in some places 2023-01-21 15:15:39 +01:00
Andreas Eversberg 3bc3e67abb libosmo-cc: Fixed NULL-pointer bug 2022-12-16 12:43:20 +01:00
Andreas Eversberg fd3b4dae50 FSK modulator improvements
1. Phase is now changed proportional to the time of the bit change, if
   it happens somewhere between samples. The amount of phase change per
   bit is now the same for all bits, no matter how many samples
   currently lay inside this bit.

2. IIR filter is removed, because it causes distortions. A cosine shape
   is now used to transit between phase change of F0 to F1 and vice
   versa. This limits the spectrum. This filter is optional.
2022-12-16 12:43:19 +01:00
Andreas Eversberg 7609e98b8f Resampling filter can now be turned off
Only linear filtering remains when off.
2022-12-16 12:43:16 +01:00
Andreas Eversberg 3d18361d2e Removed obsolete hexdump function from DTMF decoder 2022-12-16 12:43:14 +01:00
Andreas Eversberg 5acdb94f10 Fixed a bug on datenklo's ioctrls 2022-12-16 12:43:11 +01:00
Andreas Eversberg aadfd50a0f Osmo-CC: Change UPDATE to MODIFY message
Naming it UPDATE was not a good idea.

Now this is renamed to MODIFY message, related to MNCC (GSM). It is used
to change media coding during a call. It allows new codec negotiation
using SDP protocol and/or changing RTP peer. Also useful for SIP.
2022-12-16 12:43:09 +01:00
Andreas Eversberg 2110a0f111 osmo-cc: Add private pointer to codecs 2022-11-24 21:16:43 +01:00
Andreas Eversberg 791a1d79a9 osmo-cc: Set session to NULL, if no codec matches
Applications will crash, due to use-after-free bug, if this is not done.
2022-11-24 21:15:47 +01:00
Andreas Eversberg 616a5e2820 DCF77: Add weather info decoding and coding 2022-11-24 21:08:02 +01:00
Andreas Eversberg 5ae64a2712 AMPS: Fix compilation 2022-11-07 18:18:04 +01:00
Andreas Eversberg 508197e9a8 TACS: Corrected TACS power levels in help description 2022-11-07 18:18:00 +01:00
Andreas Eversberg 1eed20420e AMPS: Fixed caller ID transmission 2022-10-30 17:23:25 +01:00
Andreas Eversberg a3835b001d AMPS: Minor fixes at DTX handling 2022-10-30 17:23:24 +01:00
Andreas Eversberg 8e67c3fda0 Golay/GSC paging support 2022-10-30 09:28:34 +01:00
Andreas Eversberg ed0f8694f7 dejitter: Added timeout for interpolation 2022-10-30 09:24:35 +01:00
Andreas Eversberg 825f395e09 Move AMPS/TACS/JTACS into one source directory 2022-10-23 16:56:46 +02:00
Andreas Eversberg 376cef4fa5 Osmo-CC: Add marker bit support 2022-10-23 16:56:40 +02:00
Andreas Eversberg 5684c0a7de Osmo-CC: Add UPDATE messages 2022-10-23 16:56:37 +02:00
Andreas Eversberg b60c844b4f DTMF: Now allows to give duration and pause for digit
Also the dtmf encoder will return less samples, if the digit(+pause)
ends, so that the caller call set the next digit to play seamlessly.

A reset function allows to clear the decoder states, to prevent glitches
when re-attaching to an interrupted stream.
2022-10-23 16:56:36 +02:00
Andreas Eversberg a756ba8fd9 libsample: Add another function for converting between int16_t and sample_t
Now we have speech level and 1mW (0 dBm) conversion functions
2022-10-23 16:56:32 +02:00
Andreas Eversberg 486d6b3780 JTACS (Japanese Total Access Communication System) works now
Tested with MT209 phone.
2022-10-23 16:56:30 +02:00
Andreas Eversberg 2b7efedc48 Refactoring jitter buffer
Features are:
 * Packet based buffer
 * Random in, first out
 * Adaptive delay compensation (voice)
 * Fixed delay (data, optionally MODEM/FAX)
 * Interpolation of missing frames
 * Any sample size
2022-10-23 16:56:27 +02:00
Andreas Eversberg 4fc92eba45 Improved libsamplerate to allow size calculations 2022-09-17 20:50:14 +02:00
Andreas Eversberg 1d77952717 Zeitansage: Removed glitches of some sounds 2022-09-17 20:47:28 +02:00
Andreas Eversberg a7a1ac7c5e TV: Add individual test image for selected color of color bar 2022-09-17 20:47:25 +02:00
Andreas Eversberg 26213d667a Fixed README 2022-09-15 07:23:37 +02:00
Andreas Eversberg b3e00b5085 POCSAG: Minor fixes. 2022-09-15 07:23:37 +02:00
Andreas Eversberg 4e669ecf79 AMPS: Caller ID Support
Support for sending caller ID for newer phones.
Currently does not work with older phones, they will abort.
2022-09-10 21:19:18 +02:00
Andreas Eversberg 1a0813069f NMT: Minor changes 2022-07-31 20:15:22 +02:00
Andreas Eversberg f906fcc708 Improved documents and layout for SIM and magnetic cards 2022-07-23 08:26:57 +02:00
Andreas Eversberg 89e3b89758 C-Netz: Improved RX speech quality and decoder debugging 2022-07-23 08:26:53 +02:00
Andreas Eversberg 059d4f25b1 FuVst: Removed unused scrambler dependency 2022-07-23 08:26:49 +02:00
Andreas Eversberg 8fd8205a6e C-Netz: Changed voice diversion back to 2.4 KHz
Most phones use this deviation. C5 does not for some unknown reason.
2022-07-23 08:26:48 +02:00
Andreas Eversberg b94443e57a Osmo-CC: Minor 'cause conversion' fix 2022-07-23 08:26:45 +02:00
Andreas Eversberg a34ffda422 Osmo-CC: Fixed routing in screen tables 2022-07-23 08:26:44 +02:00
Andreas Eversberg 5335795759 JTACS: Fixed channel allocation, but have no hardware to verify 2022-07-23 08:26:42 +02:00
Andreas Eversberg c6149ed3b4 NMT: Fixes to 'additional info' and added clock (time) support
- untested -
2022-07-23 08:26:30 +02:00