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

◆ modem_info_get_fw_version()

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.

Parameters
bufPointer to the target buffer.
buf_sizeSize of target buffer.
Return values
0if the operation was successful.
-EINVALif the provided buf_size was not enough. Otherwise, a (negative) error code is returned.