VARAHF.com / Callsigns, illustrated

Callsigns in VARA HF

A callsign rides the air in five forms: hidden inside the tones of every control frame, packed into six bytes, spelled out after a CQ, folded into a marker byte, and keyed in Morse. Type a callsign in any case; it is converted to upper case and checked first, and every diagram below is computed live from the form the station keeps.

01 · Foundation

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.

register
FFFF
02 · Identity

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).

03 · Hidden in the tones

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.

link seed (a hash)0x000000 + side + format+ code offset seed generator24-bit LCG 58 codewords per format F0 · F1 · F2receive side · send sideACK NACK BREAK CONNECT… caller side offset 50 · answerer 278 · connect requests seeded from the called station's hash BREAK and IDLE drawn again from the caller's own hash (offsets 850 caller · 1078 answerer)
this callsignthe same callsign with its SSID changedx: symbol (42.7 ms each) · y: tone (23.4375 Hz steps)

04 · Privacy by tones

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.

CallerN0CALL ListenerN0LABA 3rd CONNECT → N0LABA ACK tones drawn from hash(N0LABA): only N0LABA recognises it 3rd station: unknown pattern ≈ noise
Station's situationLink seedSideBREAK / IDLE also from
Listening for calls0answerer—
Calling a stationhash(called station)callerhash(own call), drawn when the call starts
Linked, as the callerhash(peer)callerhash(own call)
Answering / linked, as the answererhash(own callsign that was called)answererhash(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.

05 · Spelled out

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.

06 · Calling everyone

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.

CQ control frame (anyone decodes)short gap (40 ms, unconfirmed)callsign frame, 500 Hz FSK

07 · A quiet check

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.

08 · By ear

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.

09 · At a glance

Five forms, five jobs

FormJobReadable by anyone?
Station hashSelects control-frame tones; addresses connect requestsNo — never sent
Packed callsignTells the answerer who is callingYes
CQ callsign frameLets everyone hear a CQYes
Marker byteChecks a data frame belongs to the sessionCheck value only
Morse IDIdentifies the station by earYes

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.