installConfig

open suspend fun installConfig(mi: MyNodeEntity, nodes: List<NodeEntity>): List<Int>(source)

Installs the config download from the connected device, reconciling any node-number change of the device itself (firmware 2.8 renumber, erase-and-reflash, manual re-key) before the new my_node row lands.

Return

node numbers whose rows were removed by identity migration, so callers can evict them from in-memory caches.