16. API - LTE Stress LED

16.1. Regular Classes

The following classes are intended for general use with the devices they represent. All classes in this section are concrete (not abstract).

16.1.1. LTEStressLED

class lannerpsp.LTEStressLED(check_platform: bool = False)[source]

LTE Stress LED.

Parameters:

check_platform (bool) – Set to True to check if the platform supports this feature. Defaults to False for better compatibility.

Raises:
off() None[source]

Set the LTE stress LED display mode to off.

Example:

>>> lte_stress_led = LTEStressLED()
>>> lte_stress_led.off()
Raises:
set_strength(percent: int) None[source]

Set the LTE stress LED signal strength.

Example:

>>> lte_stress_led = LTEStressLED()
>>> lte_stress_led.set_strength(87)
Parameters:

percent (int) – 0 ~ 100 percent of signal strength

Raises:

16.2. Supported Platforms

The following platforms have been verified and confirmed to be supported: