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

◆ modem_info_get_svn()

int modem_info_get_svn ( char *  buf,
size_t  buf_size 
)

#include <include/modem/modem_info.h>

Obtain the modem Software Version Number (SVN).

The SVN is represented as a string, for example: 12

See the documentation for the AT command +CGSN.

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.