nRF Connect SDK API 2.8.0
|
int nrf_cloud_get_modem_fw | ( | char * | buf, |
size_t | buf_sz ) |
#include <include/net/nrf_cloud.h>
Retrieve the Modem firmware version.
If
CONFIG_NRF_MODEM_LIB
is not enabled, returns an error.
[in,out] | buf | A pointer in which to store the mfw string. |
[in] | buf_sz | The size of the buffer. The required size could be up to 2048, but 32 should be sufficient. |
0 | If successful. |
-ENOTSUP | If the modem library is not available. |