Companion

object Companion

Functions

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

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

Link copied to clipboard
fun gatt(peripheral: Peripheral, commandTimeout: Duration = 10.seconds): DfuTransport

Create a GATT-based DFU transport using the DFU Control Point and DFU Packet characteristics on the standard Nordic DFU service.

Link copied to clipboard
fun l2cap(peripheral: Peripheral, channel: L2capChannel, commandTimeout: Duration = 10.seconds): DfuTransport

Create an L2CAP-based DFU transport for high-throughput firmware transfer.

Link copied to clipboard
fun smp(peripheral: Peripheral, commandTimeout: Duration = 10.seconds): DfuTransport

Create an SMP-based DFU transport for MCUboot devices.