updateFirmware
Flash firmware onto the device (vendor OTA service; see OtaControl for the wire contract). Cold flow: collection performs the update and reports OtaProgress; the terminal emission is OtaProgress.Done, after which the device applies the image and typically reboots — expect the session to go DeviceState.Disconnected. On any failure (NAK, timeout, link drop) the device keeps its previous firmware.
Requires DeviceState.Ready (never mid-stream) and the firmware-update service (BrainAccessError.OtaNotSupported otherwise).