Package com.tccc.kos.core.service.device.serialnum


package com.tccc.kos.core.service.device.serialnum
Serial number management services for KOS devices.

This package provides a flexible framework for managing device serial numbers with support for various storage backends and asynchronous readiness patterns. Serial number providers extend ReadyBean to handle scenarios where serial number access may be delayed due to hardware initialization or data availability constraints.

Core API Components:

Provider Implementations:

Provider Selection Guidelines:

  • Production Systems: Use CriticalDataSerialNumberProvider for hardware-persistent storage that survives board swaps
  • Testing/Development: Use ConfigSerialNumberProvider for configuration-based serial numbers
  • Read-Only Systems: Use RunKosSerialNumberProvider when serial numbers are externally programmed and available via filesystem

The framework ensures that only valid, non-null serial numbers are exposed to consuming systems, maintaining data integrity across device restarts and hardware changes.

See Also: