nRF Connect SDK API 2.8.0
Loading...
Searching...
No Matches

◆ nrf_cloud_fota_smp_version_read()

int nrf_cloud_fota_smp_version_read ( void )

#include <include/net/nrf_cloud.h>

Read the image info from the SMP device to obtain the current version.

Return values
0Success; call nrf_cloud_fota_smp_version_get to get the version string.
-ENOBUFSError; internal buffer is too small to hold version string.
Returns
A negative value indicates an error.