pybot.minitel.identification
¶
Minitel types and models identification.
-
class
pybot.minitel.identification.
DeviceSpecs
(model, maker, version)[source]¶ Bases:
object
Specifications of a given model.
This class is a data holder for identification and capabilities of a model. Instances are created with the content of the device identification data as stored in ROM, which are decoded to provide a more human friendly version.
The decoded information are available in the following attributes :
maker
version
model_specs
See also
ModelSpecs
definition to know what is included in the model technical specificationsParameters:
-
class
pybot.minitel.identification.
ModelSpecs
(name, can_swap, kbd_type, baud, w80, chars)¶ Bases:
tuple
-
__getnewargs__
()¶ Return self as a plain tuple. Used by copy and pickle.
-
__getstate__
()¶ Exclude the OrderedDict from pickling
-
__repr__
()¶ Return a nicely formatted representation string
-
baud
¶ Alias for field number 3
-
can_swap
¶ Alias for field number 1
-
chars
¶ Alias for field number 5
-
kbd_type
¶ Alias for field number 2
-
name
¶ Alias for field number 0
-
w80
¶ Alias for field number 4
-