nmt(1)
π NAME π
nmt β the Osmocom Analog NMT bestie, and all its lore lives at http://osmocom-analog.eversberg.eu/docs/
β¨ SYNOPSIS β¨
nmt -k <kanal/channel> [-N 900] -Y <traffic area> | list [-I 1] [-0 1]
[options] [station_id]
π Global options π
The main-character starter pack. Pick your faves, don't skip the defaults, ok?
-h,--helpβ the help. Your safe space. π--config [~/]<path to config file>β hand over a config file to use. If the path starts with~/, that path lives in your home dir. Each line in the config file is one option β and no cap, you must not write-or--on those lines! Default:~/.osmocom/analog/nmt.conf--no-configβ even if a config file is sitting right there, we're not using it. Nope. π-v,--verbose <level> | <level>,<category>[,<category>[,...]] | listβ hitlistto get a list of all levels and categories. Verbose level: just the digit of the debug level (default =3). Verbose level + category: the level digit followed by one or more categories -> if no category is specified, all categories are selected.-v,--verbose dateβ show the date alongside the debug output. timestamp slay. π°οΈ-k,--kanal <channel>-k,--channel <channel>
Channel (German = Kanal) number of the "Sender" (German = Transceiver). Two spellings, same vibe. β¨
-a,--audio-device hw:<card>,<device>[/hw:<card>.<rec-device>]β sound card and device number (default =hw:0,0). You can specify a different recording device by using/. > Do NOT set this for SDR!-s,--samplerate <rate>β sample rate of the sound device (default =48000).-i,--interval 0.1..25β interval of the processing loop in ms (default =1.0ms). Use10to drastically reduce CPU usage. If you get buffer underrun, increase the buffer accordingly. π-b,--buffer <ms>β how many milliseconds are processed in advance (default =50). A buffer below 10 ms requires a low interval like 0.1 ms.-p,--pre-emphasisβ enable pre-emphasis if you're directly connected to the oscillator of the transmitter. (No pre-emphasis done by the transmitter.)-d,--de-emphasisβ enable de-emphasis if you're directly connected to the discriminator of the receiver. (No de-emphasis done by the receiver.)--rx-gain <dB>β raise/lower the receiver's RX level by the given gain in dB. (Works with sound card only.)--tx-gain <dB>β raise/lower the transmitter's RX level by the given gain in dB. (Works with sound card only.)-e,--echo-testβ echo test mode, which sends audio back from the mobile phone's microphone to the speaker. (German: 'Blasprobe'.) π€-c,--call-device hw:<card>,<device>[/hw:<card>.<rec-device>]β sound card and device number for the headset (default =''). You can specify a different recording device by using/.--call-samplerate <rate>β sample rate of the sound device for the headset (default =48000).--call-buffer <ms>β how many milliseconds are processed in advance (default =50).-x,--osmocc-crossβ enable built-in call forwarding between mobiles. Be sure to have at least one control channel and two voice channels. Alternatively use one combined control+voice channel and one voice channels. π«Ά-o,--osmocc-sockβ disable built-in call control and offer a socket instead.--cc "<osmo-cc arg>" [--cc ...]β pass arguments to the Osmo-CC endpoint. Use-cc helpfor a description.--no-l16β disable the L16 (linear 16 bit) codec. bye codec. π-t,--tones 0 | 1β connect the call on setup/release to provide classic tones towards the fixed network (default =1).-l,--loopback <type>β loopback test:1= internal |2= external |3= echo.-r,--realtime <prio>β set prio:0to disable,99for maximum (default =0).--fast-mathβ use fast math approximation for slow CPU / ARM based systems. π’β‘οΈπ--write-rx-wave <file>β write received audio to the given wave file.--write-tx-wave <file>β write transmitted audio to the given wave file.--read-rx-wave <file>β replace received audio by the given wave file.--read-tx-wave <file>β replace transmitted audio by the given wave file.--limesdrβ auto-select several required options for LimeSDR.--limesdr-miniβ auto-select several required options for LimeSDR Mini.
π‘ SDR options π‘
For when you're doing the whole software-defined-radio thing. iykyk.
--sdr-soapyβ force the SoapySDR driver.--sdr-channel <channel #>β give the channel number for a multi channel SDR device (default =0).--sdr-device-args <args>--sdr-stream-args <args>--sdr-tune-args <args>
Optional SDR device arguments, separated by comma, e.g. --sdr-device-args <key>=<value>[,<key>=<value>[,...]]
--sdr-samplerate <samplerate>β sample rate to use with the SDR. By default it equals the regular sample rate.--sdr-lo-offset <Hz>β give a frequency offset in Hz to move the local oscillator away from the target frequency. (default =-1000000)--sdr-bandwidth <bandwidth>β give the IF filter bandwidth to use. If you don't, the sample rate is used.--sdr-rx-antenna <name>β the SDR device's RX antenna name, uselistto get a list.--sdr-tx-antenna <name>β the SDR device's TX antenna name, uselistto get a list.--sdr-clock-source <name>β the SDR device's clock source name, uselistto get a list.--sdr-rx-gain <gain>β the SDR device's RX gain in dB (default =0.0).--sdr-tx-gain <gain>β the SDR device's TX gain in dB (default =0.0).--write-iq-rx-wave <file>β write received IQ data to the given wave file.--write-iq-tx-wave <file>β write transmitted IQ data to the given wave file.--read-iq-rx-wave <file>β replace received IQ data by the given wave file.--read-iq-tx-wave <file>β replace transmitted IQ data by the given wave file.--sdr-swap-linksβ swap RX and TX frequencies for loopback tests over the air.--sdr-timestamps 1 | 0β use TX timestamps on a UHD device. (default =1)
π Network specific options π
The ones that actually decide whether your phone vibes with the network. Choose wisely bestie.
-N,--nmt-system 450/900β give the NMT type as the first parameter. (default =450) > Note: this option must be given at first!-T,--channel-type <channel type> | listβ give the channel type, uselistto get a list. (default =CC/TC)-P,--ms-power <power level>β give the power level of the mobile station0..3. (default =1) NMT-450:3= 15 W / 7 W (handheld),2= 1.5 W,1/0= 150 mW. > Note: a power level < 2 causes the mobile to search longer for a cell.-Y,--traffic-area <traffic area> | listβ give the short country code and traffic area separated by a comma. (Example: giveSE,1for Sweden, traffic area 1.) Add!to force a traffic area that is not supported by the country. (Example: giveB,12!for Belgium, traffic area 12.) Uselistto get a list of available country code names.
NOTE: MUST MATCH WITH YOUR ROAMING SETTINGS IN THE PHONE!
Your phone will not connect if the country code is different! π
-A,--area-number <area no> | 0β give area number1..4, or0for no area number. (default =0)-C,--compandor 1 | 0β make use of the compandor to reduce noise during a call. (default =1)-0,--supervisory 1..4 | 0β use supervisory signal1..4to detect loss of signal from the mobile station, use0to disable. (default =1)-S,--smsc-number <digits>β if this number is dialed, the mobile is connected to the SMSC (Short Message Service Center). (default =767)-I,--caller-id 1 | 0β if set, the caller ID is sent while ringing the phone. (default =0)-U,--clock 1 | 0β if set, the current time is transmitted with CC. (default =0) > Note that this works only with pure CC, not with combined CC+TC.station_idβ give 7 digits of station ID, so you don't need to enter it for every start of this application. Give 7 digits for the NMT number (1st digit = country code). π
πΉ Keys, because you're the main character πΉ
Press digits '0'..'9' and then the 'd' key to dial towards a mobile station. Press the 'h' key to hangup. Press the 'w' key to toggle display of RX wave form. Press the 'c' key to toggle display of channel status. Press the 'm' key to toggle display of measurement value. Press the 'q' key to toggle display of RX I/Q vector. Press the 's' key to toggle display of RX spectrum. Press the 'b' key to remove DC level. π
β¨
and that's the whole page, bestie!! it lives in the General Commands Manual, and the little tag at the bottom of the page just says nmt(1) β that's the manual name right back atcha, iconic circular moment. π¦ go forth and transmit, you absolute legend. π«Άπ
π¦ 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 deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms