ChannelBtsIO

Summary

Represents a BTS IO Channel Adapter object.

Methods
Properties

Structure

class ChannelBtsIO
get_io_state(function: str) float

Checks the state of a certain function of the channel.

Parameters

function (str) – Function to be checked. Possible values: "open", "vbat", "gnd", "sim", "voltage".

Returns

State of the queried function.

Return type

float

get_supported_functions() Array[str]

Gets the functions supported by the channel.

Returns

List of functions supported by the channel.

Return type

Array[str]

set_io_state(function: str, value: int32)

Sets the state of a certain function of the channel.

Parameters
  • function (str) – Function to be set. Possible values: "open", "vbat", "gnd", "sim", "poti", "relay".

  • value (int32) – Desired function value.

cluster_name

The name of the cluster that is mapped to the channel.

Type

str

name

The channel name. This Property is Read Only.

Type

str