Package-level declarations

Types

Link copied to clipboard
class BleOtaTransport(scanner: BleScanner, connectionFactory: BleConnectionFactory, address: String, dispatcher: CoroutineDispatcher) : UnifiedOtaProtocol

BLE transport implementation for ESP32 Unified OTA protocol using Kable.

Link copied to clipboard
class Esp32OtaUpdateHandler(firmwareRetriever: FirmwareRetriever, firmwareFileHandler: FirmwareFileHandler, radioController: RadioController, nodeRepository: NodeRepository, bleScanner: BleScanner, bleConnectionFactory: BleConnectionFactory, dispatchers: CoroutineDispatchers) : FirmwareUpdateHandler

KMP handler for ESP32 firmware updates using the Unified OTA protocol. Supports both BLE and WiFi/TCP transports via UnifiedOtaProtocol.

Link copied to clipboard

KMP utility functions for firmware hash calculation.

Link copied to clipboard
sealed class OtaCommand

Commands supported by the ESP32 Unified OTA protocol. All commands are text-based and terminated with '\n'.

Link copied to clipboard
sealed class OtaHandshakeStatus

Status updates during the OTA handshake.

Link copied to clipboard

Exception thrown during OTA protocol operations.

Link copied to clipboard
sealed class OtaResponse

Responses from the ESP32 Unified OTA protocol.

Link copied to clipboard
class ThroughputTracker(windowSize: Int = 10, timeSource: TimeSource = TimeSource.Monotonic)

Sliding window throughput tracker to calculate current transfer speed in bytes per second. Adapted from kmp-ble's DfuProgress throughput tracking.

Link copied to clipboard

Interface for ESP32 Unified OTA protocol implementation. Supports both BLE and WiFi/TCP transports.

Link copied to clipboard
class WifiOtaTransport(deviceIpAddress: String, port: Int = DEFAULT_PORT) : UnifiedOtaProtocol

WiFi/TCP transport implementation for ESP32 Unified OTA protocol.