decode

Inverse of encode; returns null for a structurally malformed record (wrong field count, unparseable node number, or an undecodable beacon payload). An unparseable snr/rssi falls back to 0 — they are non-critical display metrics, not identity, so a bad numeric there does not discard an otherwise-valid invitation.