Specific Area Message Encoding

Specific Area Message Encoding or SAME is the protocol used to encode the Emergency Alert System in the U.S. for broadcast stations. It was originally created for NOAA Weather Radio by the National Weather Service, and was later adopted by the FCC for regular broadcasters on radio, television, and cable, as well as by Environment Canada for its weather radio service.

The system transmits digital tones over normal audio using AFSK, with a 2083.3 Hz mark tone and 1562.5 Hz space tone, lasting 1920 &mu;s (1.92 ms) each. The data is encoded in 7-bit ASCII but uses all 8 bits, with no parity bit and no stop bit ("8-N-0"), at a bitrate of 520.83 bits per second. The least significant bit of each byte is transmitted first. The tones are multiples of the bitrate.

In the SAME system, messages are constructed in four parts, the first and last of which are digital. The first part is the AFSK-encoded header message in 7-bit ASCII text. It is repeated three times, so that decoders can pick "best two out of three" for each byte, thereby eliminating most errors which can cause an activation to fail. The text of the header code contains:
 * 1) A preamble of binary 10101011 (0xAB in hex) repeated sixteen times, used for "receiver calibration", then the letters ZCZC as an attention to the decoder
 * 2) Information about the originator of the alert:
 * 3) *EAN - national authorities, including the President (Emergency Action Notification Network)
 * 4) *PEP - national authorities, including the President (Primary Entry Point System)
 * 5) *CIV - civil authorities, such as president, governor or local city/county emergency management agency
 * 6) *WXR - National Weather Service weatheradio
 * 7) *EAS - broadcasters, such as radio & TV stations, or cable TV companies
 * 8) Event type (see below)
 * 9) Areas affected (up to 32), designated by FIPS state code and indicating the county (parish in Louisiana, borough or census area in Alaska), but which may be designated for the whole state by using county number 000.
 * 10) Duration of alert, normally in increments of 15 minutes from time of issue
 * 11) Exact time of issue, in UTC, without time zone adjustments
 * 12) Eight-character station callsign identification, with / used instead of -.

Full Message Breakdown
An EAS message contains these elements, in this transmitted sequence:


 * 1) Header: (Preamble) ZCZC-org-eee-pssccc-pssccc+tttt-jjjhhmm-llllllll
 * 2) Attention signal ([[Media:1050Hz.ogg|1050 Hz]] audio tone for Weatheradio, combined [[Media:Emergency alert system tone.ogg|853 and 960 Hz]] tones for commercial radio/TV)
 * 3) Message - audio, video image or video text
 * 4) Tail: (Preamble) NNNN</tt> (EOM)

There is one second of blank audio between each section, and before and after each message.


 * (Preamble): Signal that clears and resets the receiving system; factory-programmed
 * ZCZC</tt>: Start of ASCII code; factory-programmed
 * org: Originator code; programmed per unit when put into operation
 * eee: Event code; programmed at time of event
 * pssccc: County-location codes (up to 32 locations); programmed at time of event
 * ss is the state or equivalent water area code
 * ccc is the county/borough/parish, independent city, or equivalent (000 for entire state)
 * p is the part of the county, or 0 for the entire county
 * tttt: Duration the alert is valid (hhmm format); programmed at time of event
 * jjjhhmm: Date and Time-of-Day; encoded automatically, based on settings
 * jjj is the Julian date day of the year, in UTC, with leading zeros
 * hhmm is 24-hour hours and minutes, in UTC, with leading zeros
 * llllllll: Eight-Character ID; programmed per unit when put into operation
 * broadcast station callsign, such as WXXX/FM
 * NWS location, such as KDEN/NWS for Denver, Colorado
 * Attention signal: Sent if any message is included (normally sent with all messages except RWT); must be at least eight seconds long
 * NNNN</tt>: End-of-message code (EOM)

Event codes
There are about 80 different event codes currently used in EAS. Originally, all but the first six of these were optional and could be programmed into encoder/decoder units at the request of the broadcaster. However, a July 12, 2007 memo by the FCC now requiers mandatory participation in state and local level EAS. The current event codes are:

-
 * EAN: Emergency Action Notification (Activates the EAS nationwide)
 * EAT: Emergency Action Termination (Ends national activation)
 * NIC: National Information Center statement (Used to distribute National level information after EAT has been sent)
 * RMT: Required Monthly Test
 * RWT: Required Weekly Test
 * NPT: National Periodic Test
 * ADR: Administrative message
 * AVA: Avalanche watch
 * AVW: Avalanche Warning
 * BHW: Biological Hazard Warning
 * BWW: Boil Water Warning
 * BZW: Blizzard Warning
 * CAE: Child Abduction Emergency*
 * CDW: Civil Danger Warning
 * CEM: Civil emergency Message
 * CFA: Coastal Flood watch
 * CFW: Coastal Flood Warning
 * CHW: Chemical Hazard Warning
 * CWW: Contaminated Water Warning
 * DBA: Dam Break watch
 * DBW: Dam Break Warning
 * DEW: Contagious disease Warning
 * DMO: Demonstration message
 * DSW: Dust storm Warning*
 * EQW: Earthquake Warning*
 * EVA: Evacuation watch
 * EVI: Evacuation Immediate
 * FCW: Food Contamination Warning
 * FFA: Flash flood Watch
 * FFS: Flash Flood Statement
 * FFW: Flash Flood Warning
 * FLA: Flood watch
 * FLS: Flood Statement
 * FLW: Flood Warning
 * FRW: Fire Warning*
 * FSW: Flash Freeze Warning
 * FZW: Freeze Warning
 * HLS: Hurricane Local Statement
 * HMW: Hazardous Materials Warning*
 * HUA: Hurricane watch
 * HUW: Hurricane Warning
 * HWA: High Wind watch
 * HWW: High Wind Warning
 * IBW: Iceberg Warning
 * IFW: Industrial Fire Warning
 * LAE: Local Area Emergency*
 * LEW: Law Enforcement Warning*
 * LSW: Land Slide Warning
 * NAT: National Audible Test
 * NMN: Network Message motif*
 * NST: National Silent Test
 * NUW: Nuclear Plant Warning*
 * POS: Power Outage Statement
 * RHW: Radiological Hazard Warning*
 * SMW: Special Marine Warning*
 * SPS: Special Weather Statement
 * SPW: Shelter in Place Warning*
 * SVA: Severe thunderstorm watch
 * SVR: Severe thunderstorm warning
 * SVS: Severe Weather Statement
 * TOA: Tornado watch
 * TOE: 911 Telephone Outage Emergency*
 * TOR: Tornado warning
 * TRA: Tropical storm watch
 * TRW: Tropical Storm Warning
 * TSA: Tsunami watch
 * TSW: Tsunami Warning
 * TXB: Transmitter Backup on
 * TXF: Transmitter carrier off
 * TXO: Transmitter carrier on
 * TXP: Transmitter Primary on
 * VOW: Volcano Warning*
 * WFA: Wild Fire watch
 * WFW: Wild Fire Warning
 * WSA: Winter storm watch
 * WSW: Winter Storm Warning
 * ??A: Unrecognized watch
 * ??E: Unrecognized Emergency
 * ??S: Unrecognized Statement
 * ??W: Unrecognized Warning

(*new codes added in 2002)

[[Media:same.ogg|Aural example of SAME transmission]]