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

◆ nrf_cloud_fota_smp_version_get()

int nrf_cloud_fota_smp_version_get ( char **  smp_ver_out)

#include <include/net/nrf_cloud.h>

Get the current version string of the SMP device. An empty string will be returned if nrf_cloud_fota_smp_version_read has not been successfully called.

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