tdl-xoa-driver 1.1.0__py3-none-any.whl → 1.2.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -41,6 +41,8 @@ from xoa_driver.internals.commands import (
41
41
  PL1_PRESET_CONFIG_LEVEL,
42
42
  PL1_PRESET_RESET,
43
43
  PP_PRBSTYPE,
44
+ PL1_PNSWAP_RX,
45
+ PL1_PNSWAP_TX,
44
46
  )
45
47
  from .pcs_pma_ghijkl import (
46
48
  Prbs,
@@ -63,6 +65,18 @@ class FreyaPMA:
63
65
  :type: PP_GRAYCODING
64
66
  """
65
67
 
68
+ self.pn_swap_rx = PL1_PNSWAP_RX(conn, module_id, port_id, serdes_xindex)
69
+ """GET/SET PN-Swap RX Configurations. (only for Freya)
70
+
71
+ :type: PL1_PNSWAP_RX
72
+ """
73
+
74
+ self.pn_swap_tx = PL1_PNSWAP_TX(conn, module_id, port_id, serdes_xindex)
75
+ """GET/SET PN-Swap TX Configurations. (only for Freya)
76
+
77
+ :type: PL1_PNSWAP_TX
78
+ """
79
+
66
80
  class FreyaSIV:
67
81
  """Freya Signal Integrity View"""
68
82
 
@@ -29,6 +29,7 @@ from xoa_driver.internals.commands import (
29
29
  C_FLASH,
30
30
  C_MODEL_NAME,
31
31
  C_MODEL_NUMBER,
32
+ C_USED_TPLDID,
32
33
  )
33
34
  from xoa_driver.internals.core.funcs import establish_connection
34
35
  from xoa_driver.internals.core.transporter.handler import TransportationHandler
@@ -173,6 +174,12 @@ class BaseTester(ABC, Generic[TesterStateStorage]):
173
174
  :type: C_FLASH
174
175
  """
175
176
 
177
+ self.used_tpld_ids = C_USED_TPLDID(self._conn)
178
+ """Tester's used TPLD IDs.
179
+
180
+ :type: C_USED_TPLDID
181
+ """
182
+
176
183
  async def __aenter__(self: Awaitable[T]) -> T:
177
184
  return await self
178
185