15. API - LTE Status LED
15.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).
15.1.1. LTEStatusLED
- class lannerpsp.LTEStatusLED(check_platform: bool = False)[source]
LTE Status LED.
- Parameters:
check_platform (bool) – Set to
True
to check if the platform supports this feature. Defaults toFalse
for better compatibility.- Raises:
PSPNotSupport – This function is not supported (when
check_platform
is set toTrue
).NotImplementedError – It has not been verified to run on this platform (when
check_platform
is set toTrue
).
- off() None [source]
Set the LTE status LED display mode to off.
Example:
>>> lte_status_led = LTEStatusLED() >>> lte_status_led.off()
- Raises:
PSPNotOpened – The library is not ready or opened yet.
PSPInvalid – The input parameter is out of range.
PSPNotSupport – This function is not supported.
PSPError – General PSP functional error.
- red() None [source]
Set the LTE status LED display mode to red.
Example:
>>> lte_status_led = LTEStatusLED() >>> lte_status_led.red()
- Raises:
PSPNotOpened – The library is not ready or opened yet.
PSPInvalid – The input parameter is out of range.
PSPNotSupport – This function is not supported.
PSPError – General PSP functional error.
- red_blink() None [source]
Set the LTE status LED display mode to red blink.
Example:
>>> lte_status_led = LTEStatusLED() >>> lte_status_led.red_blink()
- Raises:
PSPNotOpened – The library is not ready or opened yet.
PSPInvalid – The input parameter is out of range.
PSPNotSupport – This function is not supported.
PSPError – General PSP functional error.
- green() None [source]
Set the LTE status LED display mode to green.
Example:
>>> lte_status_led = LTEStatusLED() >>> lte_status_led.green()
- Raises:
PSPNotOpened – The library is not ready or opened yet.
PSPInvalid – The input parameter is out of range.
PSPNotSupport – This function is not supported.
PSPError – General PSP functional error.
- green_blink() None [source]
Set the LTE status LED display mode to green blink.
Example:
>>> lte_status_led = LTEStatusLED() >>> lte_status_led.green_blink()
- Raises:
PSPNotOpened – The library is not ready or opened yet.
PSPInvalid – The input parameter is out of range.
PSPNotSupport – This function is not supported.
PSPError – General PSP functional error.
- yellow() None [source]
Set the LTE status LED display mode to yellow.
Example:
>>> lte_status_led = LTEStatusLED() >>> lte_status_led.yellow()
- Raises:
PSPNotOpened – The library is not ready or opened yet.
PSPInvalid – The input parameter is out of range.
PSPNotSupport – This function is not supported.
PSPError – General PSP functional error.
- yellow_blink() None [source]
Set the LTE status LED display mode to yellow blink.
Example:
>>> lte_status_led = LTEStatusLED() >>> lte_status_led.yellow_blink()
- Raises:
PSPNotOpened – The library is not ready or opened yet.
PSPInvalid – The input parameter is out of range.
PSPNotSupport – This function is not supported.
PSPError – General PSP functional error.
15.2. Supported Platforms
The following platforms have been verified and confirmed to be supported: