diff --git a/src/stream_web/app.py b/src/stream_web/app.py index 6123347..136bd99 100644 --- a/src/stream_web/app.py +++ b/src/stream_web/app.py @@ -422,6 +422,8 @@ def api_packets(): lines.append(json.dumps({ "device_id": e["ntw_id_hex"], "seq_num": e["seq_num"], + "auth_tag": e.get("auth_tag"), + "phy_ver": e.get("phy_ver"), "device_type": e.get("chipset", ""), "timestamp": e.get("unix_ts", 0), "rssi_dB": e.get("energy_dB"), @@ -644,6 +646,7 @@ def _mock_injector(state, interval_s: float = 2.0): "ntw_id": ntw_id, "ntw_id_hex": f"0x{ntw_id:08X}", "seq_num": seq, + "auth_tag": 0, "energy_dB": -60.0, "chipset": chipset, "channel_num": 0, diff --git a/src/stream_web/processor.py b/src/stream_web/processor.py index ae0aef5..5131abd 100644 --- a/src/stream_web/processor.py +++ b/src/stream_web/processor.py @@ -156,6 +156,7 @@ def _extract_last(n): "ntw_id": pkt["ntw_id"], "ntw_id_hex": ntw_hex, "seq_num": pkt["seq_num"], + "auth_tag": pkt["auth_tag"], "energy_dB": round(pkt["total_energy_dB"], 1), "chipset": pkt.get("chipset", ""), "channel_num": pkt.get("channel_num"),