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

◆ modem_info_get_temperature()

int modem_info_get_temperature ( int *  val)

#include <include/modem/modem_info.h>

Obtain the internal temperature.

Get the internal temperature, in degrees Celsius.

Parameters
valPointer to the target variable.
Return values
0if the operation was successful. Otherwise, a (negative) error code is returned.