anetz_user_commands(1)
Okay bestie, this is anetz_user_commands(1), the General Commands Manual entry for anetz π
β¨ Let's get into it.
β¨ NAME β¨
Meet anetz, the app for A-Netz vibes π¦ Its homepage is http://osmocom-analog.eversberg.eu/docs/ π
π SYNOPSIS π
Here's the basic shape of the command you'll be typing π
anetz -k <kanal/channel> [-V 12] [options] [station_id]
πΈ Global options πΈ
-h,--helpβ Shows this help. Obviously π--config [~/]<path to config file>β Pass in a config file to use π If the path starts with~/, it's relative to your home dir. Each line in the config file is one option, and you must not type the-or--in front of it π Default is~/.osmocom/analog/anetz.conf.--no-configβ Even if a config file exists, just ignore it π ββοΈ-v,--verbose<level>|<level>,<category>[,<category>[,...]]|listβ Uselistto see every level and category π The level is a debug digit (default3). You can add categories after the level digit too. If you don't pick any categories, you get all of them π₯-v,--verbosedateβ Stamps the date onto your debug output π-k,--kanal <channel>β Your channel (German: Kanal) number for the "Sender" (German: Transceiver) π‘-k,--channel <channel>β Same energy, the English name for the channel number π‘-a,--audio-device hw:<card>,<device>[/hw:<card>.<rec-device>]β Picks your sound card and device number. Default ishw:0,0π You can use/to give it a different recording device.
Don't set this one for SDR! It's a whole mood-killer if you do π
-s,--samplerate <rate>β Sample rate of your sound device (default48000) πΆ-i,--interval 0.1..25β How often the processing loop runs, in ms (default1.0ms) β±οΈ Go with10if you want to drastically cut CPU usage π» If you get buffer underruns, bump the buffer up to match.-b,--buffer <ms>β How many milliseconds get processed in advance (default50) π§ A buffer under 10 ms needs a low interval, like0.1ms.--rx-gain <dB>β Turns your receiver's RX level up or down by the gain you give in dB ποΈ (Sound card only!)--tx-gain <dB>β Turns the transmitter's level up or down by the gain you give in dB ποΈ (Sound card only!)-e,--echo-testβ Sends the audio from your phone's mic straight back to the speaker π€β‘οΈπ (German: Blasprobe, lol iconic π)-c,--call-device hw:<card>,<device>[/hw:<card>.<rec-device>]β Sound card and device number for your headset (default is'', so nothing) π§ Use/to give it a different recording device.--call-samplerate <rate>β Sample rate for the headset's sound device (default48000) π§--call-buffer <ms>β How many milliseconds get processed in advance for the headset (default50) π§-x,--osmocc-crossβ Turns on built-in call forwarding between mobiles π² You need at least one control channel and two voice channels. Or, alternatively, one combined control+voice channel and one voice channels. Choose your fighter π-o,--osmocc-sockβ Turns off the built-in call control and offers a socket instead π--cc "<osmo-cc arg>" [--cc ...]β Passes arguments to the Osmo-CC endpoint π§ For a description, try-cc help.--no-l16β Disables the L16 (linear 16 bit) codec π«-t,--tones 0 | 1β Connects the call on setup and release so you get classic tones toward the fixed network π (default1)-l,--loopback <type>β Loopback test:1= internal,2= external,3= echo π-r,--realtime <prio>β Sets priority:0to disable,99for maximum (default0) ποΈ--fast-mathβ Uses a fast math approximation, perfect for slow CPUs and ARM-based systems π’β‘οΈπ--write-rx-wave <file>β Saves the received audio to the wave file you name πΎ--write-tx-wave <file>β Saves the transmitted audio to the wave file you name πΎ--read-rx-wave <file>β Swaps the received audio out for the wave file you give it ποΈ--read-tx-wave <file>β Swaps the transmitted audio out for the wave file you give it ποΈ--limesdrβ Auto-picks several of the options you need for LimeSDR π--limesdr-miniβ Auto-picks several of the options you need for LimeSDR Mini π
π¦ SDR options π¦
--sdr-soapyβ Forces the SoapySDR driver π«--sdr-channel <channel #>β The channel number for a multi-channel SDR device (default0) π‘--sdr-device-args <args>,--sdr-stream-args <args>,--sdr-tune-args <args>β Optional SDR arguments, separated by commas π§© Here's the vibe:
--sdr-device-args <key>=<value>[,<key>=<value>[,...]]
--sdr-samplerate <samplerate>β The SDR sample rate. By default it matches your regular sample rate πΆ--sdr-lo-offset <Hz>β A frequency offset in Hz that moves the local oscillator away from your target frequency (default-1000000) π―--sdr-bandwidth <bandwidth>β The IF filter bandwidth to use. If you don't give one, the sample rate gets used πΆ--sdr-rx-antenna <name>β The SDR device's RX antenna name. Typelistto see your options π--sdr-tx-antenna <name>β The SDR device's TX antenna name. Typelistto see your options π--sdr-clock-source <name>β The SDR device's clock source name. Typelistto see your options β°--sdr-rx-gain <gain>β The SDR device's RX gain in dB (default0.0) ποΈ--sdr-tx-gain <gain>β The SDR device's TX gain in dB (default0.0) ποΈ--write-iq-rx-wave <file>β Saves the received IQ data to the wave file you name πΎ--write-iq-tx-wave <file>β Saves the transmitted IQ data to the wave file you name πΎ--read-iq-rx-wave <file>β Swaps the received IQ data for the wave file you give it ποΈ--read-iq-tx-wave <file>β Swaps the transmitted IQ data for the wave file you give it ποΈ--sdr-swap-linksβ Swaps the RX and TX frequencies for over-the-air loopback tests π--sdr-timestamps 1 | 0β Uses TX timestamps on a UHD device (default1) β±οΈ
π Network specific options π
-O,--operator <number>β The number to dial when a mobile station starts a call. A-Netz doesn't do automatic dialing, so you need operator assistance π By default the operator010gets dialed.-G,--geo <lat>,<lon>β Your coordinates, so the app can find the closest base station πΊοΈ For example:--geo 51.186959,7.080194. Or type--geo listto see every base station location π-V,--page-gain <dB>β Raises the gain of the paging tones to make up for the loss from the transmitter's pre-emphasis π (Use this if you can't turn pre-emphasis off π)-P,--page-sequence 0 | <ms>β Cycles the paging tones instead of sending them all at once π Try100(default0).-S,--squelch <dB> | autoβ Uses the RF level you give to detect loss of signal. If the signal drops and stays below that level, the connection gets released π Useautofor automatic noise floor calibration.
This only works with SDR! It's disabled by default, so don't be surprised π
station_idβ Give 5 or 7 digits of station ID πͺͺ so you don't have to type it in every time you start the app. 5 digits is for a number without the channel prefix, and 7 digits is for a number with the channel prefix.
Once you're in, here are the keypresses that make you the main character π
- Press digits
0..9and then thedkey to dial the mobile station π - Press
hto hang up π΄ - Press
wto toggle the RX waveform display π - Press
cto toggle the channel status display π - Press
mto toggle the measurement value display π - Press
qto toggle the RX I/Q vector display π§ - Press
sto toggle the RX spectrum display π - Press
bto remove the DC level π§Ή
Okay that's the whole tea π«Ά The footer just said anetz_user_commands(1) again, so you're totally caught up now π¦ Go make some noise, bestie πβ¨
π¦ where this page comes from
- debian trixie: osmocom-analog 0.0~git20250208.4ebf64f-1 Β· GPL-3.0-or-later
- ubuntu questing: osmocom-analog 0.0~git20250208.4ebf64f-1build1
- ubuntu resolute: osmocom-analog 0.0~git20250208.4ebf64f-1build2 Β· GPL-3.0-or-later
- ubuntu stonking: osmocom-analog 0.0~git20251206.0c72677-1 Β· GPL-3.0-or-later
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms