AstdZ_[BETA]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

█

EMRG™ codec implemented · specification 1.1 · wire format 1.0

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Documented binary formats for structured IoT messages over low-bandwidth networks. Explore the working EMRG codec and ten additional draft standards.

[ watch how it works ]

open the interactive demo → · read EMRG 1.1 (account required) →

1 implemented codec · 10 draft specifications · reference codecs in TypeScript and C
01

the problem

── when infrastructure fails ──────────────────────────────

Storms, fires, and power outages can interrupt cellular and internet service. Radio networks offer another transport, but their bandwidth and payload sizes constrain the information you can send.

A shared message format makes fields such as event category, GPS position, severity, and resource status easier for different devices to interpret consistently. EMRG defines that format for emergency alerts.

┌──────────────────────────────┐
│  cell tower    DOWN          │
│  fiber backhaul  DOWN        │
│  internet       DOWN         │
│  power grid     DOWN         │
│  ─────────────────────       │
│  voice radio    OK (slow)    │
│  text message   ???          │
│  structured data ???         │
└──────────────────────────────┘
          
02

the solution

── structured fields · compact payloads ───────────────────

AstdZ™ publishes 11 draft binary codec specifications. EMRG has working TypeScript and C codecs with 51, 115, and 222-byte tiers. The other ten documents describe planned domain-specific formats.

The codec converts between structured fields and bytes. It can decode locally without an API call. Radio configuration, sender authentication, and delivery belong to the deployment; platform registration or certification does not cryptographically authenticate a received packet.

structured
every byte has a documented meaning. no parsing free text.
compact
51, 115, or 222 bytes. choose a tier that fits the information.
offline
decode locally after the app and reference data have loaded.
03

by the numbers

── implemented codec · documented capacities ──────────────
51
bytes · NANO tier
115
bytes · MICRO tier
222
bytes · FULL tier
15
EMRG event categories
180
pre-built EMRG messages
11
standards in the family
25
NANO ASCII characters
67
MICRO ASCII characters
164
FULL ASCII characters
04

three ways to use it

── pick your integration ──────────────────────────────────
› web dashboard
encode, decode, search the message library, manage devices and certs. no install.
get started →
› REST API
programmatic encode/decode/validate. drop into your firmware build pipeline or backend.
get started →
› @astdz/codec
pure typescript codec library. embed in node, browser, or edge runtimes. zero deps.
get started →
05

the standards family

── 11 standards · 1 architecture ──────────────────────────

Full specifications, message libraries, and Markdown downloads require an AstdZ account. The catalog and this EMRG demo are public.

Eleven draft specifications share a tier architecture, with JavaScript reference codecs and API support for every standard. EMRG also has an embedded C SDK and field decoder. Browse the public catalog and its implementation status.

codenamerevisionstatus
EMRG™Emergency Communicationsspec 1.1codec implemented; spec draft
POLI™Law Enforcement Communicationsspec 1.2codec implemented; spec draft
ENGY™Energy / Grid Monitoringspec 1.2codec implemented; spec draft
H2OQ™Water Quality Monitoringspec 1.1codec implemented; spec draft
TRAX™Asset Trackingspec 1.2codec implemented; spec draft
AGRO™Agriculture & Soil Monitoringspec 1.1codec implemented; spec draft
STRX™Structural Health Monitoringspec 1.2codec implemented; spec draft
MEDI™Medical Telemetryspec 1.2codec implemented; spec draft
COLD™Cold Chain Logisticsspec 1.1codec implemented; spec draft
ATMO™Air Quality Monitoringspec 1.1codec implemented; spec draft
WTHR™Weather Reportingspec 1.2codec implemented; spec draft
06

features

── click to expand ────────────────────────────────────────
› binary codec, 3 tiers
EMRG uses 51/115/222 bytes with 25/67/164 ASCII characters and 0/5/10 resource slots. Automatic selection preserves the text and resources. A forced tier that cannot fit the input returns an error. Radio payload limits depend on your deployment.
› CRC16-CCITT integrity
A 16-bit CRC checks accidental packet corruption. It is a checksum, not a signature or sender authentication. The decoder reports a CRC mismatch and retains a best-effort view of the fields.
› Big Endian, WGS84, SI units
No regional ambiguity. GPS as int32 micro-degrees, WGS84 datum. All measurements in SI / metric. Sentinel values for "no reading" so absent data round-trips losslessly.
› 180 pre-built EMRG messages
Structure fire. Cardiac arrest. Active shooter. Hazmat spill. 180 common emergencies spanning all 15 categories, pre-encoded with a 16-bit reference so transmitters send 2 bytes and receivers expand the full text locally. Full list at app.astdz.com/docs/messages.
› self-service certification
Manage device registrations and platform certification records in the dashboard. These records govern platform access; they do not place a cryptographic signature in EMRG radio packets. See the certification guide for current policies.
› REST API on Cloudflare Workers
EMRG encode, decode, validation, message search, device registration, and certification management. Encoding requires a bearer API key. Receiver tools and message lookup are public. See the API reference.
› web dashboard with byte inspector
Build EMRG alerts, decode complete hex, and inspect the documented fields in each tier. A field inspector shows byte offsets, lengths, and decoded values.
› @astdz/codec library
The TypeScript EMRG library has zero runtime dependencies and powers the browser, API, and decoder. Use the shared encode, decode, validate, and inspect functions in a compatible runtime.
› codec-c for embedded devices
The C11 EMRG implementation uses no heap allocation. Shared fixed wire vectors verify compatibility with the TypeScript codec. Arduino and PlatformIO examples provide starting points; validate the integration on your hardware. Get the embedded SDK →
› Meshtastic native
EMRG bytes can be integrated with a Meshtastic transport. Verify framing, port, channel security, firmware, region, and radio payload limits for your deployment. The codec does not select modem parameters or guarantee range.
› fastalert.now bridge
The API exposes an authenticated gateway endpoint for forwarding EMRG events to an external webhook. It is an integration point; recipients and delivery channels depend on the configured service.
› MCP integration · live
Seven EMRG tools support compatible MCP clients. Decode, validate, simulate, categories, and message search/lookup are public. Encoding requires an AstdZ API key in a supported client. Follow the current MCP setup guide.
› published specifications, reference codec
Browse the public standards catalog. Sign in or create an account to read full specifications and the complete message library or download Markdown sources. Document access does not require certification or an API key. EMRG specification revision 1.1 retains wire version 1.0. Usage conditions appear in the terms of service.
07

field decoder

── pwa · install on any phone ─────────────────────────────

The EMRG field decoder is a progressive web app. After its assets have loaded and cached, it can decode locally without a network connection. Offline availability depends on browser storage and cache retention. Paste complete hex to inspect the payload; no account is required.

CRC validation checks packet integrity. It does not establish who sent the message or whether the reported event is true.

[ open decoder → ]
┌─ EMRG TIER 0 · NANO ─────────┐
│ event:   structure fire      │
│ severity: 4 emergency        │
│ status:  01 new              │
│ gps:     39.978, -86.118     │
│ device:  0x000001            │
│ crc:     ✓ valid             │
└──────────────────────────────┘
          
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

See exactly what your bytes say.

Try the local EMRG codec above or read the full specification before integrating.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━