One CRC behind everything
CRC-16 "GENIBUS": polynomial 0x1021, start 0xFFFF, MSB first, result inverted. Check value: "123456789" → 0xD64E. The CRC is taken over the callsign as the station keeps it: upper case, checked, with any -SSID suffix exactly as written. Watch the 16-bit register absorb it one character at a time.
The 24-bit station hash
Low 16 bits: the CRC of the whole callsign as the station keeps it (upper case), SSID included. High 8 bits: the top byte of the CRC of its last three characters. It is never transmitted. It only chooses tones.
Change one character, or add an SSID, and the hash changes completely. N0CALL and N0CALL-3 are strangers to each other. Case does not matter: n0call and N0CALL are the same station. The written form of the SSID does matter: N0CALL-05 is accepted and packs like N0CALL-5, but its text, and so its hash and marker, differ, and a peer rebuilds the callsign without the leading zero. Write numeric SSIDs without one (the effect on a live session is unconfirmed).
How a hash picks the tones of control frames
Control frames carry no callsign. VARA's random generator is reseeded from station hashes and draws a tone pattern for each of the 58 control codes. A receiver recognises a frame only if it matches a pattern it drew itself. The link seed is the hash of the station that was called: the caller uses the hash of its target, the answerer the hash of whichever of its own callsigns the request named. BREAK and IDLE are then drawn again from the caller's own hash, so turn changes are bound to both stations.
Who can decode what
A listener recognises connect requests to its own callsigns (up to five aliases; more are refused, unused slots hash to 0) and takes the hash of the alias that was called as its link seed. The caller's identity arrives later, in the header frame. A third station hears the session's control frames as tone patterns it never drew: it would need the hashes of both stations, because BREAK and IDLE also depend on the caller's hash. CQ and KISS use fixed seeds everyone shares.
| Station's situation | Link seed | Side | BREAK / IDLE also from |
|---|---|---|---|
| Listening for calls | 0 | answerer | — |
| Calling a station | hash(called station) | caller | hash(own call), drawn when the call starts |
| Linked, as the caller | hash(peer) | caller | hash(own call) |
| Answering / linked, as the answerer | hash(own callsign that was called) | answerer | hash(peer), once the header frame has named the caller |
The second seed is always the caller's own hash. The caller redraws BREAK and IDLE from it when it starts the call; the answerer does so when the header frame has told it who is calling.
Six bytes in the header frame
The caller's first data frame names it. Eight 6-bit codes: space (padding) = 0, A–Z = 1–26, 0–9 = 27–36; no other character can occur, because the callsign was checked when it was set. Codes 1–7 are the base call, padded to seven; code 8 is the SSID: 1–19, with T, R, X, L sharing 16, 17, 18, 19. So N0CALL-16 packs exactly like N0CALL-T and is unpacked as N0CALL-T. A base never has more than seven characters: eight characters ending in T, R, X or L are rewritten as seven plus that letter as the SSID (ABCDEFGR → ABCDEFG-R), and any other longer base is refused.
flags = valid·128 + encryption·16 + compression·2 + registered. The sender always sets valid; a header with it clear is answered with the reject code. Compression (0 off, 1 text, 2 files) is forced to 0 when the caller is not registered; encryption is 0 except for particular stations. A session whose caller is not registered is limited to speed level 4: both ends key the limit to the caller's bit, and the answerer's own registration does not enter it.
The CQ callsign frame
A CQ is a control frame from the shared unproto codebook, a short silence (40 ms, unconfirmed), then an 8-byte FSK frame with its own packing: alphabet " A–Z0–9", base padded to 7 characters, then the low six bits of bandwidth×16 + SSID, then CRC-16. Only SSIDs 0–15 survive the trip: a letter SSID counts as 0 and is sent as no SSID, and 16–19 spill into the bandwidth bits. A receiver takes the CQ only when chat mode is on.
The marker byte
Short data frames are padded 0x14 · marker · 0 0 … (the marker only if there is room for it). The marker is the top byte of the CRC of the calling station's callsign (0x00 and 0x14 become 0x01). Both directions use the caller's marker.
The Morse ID
At the end of a session that reached the connected state, a station may key its base callsign (SSID removed) in Morse; the answerer keys the callsign it was called on. The ID is sent when the station's own CW ID option is on, or when the base callsign is shaped like a United States amateur callsign, whatever the option says. The host commands CWID ON and CWID OFF are accepted but change nothing. A station that will not send an ID says so in its disconnect, using the "disconnect without CW ID" code.
United States-shaped means all of: four to six characters starting with N, K, W or A; exactly one digit, in the second or third position; first two characters not AM to AZ; and a two-character prefix followed by three characters only when it starts with K or W.
Five forms, five jobs
| Form | Job | Readable by anyone? |
|---|---|---|
| Station hash | Selects control-frame tones; addresses connect requests | No — never sent |
| Packed callsign | Tells the answerer who is calling | Yes |
| CQ callsign frame | Lets everyone hear a CQ | Yes |
| Marker byte | Checks a data frame belongs to the session | Check value only |
| Morse ID | Identifies the station by ear | Yes |
All values on this page are computed in your browser with the same algorithms as the reference implementation, which reproduces the original modem's codebooks bit for bit. Examples use placeholder callsigns.