system.hardware.tici package

Subpackages

Submodules

system.hardware.tici.agnos module

class system.hardware.tici.agnos.StreamingDecompressor(url: str)[source]

Bases: object

read(length: int) bytes[source]
system.hardware.tici.agnos.clear_partition_hash(target_slot_number: int, partition: dict) None[source]
system.hardware.tici.agnos.extract_casync_image(target_slot_number: int, partition: dict, cloudlog)[source]
system.hardware.tici.agnos.extract_compressed_image(target_slot_number: int, partition: dict, cloudlog)[source]
system.hardware.tici.agnos.flash_agnos_update(manifest_path: str, target_slot_number: int, cloudlog, standalone=False) None[source]
system.hardware.tici.agnos.flash_partition(target_slot_number: int, partition: dict, cloudlog, standalone=False)[source]
system.hardware.tici.agnos.get_partition_path(target_slot_number: int, partition: dict) str[source]
system.hardware.tici.agnos.get_raw_hash(path: str, partition_size: int) str[source]
system.hardware.tici.agnos.get_target_slot_number() int[source]
system.hardware.tici.agnos.noop(f: StreamingDecompressor) Generator[bytes, None, None][source]
system.hardware.tici.agnos.slot_number_to_suffix(slot_number: int) str[source]
system.hardware.tici.agnos.swap(manifest_path: str, target_slot_number: int, cloudlog) None[source]
system.hardware.tici.agnos.unsparsify(f: StreamingDecompressor) Generator[bytes, None, None][source]
system.hardware.tici.agnos.verify_agnos_update(manifest_path: str, target_slot_number: int) bool[source]
system.hardware.tici.agnos.verify_partition(target_slot_number: int, partition: dict[str, str | int], force_full_check: bool = False) bool[source]

system.hardware.tici.amplifier module

class system.hardware.tici.amplifier.AmpConfig(name, value, register, offset, mask)

Bases: tuple

mask

Alias for field number 4

name

Alias for field number 0

offset

Alias for field number 3

register

Alias for field number 2

value

Alias for field number 1

class system.hardware.tici.amplifier.Amplifier(debug=False)[source]

Bases: object

AMP_ADDRESS = 16
AMP_I2C_BUS = 0
initialize_configuration(model: str) bool[source]
set_configs(configs: list[AmpConfig]) bool[source]
set_global_shutdown(amp_disabled: bool) bool[source]
class system.hardware.tici.amplifier.EQParams(K, k1, k2, c1, c2)

Bases: tuple

K

Alias for field number 0

c1

Alias for field number 3

c2

Alias for field number 4

k1

Alias for field number 1

k2

Alias for field number 2

system.hardware.tici.amplifier.configs_from_eq_params(base, eq_params)[source]

system.hardware.tici.esim module

class system.hardware.tici.esim.LPA[source]

Bases: object

at(cmd)[source]
delete(iccid)[source]
disable(iccid)[source]
download(qr)[source]
download_ota(qr)[source]
enable(iccid)[source]
list_profiles()[source]
system.hardware.tici.esim.post(url, payload)[source]

system.hardware.tici.hardware module

class system.hardware.tici.hardware.MM_MODEM_STATE(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

CONNECTED = 11
CONNECTING = 10
DISABLED = 3
DISABLING = 4
DISCONNECTING = 9
ENABLED = 6
ENABLING = 5
FAILED = -1
INITIALIZING = 1
LOCKED = 2
REGISTERED = 8
SEARCHING = 7
UNKNOWN = 0
class system.hardware.tici.hardware.NMMetered(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntEnum

NM_METERED_GUESS_NO = 4
NM_METERED_GUESS_YES = 3
NM_METERED_NO = 2
NM_METERED_UNKNOWN = 0
NM_METERED_YES = 1
class system.hardware.tici.hardware.Tici[source]

Bases: HardwareBase

property amplifier
booted()[source]
property bus
configure_modem()[source]
get_current_power_draw()[source]
get_device_type()[source]
get_gpu_usage_percent()[source]
get_imei(slot)[source]
get_modem()[source]
get_modem_data_usage()[source]
get_modem_nv()[source]
get_modem_temperatures()[source]
get_modem_version()[source]
get_network_info()[source]
get_network_metered(network_type) bool[source]
get_network_strength(network_type)[source]
get_network_type()[source]
get_networks()[source]
get_nvme_temperatures()[source]
get_os_version()[source]
get_screen_brightness()[source]
get_serial()[source]
get_sim_info()[source]
get_som_power_draw()[source]
get_sound_card_online()[source]
get_thermal_config()[source]
get_wlan()[source]
get_wwan()[source]
has_internal_panda()[source]
initialize_hardware()[source]
property mm
property nm
parse_strength(percentage)[source]
reboot(reason=None)[source]
recover_internal_panda()[source]
reset_internal_panda()[source]
set_power_save(powersave_enabled)[source]
set_screen_brightness(percentage)[source]
shutdown()[source]
uninstall()[source]
system.hardware.tici.hardware.affine_irq(val, action)[source]
system.hardware.tici.hardware.get_device_type()[source]
system.hardware.tici.hardware.sudo_read(path: str) str[source]
system.hardware.tici.hardware.sudo_write(val, path)[source]

system.hardware.tici.iwlist module

system.hardware.tici.iwlist.scan(interface='wlan0')[source]

system.hardware.tici.pins module

class system.hardware.tici.pins.GPIO[source]

Bases: object

BMX055_ACCEL_INT = 21
BMX055_GYRO_INT = 23
BMX055_MAGN_INT = 87
CAM0_AVDD_EN = 8
CAM0_RSTN = 9
CAM1_RSTN = 7
CAM2_RSTN = 12
GNSS_PWR_EN = 34
HUB_RST_N = 30
LSM_INT = 84
LTE_BOOT = 52
LTE_PWRKEY = 116
LTE_RST_N = 50
SIREN = 42
SOM_ST_IO = 49
STM_BOOT0 = 134
STM_RST_N = 124
UBLOX_RST_N = 32
UBLOX_SAFEBOOT_N = 33

system.hardware.tici.power_monitor module

system.hardware.tici.power_monitor.get_power(seconds=5)[source]
system.hardware.tici.power_monitor.read_power()[source]
system.hardware.tici.power_monitor.sample_power(seconds=5) list[float][source]
system.hardware.tici.power_monitor.wait_for_power(min_pwr, max_pwr, min_secs_in_range, timeout)[source]

system.hardware.tici.precise_power_measure module

Module contents