receiver id stuff

This commit is contained in:
Matthias Wirth
2022-01-02 16:29:47 +01:00
parent 5d46f6826b
commit eba36285bb

View File

@@ -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);