RadioOperation

A long-running operation that owns the radio and must not be interrupted halfway.

suppressesTransport is per-operation rather than blanket because the operations genuinely differ: a USB factory erase needs the transport to stay off the port, while a discovery scan needs the transport to keep running.

Entries

Link copied to clipboard

A USB firmware-maintenance sequence (factory erase).

Link copied to clipboard

An OTA/DFU flash.

Link copied to clipboard

A Local Mesh Discovery preset sweep. Needs the transport, so it must never suppress it.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.