espOta

fun espOta(peripheral: Peripheral, config: DfuTransportConfig.EspOta = DfuTransportConfig.EspOta(), commandTimeout: Duration = 10.seconds): DfuTransport

Create an ESP OTA transport for Espressif ESP-IDF devices.

Parameters

peripheral

a connected peripheral with the OTA service discovered

config

ESP OTA configuration with optional custom UUIDs

commandTimeout

how long to wait for command responses

Throws