(hex_str, fallback=(150, 200, 255))
| 1769 | rows.append(('LE/Clsc', f"{itf.get('le_count', 0)}/{itf.get('classic_count', 0)}")) |
| 1770 | else: |
| 1771 | rows.append(('Channels', itf.get('channel_count', 0))) |
| 1772 | # Age matters on a one-shot card — a stale scan shouldn't read as live. |
| 1773 | ts = res.get('timestamp') |
| 1774 | if isinstance(ts, (int, float)) and ts > 0: |
| 1775 | age = max(0, int(time.time() - ts)) |
| 1776 | rows.append(('Age', f"{age}s" if age < 120 else f"{age // 60}m")) |
| 1777 | yy = self._draw_stat_rows(draw, y, rows) |
| 1778 | |
| 1779 | # Strongest few neighbours as name/addr + signal bars — the same "who is |
nothing calls this directly
no outgoing calls
no test coverage detected