04 · Source status — empty, stale, and unavailable

04 · Source status — empty, stale, and unavailable A workflow diagram generated by Archify. 01 / Current refresh 02 / Previous success 03 / Source unavailable refreshing · Keep existing timestamp · Current refresh refreshing Keep existing timestamp Evaluate result · USB: current generation only · Current refresh Evaluate result USB: current generation only ready · Replace snapshot; refresh timestamp · Current refresh ready Replace snapshot; refresh timestamp stale · Keep last snapshot unchanged · Previous success stale Keep last snapshot unchanged unavailable · Explicit reason; clear when Bluetooth is off · Source unavailable unavailable Explicit reason; clear when Bluetooth is off Reading complete complete Error + previous success No success / Bluetooth off Legend Evaluation Decision rule / status

Empty is a valid result

  • • A complete discovery without devices yields ready + 0.
  • • Every new refresh returns to refreshing.

stale is not device loss

  • • USB and Bluetooth preserve the last snapshot.
  • • The display names the last successful time.

Bluetooth switched off

  • • Deliberately clears devices and the battery cache.
  • • unavailable(bluetoothPoweredOff) instead of stale.