The IPS API is used to get monitoring information related to the platform voltage input and set warning and critical thresholds.
All the functions of this API are provided by the modemService.
Here's a code sample binding to modem services:
bindings: { clientExe.clientComponent.le_ips -> modemService.le_ips }
This functionality allows to retrieve the Platform input voltage in [mV], so that the application can use the information to diagnose why the modem isn't fully functioning.
le_ips_GetInputVoltage() API allows the application to retrieve the Platform voltage input.
Four Thresholds are set to decide the state: the critical, warning, the normal and the high critical Platform input voltage thresholds.
if the Platform input voltage decreases below the:
LE_IPS_VOLTAGE_NORMAL
event occurs.LE_IPS_VOLTAGE_WARNING
event occurs.LE_IPS_VOLTAGE_CRITICAL
event occurs.if the Platform input voltage goes up and it reaches the :
LE_IPS_VOLTAGE_NORMAL
event occurs.LE_IPS_HI_VOLTAGE_CRITICAL
event occurs.Copyright (C) Sierra Wireless Inc. Use of this work is subject to license.