From eba36285bb97b1a4b9e79b5457cf94d256a59f8e Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Sun, 2 Jan 2022 16:29:47 +0100 Subject: [PATCH] receiver id stuff --- html/formatter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/formatter.js b/html/formatter.js index b220f50..0706359 100644 --- a/html/formatter.js +++ b/html/formatter.js @@ -571,9 +571,9 @@ function wqi(data) { } else if (type4 == 'tisb') { ac.version = ac.tisb_version; } - if (stride == 116) { + if (stride == 112) { let part2 = u32[27].toString(16).padStart(8, '0'); - ac.rId = u32[28].toString(16).padStart(8, '0') + '-' + part2.slice(0, 4) + '-' + part2.slice(4); + ac.rId = part2.slice(0, 4) + '-' + part2.slice(4); } data.aircraft.push(ac);