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

◆ modem_info_short_get()

int modem_info_short_get ( enum modem_info info,
uint16_t * buf )

#include <include/modem/modem_info.h>

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

If the data parameter returned by the modem is originally a string, this function fails.

Parameters
infoThe requested information type.
bufThe short where to store the information.
Returns
Length of received data if the operation was successful. Otherwise, a (negative) error code is returned.