nRF Connect SDK API 2.8.99
|
int modem_info_get_fw_version | ( | char * | buf, |
size_t | buf_size ) |
#include <include/modem/modem_info.h>
Obtain the short software identification.
The short software identification is represented as a string, for example: nrf9160_1.1.2
See the documentation for the AT command SHORTSWVER.
buf | Pointer to the target buffer. |
buf_size | Size of target buffer. |
0 | if the operation was successful. |
-EINVAL | if the provided buf_size was not enough. Otherwise, a (negative) error code is returned. |