| 1892 | } |
| 1893 | |
| 1894 | bool RadioModel::resyncDisplayInventory() |
| 1895 | { |
| 1896 | if (!isConnected()) return false; |
| 1897 | // Re-subscribing to the pan domain makes the radio re-send the status of |
| 1898 | // every currently-allocated panadapter + waterfall. Those replies flow |
| 1899 | // through the same `display pan`/`display panafall` status parser that |
| 1900 | // maintains m_radioDisplayPans/Waterfalls, so the Layer-B inventory |
| 1901 | // refreshes to the radio's authoritative current set — the only way to |
| 1902 | // observe a resource-level lingering waterfall that no longer emits UDP |
| 1903 | // (#3856). We intentionally do NOT clear the maps first: a re-dump can |
| 1904 | // only re-add/confirm objects, so a no-op on firmware that doesn't re-dump |
| 1905 | // leaves the inventory intact rather than wiping it. |
| 1906 | sendCmd("sub pan all"); |
| 1907 | return true; |
| 1908 | } |
| 1909 | |
| 1910 | double RadioModel::panCenterMhz() const |
| 1911 | { |
no test coverage detected