forOnboarding

fun forOnboarding(ownerLongName: String): String(source)

Reshapes an existing owner long name for ham onboarding, so enabling licensed mode does not discard a name the operator already chose.

A name that can still serve as a call sign is returned untouched — including one this app composed during an earlier licensing, whose halves survive as they are. Anything wider is demoted to the descriptive half, clipped to MAX_LONG_NAME_BYTES, leaving the call sign empty for the operator to fill in.