Getting going
What mLink is
mLink is free mail, chat and net software for amateur radio. You install one program, connect your radio to the computer through a sound interface, and your station sends and receives chat and mail: directly, through other stations, or through the internet, whichever works. It runs on HF single sideband, on FM through FmLink, and across several bands at once when stations join into a cluster.
Three things set it apart. One frequency carries several conversations at the same time instead of one session after another. Every station listens to everything and helps the others, by relaying and by carrying mail. And there is nothing to arrange first: no gateway to pick, no connection to open, no mode to choose. You stay on the frequency and the station works out the rest from what it hears.
1.1 What you can do with it
- Run a net with a roster, a roll call that takes seconds, bulletins that come back with a record of who received them, and net control holding mail for members who are away (Chapter 12).
- Mail anywhere, with a subject, attachments and standard forms such as the ICS-213. Through the mailserver it reaches any callsign on any frequency or band, anywhere in the world; when the internet is down, stations carry it by radio alone (Chapter 11).
- Call for help with a distress signal that decodes far below anything else on the frequency and that every station passes on (Chapter 13).
- Chat live, like IRC, with one station or with everyone on the frequency (Chapter 5).
- Share a map: station positions, tracks, search areas and routes on every operator's screen (Chapter 15).
- Keep a log and a friends list, and fetch weather and other internet data for stations that have no internet.
Every message is compressed before it goes out, so even a one-line chat message shrinks and spends less time on the air. mLink does not encrypt anything it sends (Section 15.5).
Three words used carefully. Chat is short messages typed live. Mail is mail: a subject, recipients, and anything you attach. Message is anything an operator sends: a chat message, a mail, a bulletin, a distress call. This book never uses “message” for only chat or only mail (Message, chat and mail).
Full manual: What mLink Is.
What you need and getting mLink
You can try mLink before you touch a radio. The live demo at demo.mlinkproject.org seats you at a real station on a simulated frequency, in your web browser, with other visitors and stations that answer you.
2.1 What you need
- A radio. An SSB transceiver of the kind used for FT8 or JS8 is the usual choice. It must pass audio from about 290 to 2,900 Hz on transmit and on receive; on many radios that means plain USB with the rear or USB audio input rather than the narrower data mode. The website's radio list says, radio by radio, whether it has been tested with mLink and how to set it up. An FM radio works too, through FmLink (Section 15.6).
- A sound interface that keys the radio: a Digirig or SignaLink-type box with a PTT line, or a radio with a sound card built in, where one USB cable does both jobs. There is no modem box to buy; the modems are part of mLink. mLink does not key an HF radio by VOX, except through an interface that keys itself from the audio, such as a SignaLink (untried).
- A computer running Linux or Windows. A Raspberry Pi will do; mLink has run on a Pi Zero 2 W in field testing.
2.2 Getting mLink
mLink is in a development preview. Download it from
mlinkproject.org/download,
which always lists the newest version. On a 64-bit Linux PC take
mLink-x86_64.AppImage, make it executable with
chmod +x and run it. On Windows take
mLink-windows-x64.zip, unzip it into a folder of your own such as
Documents, and run mlink-client.exe in the mLink
folder. In the window that appears, type a name and press "Start local
daemon": the station is running. Builds for other systems, Android among
them, are on the same page; some are not yet tested, and the manual says
which.
Keep the file where mLink can replace it. When a newer release is out, the station tells you and installs it when you press "Update now". A pre-release that is left out of date for two weeks stops transmitting until it is updated, and it reports to the project how it runs unless you turn that off (Pre-release builds: the notice, About this build and feedback).
Full manual: Installing and First Run; Setting Up the Radio.
Setting up the station
A new station listens to everything and transmits nothing until you say the radio is ready. Set it up in this order. Each step is a page of Settings, which you open from the Start menu at the bottom left.
- Callsign and grid square. Settings opens on "Station". Type your callsign and your grid square, four or six characters. If you do not know your grid square, open the World Map and hold the cursor over where you are: the grid square is shown beside the cursor. Right-click there and choose "Set my position here" to use it. Until there is a callsign, the status row just above the taskbar says the station cannot transmit, and why. Whenever it says so, click it: it tells you what is wrong and where to fix it. (On a phone, the same reason is in the bell's list.)
- Sound. In "Radio", "Sound devices", pick the sound card the radio is plugged into, once for receive and once for transmit.
- Levels. In "Radio", "Levels and Tune", turn the radio's audio up or down until band noise on a quiet frequency sits around the middle of the receive meter and the "CLIP" lamp never lights. The page says what to aim for.
- Radio control. In "Radio", "Rig control", type part of your radio's model, pick it, then pick its port. mLink lists what it would like to change on the radio and writes nothing until you agree; "Restore" puts your own settings back. A radio without computer control can still be keyed by a line on the serial port.
- The self test. Under "Levels and Tune", "Radio self test" transmits for about ten seconds at the radio's lowest power and tells you whether the radio sends the whole audio band mLink uses. Use a dummy load or a clear frequency. Nothing at the far end can tell you this, so do it once.
- Mail. The "Mail" page has the project's mailserver,
https://mail.mlinkproject.org, filled in: press "Apply". Then, in the Mail window, open the "Mailbox (net)" folder and press "Register (internet)", or, with no internet, type the callsign of a gateway you hear and press "Ask this gateway". No password goes over the air. You also get codes for reading your mail in a web browser. - Let it transmit. Click the Inhibit switch in the taskbar, a yellow "stop" hand marked "Listen only" that waves every few seconds, and it turns into a green thumbs up marked "Transmit on". Click it again before you change frequency or retune an amplifier. mLink starts inhibited every time, so it never keys a radio that is not ready.
3.1 A first test
Open "Waterfall": band noise should scroll. Wait on your group's frequency, and stations appear in "Stations" as they are heard. Send a short chat message to everyone and watch the radio key, send and unkey. Then send a short mail to a station you hear and watch it move from "Waiting to send" to "Sent".
If something is not right, run mlink-logsum from the mLink
folder (the AppImage: --logsum): it reads the station's log and
puts the biggest problem first, in a sentence. "Send a report to the
project", under Help, sends the details to the project's maintainers.
Full manual: First run; Setting Up the Radio; Mail login: the mailkey.
The desktop
The client looks like an old-fashioned desktop on purpose: windows you drag about, a Start menu, a taskbar. Each tool is its own window. A new station opens with Mail on the left, and Stations and Chat on the right.
4.1 Reading it at a glance
The right end of the taskbar tells you, without opening anything, whether the station is connected, what it is doing, and whether anyone is in trouble. A green dot, an idle state and a gray triangle mean all is well. The Inhibit switch, the level meters, counts of new mail and chat, your callsign and the UTC clock live there too. A problem that stops the station working shows as a red strip across the top of the screen; click it to see what to do.
4.2 The windows
- Mail: Inbox, Drafts, Sent, "Waiting to send", mail your station is carrying for others, and "Mailbox (net)", your mailbox on the mailserver.
- Chat: every conversation in one window. Rooms on top (everyone on the air, your nets, internet rooms on the mailserver, MeshCore channels), then one thread for each person on each link.
- Stations: every station heard, with signal, distance and bearing; your logbook, which exports ADIF for LoTW or QRZ; and up to 32 friends, who can make a sound when they call.
- World Map: stations, the links between them, and shared areas and routes. The map is built in and needs no internet.
- Waterfall, flat or drawn in 3-D.
- Emergency, first in the Start menu and on the desktop as "Declare Emergency".
- Nets, Standard Forms (ICS-213, Radiogram and many more), Internet data such as weather, Settings and Help. The "?" on any title bar opens Help at that window, and this quickstart and the full manual are inside every download.
4.3 From another computer or a phone
Closing the client leaves the station running. You can operate it from a web browser, on the same computer or across your network, and the client has a layout for phone screens.
Full manual: The desktop; The Operator's Guide to the Client; Operating from a browser.
Day to day
5.1 Chat
Chat has a list of conversations on the left and the chosen one on the right. Each is named with its link in front: "Radio · Everyone", each net you are in, internet rooms such as "Internet · #cq", and every channel on the MeshCore board, such as "MeshCore · Public". Below them is one thread for each person on each link, with its last chat message and a count of what you have not read. A thread whose link is down is grayed and says why. "+ New" asks which link first: a callsign by radio, an internet room, or a MeshCore channel or contact.
Type a chat message and press Enter. In "Radio · Everyone" it goes to everyone; clicking a chat message from another station answers that station alone. One to a single station is tried until that station acknowledges it, for about 25 minutes, longer on a crowded frequency. A small mark beside each of your messages says where it is: waiting, on air, trying again, waiting for the station or for a relay, delivered (the station you wrote to confirmed it), sent (to everyone), with a relay, gave up (it may still have arrived), stopped or not sent. Point at a mark, or click the message, for what the station is doing and, once it sets the message aside, when it gives up. The list of conversations shows the mark of your last message too; one that gave up or was not sent stays red there until you open that conversation, and the station's notice names the station and the message. Right-click your message (long press on a touch screen) to stop it while it is still going out, to send it again, or to send it as mail. A chat message is short, at most what one short message carries; a counter shows the room left, and anything longer is mail.
5.2 Mail
"Compose" in the Mail window, or the "Mail" button beside any callsign, opens a new mail. The suggestions under "To" say when your station last heard each station, and once you have chosen one a line under "To" says what will happen: "W1AW heard 4 min ago at +10 dB: goes direct, about 45 s.", or "W1AW not heard for 26 h: your station will ask for a relay or wait for a gateway.", or that the mail is too big for the path now. Attach files, map objects or a filled-in form; the size beside the attachments says how much room is left. Then press "Send" and walk away. A mail never expires: if it cannot be delivered now, it is held and carried until it can be.
5.3 Reading the outbox
- "Waiting to send" in the Mail window lists what the station is still working on; "Sent" lists your mail and chat that has gone, with its subject or first words under WHAT.
- A message may say "Waiting its turn" for a few seconds, sometimes a minute, while the station waits for a free moment on the air.
- "Delivered to W1AW" means W1AW's own station confirmed it. "With relay K7ABC" or "With the mail server" names who holds it now. "Waiting for ..." means the station still has it and will try again by itself. "Not sent" means it has stopped, and WHY says why.
- To stop something going out, press "Abort" in the taskbar, not the radio's power switch. What you were sending is kept as a draft.
- Before you switch off, look at "Waiting to send": what is waiting its turn or on the air is still work to do.
5.4 Good to know
- Your station works for others while you are away: it relays, passes on distress calls and, with internet, carries mail. You can limit this in Settings.
- After you change frequency, give the station a few minutes to hear who is there. An empty Stations list after an hour means a dead band or the wrong frequency.
- "Beacons" keeps up to sixteen ready-made chat messages, such as a net check-in, to send with one click.
- Settings, "Notifications" decides what pops up, makes a sound or shows on a phone, one row per kind of event.
Full manual: Communicate; The Outbox, and Why Your Station Waits.
How it works
One system, top to bottom
mLink is designed as a whole, from the modem on the air to the mailbox on the internet, as a more efficient and homogenized alternative to the Winlink system and its several separate programs: the mail client, the modem, the gateway software and the central mail servers. Because every layer is built for the others, nothing has to be configured to match, and no air time is spent on negotiation between them.
- The station daemon runs the station: the modems, the receiver, the database and every decision about the air. It keeps working with nobody watching, so a station can be left unattended to relay and to carry mail. Everything your station has sent, received or overheard is kept in its own database, on your computer.
- The client is what operators use: a desktop program or a web page. It can be on another computer, and several operators can work one station at once.
- The mailserver is a program on the internet with no radio of its own. It keeps a mailbox for each callsign (one mailbox for every SSID of it) and is central to getting mail delivered: it holds mail for a station that is off the air, out of range or on another frequency until that station collects it. Any station with internet access talks to it on behalf of the stations it hears. There is no mailserver at your station.
| Job | Winlink | mLink |
|---|---|---|
| Writing and reading mail | A client program | The client |
| The signal on the air | A separate modem you must also have: VARA, ARDOP, packet, or a Pactor box costing well over a thousand dollars | The daemon's own three modems; a sound interface with a PTT line is the only hardware |
| Choosing when and to whom to transmit | The operator picks a gateway and starts a session | The daemon, from what it has heard |
| Radio to internet | Gateway software at stations set up for it | Any station with internet access |
| Radio only, station to station | A separate network of chosen stations | Every station |
| Holding mail | The central mail servers | The mailserver |
| Nets, distress calls, maps, several bands | Other programs, or not covered | Built in |
mLink is built for what counts: mail that arrives, and a frequency that carries everyone's traffic. With Pactor, VARA, ARDOP and packet an operator keeps a list of gateways, picks one, and hopes it is listening and in range. An mLink network works together: every station is always decoding and always helping, so there is no particular gateway to reach. Several exchanges run at once, there is no session to set up, only what was lost is sent again, weaker stations are reached, and strong compression can put mLink ahead of even the fastest of them for ordinary text. In simulated twelve-station nets running for hours, every mail and every chat message was delivered.
How the two compare, measured in air time, header bytes and turns on the air: Coming from Winlink.
Full manual: What mLink Is; One system, top to bottom; Coming from Winlink.
The signal
An mLink channel is one SSB voice channel, about 3 kHz wide. Inside it are three kinds of signal, each in its own region of the audio, each with its own modem. A receiver decodes all of them all the time.
| Region | Audio | Carries | Sounds like |
|---|---|---|---|
| Emergency | 300–350 Hz | Distress calls only | A low, slow warble |
| Announce, three channels | centered on 550, 900 and 1,250 Hz | Station identification, short messages, acknowledgments, requests and replies | Short buzzy bursts, two thirds of a second each |
| Bulk | 1,500–2,900 Hz | Long messages, mostly mail and attachments | A wide, even hiss, 5.98 seconds per frame |
A fourth announce-type channel, the bulk-control channel, sits in the middle of the bulk region at 2,200 Hz. It carries only the short frames that open and acknowledge a bulk transfer, and takes turns with the bulk signal. It lives there rather than on an announce channel for a practical reason: most chat messages and mail compress small enough to go as short frames, so the bulk region is quiet most of the time, while the announce channels get busier as more stations come on. Keeping a bulk transfer's own openers and replies inside the bulk region means they are never held up by unrelated chatter, which matters because the two ends of a transfer are working to a reply deadline.
The regions are separated by empty spectrum, and every modem filters its own output, so a signal in one region does not disturb another. Your radio's filters must pass audio from about 290 to 2,900 Hz, on transmit and on receive, which on many radios is wider than the data mode goes. The regions were placed inside what nearly every radio passes: above the low cuts radios ship with, and under the 2,900 Hz transmit edge of the most common radios.
Words this document uses carefully. Message, chat and mail are defined on Chapter 1. A frame is one block of modulated data, the thing a modem sends and decodes. A transmission is one press of the key: one or more frames, then the radio unkeys. A message, from one typed line up to about 64,000 bytes, is carried by as many frames and transmissions as it takes.
Full manual: One Passband, Three Regions; The Transmission Is the Unit.
Several conversations at once
Most data modes give the whole channel to one transmission at a time. mLink divides the channel, so stations that are not talking to each other do not have to wait for each other.
- Five places to transmit. Three announce channels, the bulk region and the emergency region. A bulk transfer between two stations can run in the top of the passband while stations that are not following it exchange short messages on the announce channels and a distress call goes out underneath.
- Every receiver decodes all of it, all the time. A station is never tuned to one conversation. It hears every frame in every region, which is how it knows who is on the frequency, how strong they are and what has been sent.
- Reservations cover one region. The opening of a transfer reserves only the announce channel or the bulk region it will use, for only as long as the transfer can last. The other regions stay free.
- A new message picks any free announce channel at random, so two stations that start at the same moment usually land on different channels and both get through. A station has no favorite channel.
- Listen before transmitting. A station does not start a new message while its receiver hears an mLink signal anywhere in the passband, so a station that is decoding somebody else's bulk transfer waits for it to end. After the frequency goes quiet it waits a random time that grows with the number of stations it has heard. Replies that are owed and distress calls do not wait.
- Order of precedence: distress traffic, replies that are owed, the exchange already under way, new messages, then automatic traffic such as beacons.
One station still transmits one thing at a time and cannot receive while it transmits. The gain is across stations: on a busy frequency several exchanges proceed side by side, between stations that are out of each other's hearing or that are not following each other's transfers. How well it works is measured on a simulated air. In twelve-station nets running for hours, between none and about two frames in a hundred are overlapped by another station's transmission, and in a deliberately punishing search-and-rescue test on two bands, with many stations that cannot hear one another at all, about one in fifty. A larger simulation is being run again for the current protocol (Chapter 16).
Full manual: Sharing the Channel; One audio stream, many signals; Operator simulations.
How a message is sent
You never choose how a message goes out. The station picks from the size of the message and from how well the other station has been hearing you.
| Size after compression | Sent as | Air time |
|---|---|---|
| Up to 160 bytes | A shortburst: up to 16 announce frames in a row | 2 to 12 s |
| 161 to 601 bytes, weak path | A longburst: two to four shortbursts, each acknowledged | 15 to 47 s |
| 100 bytes and up, good path | A bulk transfer: up to 10 bulk frames per transmission, 64 in all | 7 s for one frame, 61 s for ten |
The largest message to one station is about 64,000 bytes after compression; a broadcast to everyone is limited to about 6,000.
9.1 One exchange
- The station waits until it is not in another exchange, nobody has reserved the part of the passband it needs, and its receiver hears nothing. Then it waits a short random time, so stations that were all waiting do not key together.
- It sends one transmission. The first frame, PRESENCE, is the station's callsign and grid square, which is also its identification. The next says what follows and for whom. Then come the data frames.
- Stations that hear the opening stay off that part of the passband until the transfer is over.
- The recipient replies about two thirds of a second after the transmission ends: an acknowledgment if everything arrived, or a map of which frames did not.
- The sender repeats only the missing frames. A fade that destroys one frame in ten costs one frame, not the transfer.
If no reply comes, the sender does not repeat the data. It asks one short question, "did you get that?", and if that is not answered either it looks for a relay (Chapter 10).
Full manual: Mail in mLink; Three Sizes of Message; Getting Every Byte There.
Automatic relay
On the air a station often cannot hear the one it wants, across a skip zone on HF or behind a hill on FM, while a third station hears both. mLink uses that third station without anyone asking it to.
- Every station keeps what it overhears. A message sent to someone else is kept by every station that decoded it, for as long as the operator leaves it in the database.
- The sender asks. When a message gets no reply, the sender transmits one short REQUEST naming the recipient and the message. It does not send the message again.
- Stations that can help offer. A station offers only if it holds a copy, has heard the recipient recently, within about half an hour, and has a usable path to it; stations that heard the recipient in the last two minutes answer first. Offers go out in separate time slots so they do not collide, and each says how well that station hears the recipient. When many stations could help, each works out its own place in line, two answer per slot, and normally only the best two answer at all. A station far down the line stays silent and moves up each time a request goes unanswered, so that a crowd does not all answer at once.
- The sender picks one, two seconds after the first good offer: the station with the best path to the recipient.
- The relay delivers its copy in a transfer of its own, with repairs if needed. The recipient files the message under the station that originally sent it, not under the relay.
- The relay reports back, and the sender's outbox shows the message as sent.
If nobody offers, the sender keeps the message and tries again when it next hears any station, first after one minute and then at gaps that double up to 32 minutes. From then on the request also invites a station that hears the recipient but did not overhear the message: such a station answers "I can reach them but I need the message", and the sender hands it the message in a transfer of its own.
Relay is not limited to one hop. A relay that cannot reach the recipient after all asks for a relay of its own, in the same way, and the message keeps the name of the station that originated it. No routes are configured and no station is a designated relay. Each hop is arranged for one message, from what stations have heard in the last few minutes.
Full manual: Relay: Recruiting a Helper; Finding Each Other.
Mail in mLink looks like email: a subject, recipients, copies, replies tied to the mail they answer, and attachments. You write it, send it and walk away.
11.1 How it travels
- By radio, station to station. Directly to the recipient, or through a relay. No internet is involved at either end.
- Through a gateway. A station with internet access says so on the air and becomes a gateway for the stations around it. It puts mail it overhears into the recipient's mailbox on the mailserver, and tells the sender it has taken it.
- Across frequencies, bands and continents. Two stations do not have to share a frequency. The mail goes by radio to a gateway, over the internet to the mailserver, and out by radio from whichever gateway next hears the recipient, anywhere in the world.
- Carried toward the internet. When no gateway is in range, a station that overheard the mail holds it and hands it to the first gateway it meets, or delivers it directly if the recipient turns up first. The mailserver does not have to be reachable for mail to move.
- Mailing lists. The mailserver runs mailing lists that any registered station can join. It can also exchange mail with ordinary internet email addresses, but that is not switched on at the project's mailserver yet.
11.2 How it arrives
You do not have to ask. When a gateway hears your station, it looks in your mailbox and tells your station what it holds for you; your station fetches it. Several mails for one station travel together in one transfer. Where many gateways hear the same station they take turns, each looking at most once every fifteen minutes and standing down when it hears another has already answered. A station that no gateway can hear directly can ask through a relay.
Your mailbox can also be read in a web browser, at the mail portal on
mail.mlinkproject.org. You sign in with a one-time code your
station makes, or one of the codes you wrote down when you registered, and
can then set a password (Signing in to the mail portal).
11.3 What is promised
| Case | Is delivery promised? | Who holds it while it waits | You see |
|---|---|---|---|
| Chat to one station | Yes, for a while: the station keeps trying until that station acknowledges it, but gives up when its lifetime runs out (about 25 minutes, up to 150 on a crowded frequency). | Your station, or a relay carrying it. | "Delivered to W1AW" when that station acknowledged it; "Waiting for ..." or "With relay ..." while it waits; "Gave up: it may still have arrived" when its time ran out, which does not mean it did not arrive. "Chat" offers "Send as mail" in the message's right-click menu. |
| Chat to everyone, an area or a net | No. Nobody acknowledges; it is sent once. | Nobody; each station that heard it keeps its own copy. | "Sent to everyone" once it has gone out. That does not mean anyone received it. |
| Mail that has not reached a mailserver | Yes, and it never expires. | Your station, until the recipient, a gateway or net control takes it. | "Waiting for ..." while your station has it; "With relay ..." or "With gateway ..." once another station holds it; "Delivered to W1AW" when the recipient's own station confirmed it. |
| Mail at a mailserver | Yes. | The mailserver, until the recipient fetches it. It then keeps it, marked fetched. | "With the mail server". That means the server has it, not the recipient. |
| Mail between two members of a net, recipient off the air | Yes. | Net control, until it hears the member. Chat is never held this way. | "With net control ...", then "Delivered to ..." or "With the mail server". |
11.4 What to know
- Mail never expires. A mail that cannot be delivered now is held, at your station or in the mailbox, and carried to its recipient when they turn up. In a Virtual Net, net control holds it for a member who is away and delivers it at their next check-in. The mailserver keeps a delivered mail too, marked as fetched; nothing is deleted unless its operator sets a retention period.
- One station is responsible for a mail at a time. A gateway claims a mail only after the mailserver has confirmed it holds it, and other stations carrying the same mail then stop.
- Who wrote it. A mail names the station that sent it, and can also carry the operator who wrote it and the position they were working, for a station with several operators.
- The mailserver is what makes delivery dependable. It holds every mail until its recipient collects it, and every gateway reaches it. Stations with no internet in reach still exchange mail by radio alone; that is a feature for when the internet is gone, not the usual path.
- Nothing secret is sent by radio. A station proves who it is to the mailserver without transmitting a password.
- Nothing is hidden. mLink does not encrypt any message it sends, so a relay, a gateway and the mailserver can each carry and file mail by reading it.
- The mailserver is an early version. Today it is one server managed with ordinary SQLite tools. Stronger security, several servers, automatic duplication and management tools are planned, not yet built.
Full manual: Mail Over the Air; The Mailserver.
Virtual nets
Normally an mLink frequency has no net control. An operator who wants a net in the familiar sense can open one in the Nets window, give it a name, and let other stations join. Stations that do not join carry on as before on the same frequency.
- Owner and net control. The net belongs to the station that opened it. Net control runs it. They are usually the same station, and the owner can hand net control to another member.
- Roster. Up to 127 members, numbered in the order they joined. Net control repeats the roster a few entries at a time, so a station that arrives late learns it by listening.
- Roll call. Net control sends one frame. Each member answers in its own 1.2-second slot with a single frame, in roster order, with no prompting. Twelve stations take about 21 seconds. A member that missed its slot gets a second try, and a member can vouch for one it hears that net control does not.
- Bulletins. Up to 200 characters to every member, followed by a roll that shows who received it, and one repeat for those who did not.
- Standing orders. One longer text that every member keeps. A member that does not have the current copy asks for it.
- Mail for a member who is away. When one member mails another who is off the air, net control keeps the mail and hands it over the next time it hears that member: a check-in or any transmission. The sender can switch off. Every roll call tells the net what net control is holding, so a stand-in can deliver it too.
- If net control goes quiet, a member takes over as a stand-in after three and a half cycles of silence, and the owner gets the net back when it returns.
- During a roll call members hold their routine traffic, and stations outside the net keep off that one announce channel. The other channels and the bulk region stay in use.
A net is a layer of organization, not a requirement. Chat, mail, relay and distress calls work the same with or without one.
Full manual: Virtual Nets.
Distress calls
Any station can send a distress call, and every station is always listening for one. The call has its own region at the bottom of the passband and its own modem, built to be heard when nothing else can be.
To send one, open Emergency, the first item in the Start menu, or the "Declare Emergency" icon on the desktop. Every field is optional and the red button is always live; the window warns you about what is missing but never stops you. To practice, tick "Drill": the call goes out marked as a drill on every station that hears it.
- It reaches deepest. A single frame decodes nine times in ten at about −19.6 dB, some 10 dB below the announce frames and well below what you can see on a waterfall, and the call repeats.
- It is slow on purpose. One frame takes 10.88 seconds and carries 11 bytes. The first frame alone is a complete alert: a position, how sure it is, what kind of trouble, how bad, how many people. Up to 14 more frames add who is calling and what is happening, 13 characters each.
- It repeats. A call goes out again about every 75 to 90 seconds until someone acknowledges it or the operator ends it, either with "All clear (tell everyone)" or with "Stop without telling anyone". It survives a restart of the station software.
- It leaves room for an answer. After each pass the calling station listens for at least 15 seconds.
- It does not wait for anyone. Distress traffic ignores reservations, and sending a call cuts off whatever else the station was transmitting; that message is kept in Drafts. No setting, password or missing field can stop a call being sent. An empty call is still a valid call.
13.1 When a station hears one
- It alerts its operator.
- It holds its own routine traffic until that pass of the call is over, then carries on.
- It repeats the call in the announce region after a short random wait, and stands down if another station does so first.
- A gateway puts the call in a mailbox watched for distress calls, so a person with a telephone can act on it.
- If the caller says it is over, the station marks the call cleared (green, never deleted), drops a rebroadcast it had planned and passes the all clear on, so anyone who was sent to help can be called off. A call heard again afterwards is open again.
- An operator can acknowledge it. The acknowledgment goes out twice: with contact details in the announce region, and as one frame in the emergency region, timed for the moment the caller starts listening, so the answer reaches as deep as the call did.
The distress modem exists to raise the alarm, not to hold a conversation. Once a call is acknowledged the repeats stop, and the caller and the station that answered talk as any two stations do, with ordinary chat and mail, through relays and gateways like everything else. That is where the details get sorted out and where a rescue can be called off if it is not needed.
Full manual: The Emergency Modem: NB8FSK; Emergency: The SOS Service.
Clusters: one station, several radios
A station can be more than one radio. Several computers, each running the daemon with its own radio on its own band, join into a cluster that shares one callsign and behaves as one station.
- The link between members is a network, a LAN or the internet. It is never the radio. Up to 16 members.
- Everything heard is shared. A station heard on 40 m by one member appears in the station list of every member, with the band it was heard on.
- Traffic crosses bands. A message for a station that only the 80 m member hears is carried over the link and sent from the 80 m radio.
- One operator view. An operator's client connects to any member and works the whole station. Accounts, passwords and the mail identity are the same everywhere.
- Mail is protected against losing a member. A member with internet access holds a copy of the others' unsent mail and takes it over if its owner has been silent for three minutes.
- Each radio still decides for itself. When to transmit on a band is decided only from what that band's radio hears.
Joining takes a label, the address of one existing member, and approval by an administrator who compares two key fingerprints.
Full manual: Clusters: One Station, Several Radios.
Also built in
15.1 Stations find each other
A new station listens for twenty seconds before it identifies itself on its own. If it hears other stations it joins in; if it hears nobody it sends a beacon every minute or so until someone turns up. After that it sends a short beacon now and then, less often on a crowded frequency. A message you send goes out as soon as the air is clear, listening period or not. Every station keeps a list of who it has heard and how strongly, and stations pass each other short notes about who hears whom, which builds a map of the links on the frequency.
15.2 Position and maps
Every station is placed on a world map from its grid square, or exactly with a GPS. Stations can send position reports that leave a trail, and operators can share map objects such as search areas and routes. A message can be addressed to "any station in this area".
15.3 Internet data over the air
A station without internet can ask for data such as a weather report. A station with internet fetches it and sends back a compact answer.
15.4 Operators and roles
Several operators can work one station at once, each with an account. Three roles (operator, technician, administrator) decide who may change the station's settings. Sending a distress call is never restricted.
15.5 Identity
Every mail carries a short proof of its author, made with a key that only your station and the mailserver hold, and the mailserver checks it. That proof does not hide the mail: mLink does not encrypt any message it sends.
15.6 FM
FmLink is mLink for FM voice radios and repeaters: the same mail, chat and relays on an FM channel. It works on real FM radios. It has been run between two inexpensive handhelds keyed by VOX, with every frame decoded, and on the bench with a Yaesu FTM-3100R/E mobile keyed by a Digirig's line, and mail, chat and relays are proven in the simulated air. A radio keyed by a line or CAT needs no leader tone and serves the channel best; VOX stays for the radios that need it. FmLink ships in the pre-release, fast signal included; field tests come next. A distress call can be sent on FM too; for a life-threatening emergency, use voice on the channel as well.
Full manual: Finding Each Other; Position, Maps and Tactical Overlays; Sharing the Internet Over the Air; Accounts, Roles and Shared Stations; Security Under Part 97.
How demanding is it?
mLink makes heavy use of simulated air time, with real mLink stations sharing one audio baseband and each station given its own handicaps: some are deaf to certain others, some fade in and out, in all sorts of configurations. The stations are the real program; only the sound card is fake.
The most demanding simulation puts a great many mLink stations on one frequency at once: nets, ordinary QSOs, mail and a few disruptive stations constantly calling CQ. The intent is to make sure that a safety-critical net can still perform well despite everything else competing for the frequency. It is being run again for the current protocol, and its results will appear in the full manual. The design goal is for mLink to scale to 256 stations on a single frequency while keeping excellent delivery and air-time figures.
The full manual's appendix A Busy Frequency: the Large-Network Simulation will hold the results; How We Know It Works explains the simulated air itself.
For the technically minded
Modulation and error correction
Each region has a modem chosen for its job. This page says what they are; the full manual explains how they work.
| Emergency | Announce | Bulk | |
|---|---|---|---|
| Modulation | 8 tones, one at a time (8-FSK), 6.25 Hz apart | QPSK on one carrier | OFDM: 28 carriers 46.875 Hz apart, 24 of QPSK data and 4 pilots that move one carrier each symbol |
| Symbol rate | 6.25 baud | 200 baud | 34.1 symbols per second on each carrier |
| Error correction | polar code with a 24-bit check | polar code with a 24-bit check | LDPC at rate 1/2, 3/4 or 5/6 |
| One frame carries | 11 bytes | 11 bytes | 603, 907 or 1,008 bytes |
| One frame lasts | 10.88 s | 0.66 s | 5.98 s at every rate |
| Useful speed | about 8 bit/s | about 130 bit/s | about 800 to 1,350 bit/s |
| Decodes down to | about −19.6 dB for nine frames in ten, in one pass; a call also repeats | −9 dB | about −1.5 dB at rate 1/2; rates 3/4 and 5/6 need about 2.5 and 3.5 dB more |
Signal levels are signal-to-noise ratios in a 3 kHz bandwidth (the SNR@3k yardstick). A report from FT8 or JS8 for the same signal reads about 0.8 dB higher. "Decodes down to" means the level at which nearly every frame still gets through: 99 % of short frames at −8 dB, 90 % of emergency frames at about −19.6, and 99 % of rate-1/2 bulk frames at −1.55. All three were measured in steady noise, through the whole receive path; the full manual has the curves.
- The slower the signal, the deeper it reaches. A distress call decodes about 10 dB below the short frames and about 18 dB below the fast ones.
- The short frames' polar code weighs every bit by how sure the receiver was of it, and fades out gradually: 99 % of frames decode at −8 dB, more than nine in ten at −9, three in five at −10. The emergency frame uses the same code and the same length of check.
- LDPC works close to the theoretical limit and has a sharp edge: at −1.5 dB nearly every rate-1/2 bulk frame decodes, and 1 dB lower almost none do. A frame of any kind is either delivered whole or not at all, because every message carries a check; what is special about LDPC is that there is no gradual slope between working and not working. So the station sends bulk only when it estimates the path at +3 dB or better, where even its fastest rate, 5/6, delivers 99 % of frames. The estimate comes from what the other station reports hearing of you, or, failing that, from how well you hear it.
- A bulk frame is the same length at every rate. A better path carries more bytes per frame, not shorter frames. The first frame of a transfer is always rate 1/2.
- Everything is compressed for transmission when doing so makes it smaller, and every message carries a 16-bit check so a damaged one is never delivered.
Full manual: Error Correction: Reed-Solomon, LDPC and Polar Codes; The Emergency Modem: NB8FSK; The Announce Modem: QPSK; The Bulk Modem: OFDM.
Numbers at a glance
| Item | Value |
|---|---|
| Channel | One SSB channel; signals occupy 290 to 2,900 Hz of audio |
| Emergency region | 300–350 Hz; 8-FSK at 6.25 baud; 10.88 s per frame; nine frames in ten decode at about −19.6 dB in one pass |
| Announce channels | 550, 900 and 1,250 Hz; QPSK at 200 baud; 0.66 s per frame; decodes to −9 dB |
| Bulk region | 1,500–2,900 Hz; OFDM, 28 carriers at 34.1 symbols per second; 5.98 s per frame; from about −1.5 dB at rate 1/2, 2.5 to 3.5 dB more at the higher rates |
| Bulk control channel | 2,200 Hz, shared in time with the bulk signal |
| Error correction | a polar code on emergency frames and announce frames (both with a 24-bit check); LDPC rate 1/2, 3/4, 5/6 on bulk frames |
| Bulk frame payload | 603, 907 or 1,008 bytes by rate |
| Useful speed | about 8, 130 and 800–1,350 bit/s (emergency, announce, bulk) |
| Signal levels | Signal-to-noise ratio in 3 kHz; bulk is tried from an estimated +3 dB |
| Shortburst | 1 to 160 bytes, up to 16 announce frames |
| Longburst | 161 to 601 bytes on a weak path |
| Bulk transfer | up to 64 frames, 10 per transmission; about 64,000 bytes |
| Largest broadcast | about 6,000 bytes |
| Reply after a transmission | about two thirds of a second |
| Relay offer conditions | holds a copy; heard the recipient within about 30 minutes, those within 2 minutes first; path of −9 dB or better |
| Relay hops | no fixed limit; one handshake per hop |
| Overheard copies | kept until the operator prunes the database |
| Retry gaps for a waiting message | 1, 2, 4, 8, 16, then 32 minutes |
| Chat message to one station | gives up when its lifetime runs out: 25 minutes, up to 150 on a crowded frequency |
| Mail lifetime | never expires; the mailserver keeps delivered mail unless a retention period is set |
| Distress call | 1 to 15 frames; up to 182 characters; repeats about every 75 to 90 s |
| Virtual net | up to 127 members; roll-call slot 1.2 s |
| Held mail | net control keeps a member's mail when the member has not been heard for 2 minutes and no relay answers within about 20 seconds; delivered the next time net control hears the member; the net's list names up to 10 |
| Cluster | up to 16 members |
| New station | listens 20 seconds before beaconing; operator messages go out after a short random wait, usually under 2 seconds and up to about 5 seconds when many stations have been heard |
| Frames overlapped by another station, in simulation | 0 to about 2 % with 12 to 38 stations |
Every figure here is defined, with its source in the code, in Numbers at a Glance of the full manual.