OtaManager

The nRF Cloud OTA manager can be used to get the latest firmware releases for supported devices from nRF Cloud Services.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
suspend fun download(location: String): ReleaseBinary?

Downloads the release binary from the given location.

fun download(location: String, callback: DownloadCallback)
Link copied to clipboard

Gets the information about the latest release for the given device from nRF Cloud Services by reading required data using the given transport.

suspend fun getLatestRelease(deviceInfo: DeviceInfo, projectKey: String): ReleaseInformation
fun getLatestRelease(deviceInfo: DeviceInfo, projectKey: String, callback: ReleaseCallback)

Gets the latest release for the given device from nRF Cloud Services.