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

◆ modem_info_string_get()

int modem_info_string_get ( enum modem_info  info,
char *  buf,
const size_t  buf_size 
)

#include <include/modem/modem_info.h>

Request the current modem status of any predefined information value as a string.

If the data parameter returned by the modem is originally a short, it is still returned as a string.

Parameters
infoThe requested information type.
bufThe buffer to store the null-terminated string.
buf_sizeThe size of the buffer.
Returns
Length of received data if the operation was successful. Otherwise, a (negative) error code is returned.