icsneopy 1.1.0.post1.dev8__cp312-cp312-macosx_11_0_arm64.whl → 1.2.2.post1.dev12__cp312-cp312-macosx_11_0_arm64.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.
icsneopy/icsneopy.pyi CHANGED
@@ -1,28 +1,31 @@
1
+ import collections.abc
1
2
  import datetime
3
+ import enum
4
+ import typing
2
5
  from _typeshed import Incomplete
3
6
  from typing import Callable, ClassVar, overload
4
7
 
8
+ MISC: LiveDataObjectType
9
+ SNA: LiveDataObjectType
10
+
5
11
  class APIEvent:
6
- class Severity:
7
- __members__: ClassVar[dict] = ... # read-only
12
+ class Severity(enum.IntEnum):
13
+ __new__: ClassVar[Callable] = ...
8
14
  Any: ClassVar[APIEvent.Severity] = ...
9
15
  Error: ClassVar[APIEvent.Severity] = ...
10
16
  EventInfo: ClassVar[APIEvent.Severity] = ...
11
17
  EventWarning: ClassVar[APIEvent.Severity] = ...
12
- __entries: ClassVar[dict] = ...
13
- def __init__(self, value: int) -> None: ...
14
- def __eq__(self, other: object) -> bool: ...
15
- def __hash__(self) -> int: ...
16
- def __index__(self) -> int: ...
17
- def __int__(self) -> int: ...
18
- def __ne__(self, other: object) -> bool: ...
19
- @property
20
- def name(self) -> str: ...
21
- @property
22
- def value(self) -> int: ...
23
-
24
- class Type:
25
- __members__: ClassVar[dict] = ... # read-only
18
+ _generate_next_value_: ClassVar[Callable] = ...
19
+ _member_map_: ClassVar[dict] = ...
20
+ _member_names_: ClassVar[list] = ...
21
+ _member_type_: ClassVar[type[int]] = ...
22
+ _unhashable_values_: ClassVar[list] = ...
23
+ _use_args_: ClassVar[bool] = ...
24
+ _value2member_map_: ClassVar[dict] = ...
25
+ def __format__(self, *args, **kwargs) -> str: ...
26
+
27
+ class Type(enum.IntEnum):
28
+ __new__: ClassVar[Callable] = ...
26
29
  A2BMessageIncompleteFrame: ClassVar[APIEvent.Type] = ...
27
30
  AnotherInTerminationGroupEnabled: ClassVar[APIEvent.Type] = ...
28
31
  Any: ClassVar[APIEvent.Type] = ...
@@ -147,25 +150,22 @@ class APIEvent:
147
150
  WiVINotSupported: ClassVar[APIEvent.Type] = ...
148
151
  WiVIStackRefreshFailed: ClassVar[APIEvent.Type] = ...
149
152
  WiVIUploadStackOverflow: ClassVar[APIEvent.Type] = ...
150
- __entries: ClassVar[dict] = ...
151
- def __init__(self, value: int) -> None: ...
152
- def __eq__(self, other: object) -> bool: ...
153
- def __hash__(self) -> int: ...
154
- def __index__(self) -> int: ...
155
- def __int__(self) -> int: ...
156
- def __ne__(self, other: object) -> bool: ...
157
- @property
158
- def name(self) -> str: ...
159
- @property
160
- def value(self) -> int: ...
153
+ _generate_next_value_: ClassVar[Callable] = ...
154
+ _member_map_: ClassVar[dict] = ...
155
+ _member_names_: ClassVar[list] = ...
156
+ _member_type_: ClassVar[type[int]] = ...
157
+ _unhashable_values_: ClassVar[list] = ...
158
+ _use_args_: ClassVar[bool] = ...
159
+ _value2member_map_: ClassVar[dict] = ...
160
+ def __format__(self, *args, **kwargs) -> str: ...
161
161
  def __init__(self, *args, **kwargs) -> None: ...
162
162
  def describe(self) -> str: ...
163
163
  def get_description(self) -> str: ...
164
164
  def get_severity(self) -> APIEvent.Severity: ...
165
165
  def get_type(self) -> APIEvent.Type: ...
166
166
 
167
- class CANErrorCode:
168
- __members__: ClassVar[dict] = ... # read-only
167
+ class CANErrorCode(enum.IntEnum):
168
+ __new__: ClassVar[Callable] = ...
169
169
  AckError: ClassVar[CANErrorCode] = ...
170
170
  Bit0Error: ClassVar[CANErrorCode] = ...
171
171
  Bit1Error: ClassVar[CANErrorCode] = ...
@@ -174,17 +174,14 @@ class CANErrorCode:
174
174
  NoChange: ClassVar[CANErrorCode] = ...
175
175
  NoError: ClassVar[CANErrorCode] = ...
176
176
  StuffError: ClassVar[CANErrorCode] = ...
177
- __entries: ClassVar[dict] = ...
178
- def __init__(self, value: int) -> None: ...
179
- def __eq__(self, other: object) -> bool: ...
180
- def __hash__(self) -> int: ...
181
- def __index__(self) -> int: ...
182
- def __int__(self) -> int: ...
183
- def __ne__(self, other: object) -> bool: ...
184
- @property
185
- def name(self) -> str: ...
186
- @property
187
- def value(self) -> int: ...
177
+ _generate_next_value_: ClassVar[Callable] = ...
178
+ _member_map_: ClassVar[dict] = ...
179
+ _member_names_: ClassVar[list] = ...
180
+ _member_type_: ClassVar[type[int]] = ...
181
+ _unhashable_values_: ClassVar[list] = ...
182
+ _use_args_: ClassVar[bool] = ...
183
+ _value2member_map_: ClassVar[dict] = ...
184
+ def __format__(self, *args, **kwargs) -> str: ...
188
185
 
189
186
  class CANErrorCountMessage(Message):
190
187
  def __init__(self, *args, **kwargs) -> None: ...
@@ -234,16 +231,166 @@ class CANMessage(Frame):
234
231
  isRemote: bool
235
232
  def __init__(self) -> None: ...
236
233
 
234
+ class ChipID(enum.IntEnum):
235
+ __new__: ClassVar[Callable] = ...
236
+ Connect_LINUX: ClassVar[ChipID] = ...
237
+ Connect_ZCHIP: ClassVar[ChipID] = ...
238
+ EEVB_STM32: ClassVar[ChipID] = ...
239
+ EtherBADGE_MCHIP: ClassVar[ChipID] = ...
240
+ FlexRay_VNETZ_FCHIP: ClassVar[ChipID] = ...
241
+ FlexRay_VNETZ_ZCHIP: ClassVar[ChipID] = ...
242
+ Invalid: ClassVar[ChipID] = ...
243
+ NewDevice57_ZCHIP: ClassVar[ChipID] = ...
244
+ NewDevice59_MCHIP: ClassVar[ChipID] = ...
245
+ RAD4G_MCHIP: ClassVar[ChipID] = ...
246
+ RADA2B_REVB_ZCHIP: ClassVar[ChipID] = ...
247
+ RADA2B_ZCHIP: ClassVar[ChipID] = ...
248
+ RADBMS_MCHIP: ClassVar[ChipID] = ...
249
+ RADCOMET3_ZCHIP: ClassVar[ChipID] = ...
250
+ RADComet_ZYNQ: ClassVar[ChipID] = ...
251
+ RADEpsilonExpress_MCHIP: ClassVar[ChipID] = ...
252
+ RADEpsilonT_MCHIP: ClassVar[ChipID] = ...
253
+ RADEpsilon_MCHIP: ClassVar[ChipID] = ...
254
+ RADGALAXY2_SYSMON_CHIP: ClassVar[ChipID] = ...
255
+ RADGalaxy_FFG_Zynq: ClassVar[ChipID] = ...
256
+ RADGalaxy_ZYNQ: ClassVar[ChipID] = ...
257
+ RADGemini_MCHIP: ClassVar[ChipID] = ...
258
+ RADGigastar2_ZYNQ: ClassVar[ChipID] = ...
259
+ RADGigastar_FFG_ZYNQ: ClassVar[ChipID] = ...
260
+ RADGigastar_USBZ_Z7007S_ZYNQ: ClassVar[ChipID] = ...
261
+ RADGigastar_USBZ_Z7010_ZYNQ: ClassVar[ChipID] = ...
262
+ RADGigastar_USBZ_ZYNQ: ClassVar[ChipID] = ...
263
+ RADGigastar_ZYNQ: ClassVar[ChipID] = ...
264
+ RADIOCANHUB_MCHIP: ClassVar[ChipID] = ...
265
+ RADJupiter_MCHIP: ClassVar[ChipID] = ...
266
+ RADMars_3_ZYNQ: ClassVar[ChipID] = ...
267
+ RADMars_ZYNQ: ClassVar[ChipID] = ...
268
+ RADMoon2_Z7010_ZYNQ: ClassVar[ChipID] = ...
269
+ RADMoon2_ZL_MCHIP: ClassVar[ChipID] = ...
270
+ RADMoon2_ZYNQ: ClassVar[ChipID] = ...
271
+ RADMoon3_MCHIP: ClassVar[ChipID] = ...
272
+ RADMoonDuo_MCHIP: ClassVar[ChipID] = ...
273
+ RADPluto_MCHIP: ClassVar[ChipID] = ...
274
+ RADProxima_MCHIP: ClassVar[ChipID] = ...
275
+ RADStar2_ZYNQ: ClassVar[ChipID] = ...
276
+ RADStar_MCHIP: ClassVar[ChipID] = ...
277
+ RADSupermoon_ZYNQ: ClassVar[ChipID] = ...
278
+ RAD_GALAXY_2_ZMPCHIP_ID: ClassVar[ChipID] = ...
279
+ SFPModule_MCHIP: ClassVar[ChipID] = ...
280
+ VEM_01_8DW_ZCHIP: ClassVar[ChipID] = ...
281
+ VEM_02_FR_FCHIP: ClassVar[ChipID] = ...
282
+ VEM_02_FR_ZCHIP: ClassVar[ChipID] = ...
283
+ ValueCAN3_MCHIP: ClassVar[ChipID] = ...
284
+ ValueCAN4Industrial_MCHIP: ClassVar[ChipID] = ...
285
+ ValueCAN4_1_MCHIP: ClassVar[ChipID] = ...
286
+ ValueCAN4_2EL_MCHIP: ClassVar[ChipID] = ...
287
+ ValueCAN4_2_MCHIP: ClassVar[ChipID] = ...
288
+ ValueCAN4_4_2EL_Core: ClassVar[ChipID] = ...
289
+ ValueCAN4_4_MCHIP: ClassVar[ChipID] = ...
290
+ ValueCAN4_4_SCHIP: ClassVar[ChipID] = ...
291
+ ValueCANrf_MCHIP: ClassVar[ChipID] = ...
292
+ VividCANPRO_EXT_FLASH: ClassVar[ChipID] = ...
293
+ VividCANPRO_MCHIP: ClassVar[ChipID] = ...
294
+ VividCAN_EXT_FLASH: ClassVar[ChipID] = ...
295
+ VividCAN_MCHIP: ClassVar[ChipID] = ...
296
+ VividCAN_NRF52: ClassVar[ChipID] = ...
297
+ _generate_next_value_: ClassVar[Callable] = ...
298
+ _member_map_: ClassVar[dict] = ...
299
+ _member_names_: ClassVar[list] = ...
300
+ _member_type_: ClassVar[type[int]] = ...
301
+ _unhashable_values_: ClassVar[list] = ...
302
+ _use_args_: ClassVar[bool] = ...
303
+ _value2member_map_: ClassVar[dict] = ...
304
+ cmProbe_ZYNQ: ClassVar[ChipID] = ...
305
+ cmProbe_ZYNQ_Unused: ClassVar[ChipID] = ...
306
+ neoECU12_MCHIP: ClassVar[ChipID] = ...
307
+ neoECUAVBTSN_MCHIP: ClassVar[ChipID] = ...
308
+ neoOBD2Dev_MCHIP: ClassVar[ChipID] = ...
309
+ neoOBD2Dev_SCHIP: ClassVar[ChipID] = ...
310
+ neoOBD2PRO_Core: ClassVar[ChipID] = ...
311
+ neoOBD2PRO_MCHIP: ClassVar[ChipID] = ...
312
+ neoOBD2PRO_SCHIP: ClassVar[ChipID] = ...
313
+ neoOBD2SIMDoIP_MCHIP: ClassVar[ChipID] = ...
314
+ neoOBD2SIM_MCHIP: ClassVar[ChipID] = ...
315
+ neoOBD2_LCBADGE_MCHIP: ClassVar[ChipID] = ...
316
+ neoOBD2_LCBADGE_SCHIP: ClassVar[ChipID] = ...
317
+ neoVIANALOG_MPIC: ClassVar[ChipID] = ...
318
+ neoVIAnalogOut_MCHIP: ClassVar[ChipID] = ...
319
+ neoVIECU_MPIC: ClassVar[ChipID] = ...
320
+ neoVIFIRE2_BLECHIP: ClassVar[ChipID] = ...
321
+ neoVIFIRE2_CCHIP: ClassVar[ChipID] = ...
322
+ neoVIFIRE2_Core: ClassVar[ChipID] = ...
323
+ neoVIFIRE2_Core_SG4: ClassVar[ChipID] = ...
324
+ neoVIFIRE2_MCHIP: ClassVar[ChipID] = ...
325
+ neoVIFIRE2_SECURITYCHIP: ClassVar[ChipID] = ...
326
+ neoVIFIRE2_Slave_VNETZ_A_MCHIP: ClassVar[ChipID] = ...
327
+ neoVIFIRE2_Slave_VNETZ_A_ZYNQ: ClassVar[ChipID] = ...
328
+ neoVIFIRE2_Slave_VNET_A_CCHIP: ClassVar[ChipID] = ...
329
+ neoVIFIRE2_Slave_VNET_A_MCHIP: ClassVar[ChipID] = ...
330
+ neoVIFIRE2_VNETZ_MCHIP: ClassVar[ChipID] = ...
331
+ neoVIFIRE2_VNETZ_ZYNQ: ClassVar[ChipID] = ...
332
+ neoVIFIRE2_VNET_CCHIP: ClassVar[ChipID] = ...
333
+ neoVIFIRE2_VNET_Core: ClassVar[ChipID] = ...
334
+ neoVIFIRE2_VNET_MCHIP: ClassVar[ChipID] = ...
335
+ neoVIFIRE2_ZYNQ: ClassVar[ChipID] = ...
336
+ neoVIFIRE3_LINUX: ClassVar[ChipID] = ...
337
+ neoVIFIRE3_SCHIP: ClassVar[ChipID] = ...
338
+ neoVIFIRE3_ZCHIP: ClassVar[ChipID] = ...
339
+ neoVIFIRE_JCHIP: ClassVar[ChipID] = ...
340
+ neoVIFIRE_LCHIP: ClassVar[ChipID] = ...
341
+ neoVIFIRE_MCHIP: ClassVar[ChipID] = ...
342
+ neoVIFIRE_Slave_VNET_EP_LCHIP: ClassVar[ChipID] = ...
343
+ neoVIFIRE_Slave_VNET_EP_MCHIP: ClassVar[ChipID] = ...
344
+ neoVIFIRE_Slave_VNET_LCHIP: ClassVar[ChipID] = ...
345
+ neoVIFIRE_Slave_VNET_MCHIP: ClassVar[ChipID] = ...
346
+ neoVIFIRE_UCHIP: ClassVar[ChipID] = ...
347
+ neoVIFIRE_VNET_EP_LCHIP: ClassVar[ChipID] = ...
348
+ neoVIFIRE_VNET_EP_MCHIP: ClassVar[ChipID] = ...
349
+ neoVIFIRE_VNET_LCHIP: ClassVar[ChipID] = ...
350
+ neoVIFIRE_VNET_MCHIP: ClassVar[ChipID] = ...
351
+ neoVIIEVB_MPIC: ClassVar[ChipID] = ...
352
+ neoVIION_Core: ClassVar[ChipID] = ...
353
+ neoVIION_Core_Loader: ClassVar[ChipID] = ...
354
+ neoVIION_FPGA_BIT: ClassVar[ChipID] = ...
355
+ neoVIION_HID: ClassVar[ChipID] = ...
356
+ neoVIION_HID_Loader: ClassVar[ChipID] = ...
357
+ neoVIMOST150_MCHIP: ClassVar[ChipID] = ...
358
+ neoVIMOST25_MCHIP: ClassVar[ChipID] = ...
359
+ neoVIMOST50_MCHIP: ClassVar[ChipID] = ...
360
+ neoVIPENDANT_MPIC: ClassVar[ChipID] = ...
361
+ neoVIPLASMA_ANALOG_Core: ClassVar[ChipID] = ...
362
+ neoVIPLASMA_Core: ClassVar[ChipID] = ...
363
+ neoVIPLASMA_Core_1_12: ClassVar[ChipID] = ...
364
+ neoVIPLASMA_FlexRay_Core: ClassVar[ChipID] = ...
365
+ neoVIPLASMA_HID: ClassVar[ChipID] = ...
366
+ def __format__(self, *args, **kwargs) -> str: ...
367
+
368
+ class Clause22Message:
369
+ page: int
370
+ phyAddr: int
371
+ regAddr: int
372
+ regVal: int
373
+ def __init__(self, *args, **kwargs) -> None: ...
374
+
375
+ class Clause45Message:
376
+ device: int
377
+ port: int
378
+ regAddr: int
379
+ regVal: int
380
+ def __init__(self, *args, **kwargs) -> None: ...
381
+
237
382
  class Device:
238
383
  def __init__(self, *args, **kwargs) -> None: ...
239
384
  def add_message_callback(self, arg0: MessageCallback) -> int: ...
385
+ def clear_all_live_data(self) -> bool: ...
240
386
  def clear_script(self, arg0: Disk.MemoryType) -> bool: ...
241
387
  def close(self) -> bool: ...
242
388
  def describe(self) -> str: ...
243
389
  def disable_message_polling(self) -> bool: ...
244
390
  def enable_message_polling(self, filter: MessageFilter | None = ...) -> bool: ...
391
+ def get_chip_versions(self, refreshComponents: bool = ...) -> list[VersionReport]: ...
245
392
  def get_current_message_count(self) -> int: ...
246
- def get_digital_io(self, type: IO, number: int) -> bool | None: ...
393
+ def get_digital_io(self, type: IO, number: typing.SupportsInt) -> bool | None: ...
247
394
  def get_extension(self, *args, **kwargs): ...
248
395
  def get_flexray_controllers(self) -> list[FlexRay.Controller]: ...
249
396
  def get_gptp_status(self, timeout: datetime.timedelta = ...) -> GPTPStatus | None: ...
@@ -266,18 +413,23 @@ class Device:
266
413
  def is_open(self) -> bool: ...
267
414
  def open(self) -> bool: ...
268
415
  def prepare_script_load(self) -> int: ...
269
- def remove_message_callback(self, arg0: int) -> bool: ...
416
+ def remove_message_callback(self, arg0: typing.SupportsInt) -> bool: ...
270
417
  def request_tc10_sleep(self, arg0: Network.NetID) -> bool: ...
271
418
  def request_tc10_wake(self, arg0: Network.NetID) -> bool: ...
272
- def set_digital_io(self, type: IO, number: int, value: bool) -> bool: ...
273
- def set_polling_message_limit(self, arg0: int) -> None: ...
419
+ def send_eth_phy_msg(self, message: EthPhyMessage, timeout: datetime.timedelta = ...) -> EthPhyMessage | None: ...
420
+ def set_digital_io(self, type: IO, number: typing.SupportsInt, value: bool) -> bool: ...
421
+ def set_polling_message_limit(self, arg0: typing.SupportsInt) -> None: ...
274
422
  def set_rtc(self, arg0: datetime.datetime) -> bool: ...
423
+ def set_value_live_data(self, message: LiveDataSetValueMessage) -> bool: ...
275
424
  def start_script(self, arg0: Disk.MemoryType) -> bool: ...
276
425
  def stop_script(self) -> bool: ...
426
+ def subscribe_live_data(self, message: LiveDataCommandMessage) -> bool: ...
427
+ def supports_live_data(self) -> bool: ...
277
428
  def supports_tc10(self) -> bool: ...
278
429
  def transmit(self, arg0: Frame) -> bool: ...
430
+ def unsubscribe_live_data(self, handle: typing.SupportsInt) -> bool: ...
279
431
  def upload_coremini(self, arg0: str, arg1: Disk.MemoryType) -> bool: ...
280
- def write_macsec_config(self, arg0: MACsecMessage, arg1: int) -> bool: ...
432
+ def write_macsec_config(self, arg0: MACsecConfig) -> bool: ...
281
433
  @property
282
434
  def settings(self): ...
283
435
 
@@ -286,8 +438,8 @@ class DeviceExtension:
286
438
  def get_name(self) -> str: ...
287
439
 
288
440
  class DeviceType:
289
- class Enum:
290
- __members__: ClassVar[dict] = ... # read-only
441
+ class Enum(enum.IntEnum):
442
+ __new__: ClassVar[Callable] = ...
291
443
  BLUE: ClassVar[DeviceType.Enum] = ...
292
444
  CMProbe: ClassVar[DeviceType.Enum] = ...
293
445
  CT_OBD: ClassVar[DeviceType.Enum] = ...
@@ -306,6 +458,8 @@ class DeviceType:
306
458
  FIRE2: ClassVar[DeviceType.Enum] = ...
307
459
  FIRE3: ClassVar[DeviceType.Enum] = ...
308
460
  FIRE3_FlexRay: ClassVar[DeviceType.Enum] = ...
461
+ FIRE3_T1S_LIN: ClassVar[DeviceType.Enum] = ...
462
+ FIRE3_T1S_SENT: ClassVar[DeviceType.Enum] = ...
309
463
  Flex: ClassVar[DeviceType.Enum] = ...
310
464
  IEVB: ClassVar[DeviceType.Enum] = ...
311
465
  ION: ClassVar[DeviceType.Enum] = ...
@@ -322,6 +476,7 @@ class DeviceType:
322
476
  RADEpsilonXL: ClassVar[DeviceType.Enum] = ...
323
477
  RADGalaxy: ClassVar[DeviceType.Enum] = ...
324
478
  RADGalaxy2: ClassVar[DeviceType.Enum] = ...
479
+ RADGemini: ClassVar[DeviceType.Enum] = ...
325
480
  RADGigastar: ClassVar[DeviceType.Enum] = ...
326
481
  RADGigastar2: ClassVar[DeviceType.Enum] = ...
327
482
  RADIO_CANHUB: ClassVar[DeviceType.Enum] = ...
@@ -347,17 +502,14 @@ class DeviceType:
347
502
  VCAN4_IND: ClassVar[DeviceType.Enum] = ...
348
503
  VCANrf: ClassVar[DeviceType.Enum] = ...
349
504
  VividCAN: ClassVar[DeviceType.Enum] = ...
350
- __entries: ClassVar[dict] = ...
351
- def __init__(self, value: int) -> None: ...
352
- def __eq__(self, other: object) -> bool: ...
353
- def __hash__(self) -> int: ...
354
- def __index__(self) -> int: ...
355
- def __int__(self) -> int: ...
356
- def __ne__(self, other: object) -> bool: ...
357
- @property
358
- def name(self) -> str: ...
359
- @property
360
- def value(self) -> int: ...
505
+ _generate_next_value_: ClassVar[Callable] = ...
506
+ _member_map_: ClassVar[dict] = ...
507
+ _member_names_: ClassVar[list] = ...
508
+ _member_type_: ClassVar[type[int]] = ...
509
+ _unhashable_values_: ClassVar[list] = ...
510
+ _use_args_: ClassVar[bool] = ...
511
+ _value2member_map_: ClassVar[dict] = ...
512
+ def __format__(self, *args, **kwargs) -> str: ...
361
513
  def __init__(self, arg0: DeviceType.Enum) -> None: ...
362
514
  def get_device_type(self) -> DeviceType.Enum: ...
363
515
  def get_generic_product_name(self) -> str: ...
@@ -368,7 +520,7 @@ class Disk:
368
520
  EntireCard: ClassVar[Disk.Access] = ...
369
521
  VSA: ClassVar[Disk.Access] = ...
370
522
  __entries: ClassVar[dict] = ...
371
- def __init__(self, value: int) -> None: ...
523
+ def __init__(self, value: typing.SupportsInt) -> None: ...
372
524
  def __eq__(self, other: object) -> bool: ...
373
525
  def __hash__(self) -> int: ...
374
526
  def __index__(self) -> int: ...
@@ -384,7 +536,7 @@ class Disk:
384
536
  Flash: ClassVar[Disk.MemoryType] = ...
385
537
  SD: ClassVar[Disk.MemoryType] = ...
386
538
  __entries: ClassVar[dict] = ...
387
- def __init__(self, value: int) -> None: ...
539
+ def __init__(self, value: typing.SupportsInt) -> None: ...
388
540
  def __eq__(self, other: object) -> bool: ...
389
541
  def __hash__(self) -> int: ...
390
542
  def __index__(self) -> int: ...
@@ -396,12 +548,27 @@ class Disk:
396
548
  def value(self) -> int: ...
397
549
  def __init__(self, *args, **kwargs) -> None: ...
398
550
 
551
+ class EthPhyMessage(Message):
552
+ messages: list[PhyMessage]
553
+ def __init__(self) -> None: ...
554
+
399
555
  class EthernetMessage(Frame):
556
+ crcError: bool
400
557
  fcs: int | None
558
+ fcsVerified: bool
401
559
  frameTooShort: bool
560
+ isT1S: bool
561
+ isT1SBurst: bool
562
+ isT1SSymbol: bool
563
+ isT1SWake: bool
402
564
  noPadding: bool
403
565
  preemptionEnabled: bool
404
566
  preemptionFlags: int
567
+ t1sBurstCount: int
568
+ t1sNodeId: int
569
+ t1sSymbolType: int
570
+ txAborted: bool
571
+ txCollision: bool
405
572
  def __init__(self) -> None: ...
406
573
  def get_destination_mac(self) -> MACAddress: ...
407
574
  def get_ether_type(self) -> int: ...
@@ -413,9 +580,10 @@ class EthernetStatusMessage(Message):
413
580
  LinkModeAuto: ClassVar[EthernetStatusMessage.LinkMode] = ...
414
581
  LinkModeInvalid: ClassVar[EthernetStatusMessage.LinkMode] = ...
415
582
  LinkModeMaster: ClassVar[EthernetStatusMessage.LinkMode] = ...
583
+ LinkModeNone: ClassVar[EthernetStatusMessage.LinkMode] = ...
416
584
  LinkModeSlave: ClassVar[EthernetStatusMessage.LinkMode] = ...
417
585
  __entries: ClassVar[dict] = ...
418
- def __init__(self, value: int) -> None: ...
586
+ def __init__(self, value: typing.SupportsInt) -> None: ...
419
587
  def __eq__(self, other: object) -> bool: ...
420
588
  def __hash__(self) -> int: ...
421
589
  def __index__(self) -> int: ...
@@ -436,7 +604,7 @@ class EthernetStatusMessage(Message):
436
604
  LinkSpeed5000: ClassVar[EthernetStatusMessage.LinkSpeed] = ...
437
605
  LinkSpeedAuto: ClassVar[EthernetStatusMessage.LinkSpeed] = ...
438
606
  __entries: ClassVar[dict] = ...
439
- def __init__(self, value: int) -> None: ...
607
+ def __init__(self, value: typing.SupportsInt) -> None: ...
440
608
  def __eq__(self, other: object) -> bool: ...
441
609
  def __hash__(self) -> int: ...
442
610
  def __index__(self) -> int: ...
@@ -460,9 +628,9 @@ class EthernetStatusMessage(Message):
460
628
 
461
629
  class EventCallback:
462
630
  @overload
463
- def __init__(self, arg0: Callable[[APIEvent], None], arg1: EventFilter) -> None: ...
631
+ def __init__(self, arg0: collections.abc.Callable[[APIEvent], None], arg1: EventFilter) -> None: ...
464
632
  @overload
465
- def __init__(self, arg0: Callable[[APIEvent], None]) -> None: ...
633
+ def __init__(self, arg0: collections.abc.Callable[[APIEvent], None]) -> None: ...
466
634
 
467
635
  class EventFilter:
468
636
  serial: str
@@ -481,7 +649,7 @@ class EventManager:
481
649
  @staticmethod
482
650
  def get_instance() -> EventManager: ...
483
651
  def get_last_error(self) -> APIEvent: ...
484
- def remove_event_callback(self, arg0: int) -> bool: ...
652
+ def remove_event_callback(self, arg0: typing.SupportsInt) -> bool: ...
485
653
 
486
654
  class FlexRay:
487
655
  class CRCStatus:
@@ -490,7 +658,7 @@ class FlexRay:
490
658
  NoCRC: ClassVar[FlexRay.CRCStatus] = ...
491
659
  OK: ClassVar[FlexRay.CRCStatus] = ...
492
660
  __entries: ClassVar[dict] = ...
493
- def __init__(self, value: int) -> None: ...
661
+ def __init__(self, value: typing.SupportsInt) -> None: ...
494
662
  def __eq__(self, other: object) -> bool: ...
495
663
  def __hash__(self) -> int: ...
496
664
  def __index__(self) -> int: ...
@@ -507,7 +675,7 @@ class FlexRay:
507
675
  AB: ClassVar[FlexRay.Channel] = ...
508
676
  B: ClassVar[FlexRay.Channel] = ...
509
677
  __entries: ClassVar[dict] = ...
510
- def __init__(self, value: int) -> None: ...
678
+ def __init__(self, value: typing.SupportsInt) -> None: ...
511
679
  def __eq__(self, other: object) -> bool: ...
512
680
  def __hash__(self) -> int: ...
513
681
  def __index__(self) -> int: ...
@@ -558,7 +726,7 @@ class FlexRay:
558
726
  FLEXRAY_SPP_5_ALT: ClassVar[FlexRay.Cluster.SPPType] = ...
559
727
  FLEXRAY_SPP_6: ClassVar[FlexRay.Cluster.SPPType] = ...
560
728
  __entries: ClassVar[dict] = ...
561
- def __init__(self, value: int) -> None: ...
729
+ def __init__(self, value: typing.SupportsInt) -> None: ...
562
730
  def __eq__(self, other: object) -> bool: ...
563
731
  def __hash__(self) -> int: ...
564
732
  def __index__(self) -> int: ...
@@ -576,7 +744,7 @@ class FlexRay:
576
744
  FLEXRAY_BAUDRATE_2M5_ALT: ClassVar[FlexRay.Cluster.SpeedType] = ...
577
745
  FLEXRAY_BAUDRATE_5M: ClassVar[FlexRay.Cluster.SpeedType] = ...
578
746
  __entries: ClassVar[dict] = ...
579
- def __init__(self, value: int) -> None: ...
747
+ def __init__(self, value: typing.SupportsInt) -> None: ...
580
748
  def __eq__(self, other: object) -> bool: ...
581
749
  def __hash__(self) -> int: ...
582
750
  def __index__(self) -> int: ...
@@ -662,7 +830,7 @@ class FlexRay:
662
830
  Unknown: ClassVar[FlexRay.Symbol] = ...
663
831
  Wakeup: ClassVar[FlexRay.Symbol] = ...
664
832
  __entries: ClassVar[dict] = ...
665
- def __init__(self, value: int) -> None: ...
833
+ def __init__(self, value: typing.SupportsInt) -> None: ...
666
834
  def __eq__(self, other: object) -> bool: ...
667
835
  def __hash__(self) -> int: ...
668
836
  def __index__(self) -> int: ...
@@ -702,85 +870,85 @@ class GPTPStatus(Message):
702
870
  class ClockQuality:
703
871
  def __init__(self, *args, **kwargs) -> None: ...
704
872
  @property
705
- def clockAccuracy(self) -> int: ...
873
+ def clock_accuracy(self) -> int: ...
706
874
  @property
707
- def clockClass(self) -> int: ...
875
+ def clock_class(self) -> int: ...
708
876
  @property
709
- def offsetScaledLogVariance(self) -> int: ...
877
+ def offset_scaled_log_variance(self) -> int: ...
710
878
 
711
879
  class CurrentDS:
712
880
  def __init__(self, *args, **kwargs) -> None: ...
713
881
  @property
714
- def gmChangeCount(self) -> int: ...
882
+ def gm_change_count(self) -> int: ...
715
883
  @property
716
- def gmTimeBaseIndicator(self) -> int: ...
884
+ def gm_time_base_indicator(self) -> int: ...
717
885
  @property
718
- def lastgmFreqChange(self) -> float: ...
886
+ def lastgm_freq_change(self) -> float: ...
719
887
  @property
720
- def lastgmPhaseChange(self) -> GPTPStatus.ScaledNanoSeconds: ...
888
+ def lastgm_phase_change(self) -> GPTPStatus.ScaledNanoSeconds: ...
721
889
  @property
722
- def offsetFromMaster(self) -> int: ...
890
+ def offset_from_master(self) -> int: ...
723
891
  @property
724
- def stepsRemoved(self) -> int: ...
892
+ def steps_removed(self) -> int: ...
725
893
  @property
726
- def timeOfLastgmChangeEvent(self) -> int: ...
894
+ def time_of_lastgm_change_event(self) -> int: ...
727
895
  @property
728
- def timeOfLastgmFreqChangeEvent(self) -> int: ...
896
+ def time_of_lastgm_freq_change_event(self) -> int: ...
729
897
  @property
730
- def timeOfLastgmPhaseChangeEvent(self) -> int: ...
898
+ def time_of_lastgm_phase_change_event(self) -> int: ...
731
899
 
732
900
  class ParentDS:
733
901
  def __init__(self, *args, **kwargs) -> None: ...
734
902
  @property
735
- def cumulativeRateRatio(self) -> int: ...
903
+ def cumulative_rate_ratio(self) -> int: ...
736
904
  @property
737
- def gmClockQualityClockAccuracy(self) -> int: ...
905
+ def gm_clock_quality_clock_accuracy(self) -> int: ...
738
906
  @property
739
- def gmClockQualityClockClass(self) -> int: ...
907
+ def gm_clock_quality_clock_class(self) -> int: ...
740
908
  @property
741
- def gmClockQualityOffsetScaledLogVariance(self) -> int: ...
909
+ def gm_clock_quality_offset_scaled_log_variance(self) -> int: ...
742
910
  @property
743
- def gmPriority1(self) -> int: ...
911
+ def gm_priority1(self) -> int: ...
744
912
  @property
745
- def gmPriority2(self) -> int: ...
913
+ def gm_priority2(self) -> int: ...
746
914
  @property
747
- def grandmasterIdentity(self) -> int: ...
915
+ def grandmaster_identity(self) -> int: ...
748
916
  @property
749
- def parentPortIdentity(self) -> GPTPStatus.PortID: ...
917
+ def parent_port_identity(self) -> GPTPStatus.PortID: ...
750
918
 
751
919
  class PortID:
752
920
  def __init__(self, *args, **kwargs) -> None: ...
753
921
  @property
754
- def clockIdentity(self) -> int: ...
922
+ def clock_identity(self) -> int: ...
755
923
  @property
756
- def portNumber(self) -> int: ...
924
+ def port_number(self) -> int: ...
757
925
 
758
926
  class PriorityVector:
759
927
  def __init__(self, *args, **kwargs) -> None: ...
760
928
  @property
761
- def portID(self) -> GPTPStatus.PortID: ...
929
+ def port_id(self) -> GPTPStatus.PortID: ...
762
930
  @property
763
- def portNumber(self) -> int: ...
931
+ def port_number(self) -> int: ...
764
932
  @property
765
- def stepsRemoved(self) -> int: ...
933
+ def steps_removed(self) -> int: ...
766
934
  @property
767
- def sysID(self) -> GPTPStatus.SystemID: ...
935
+ def sys_id(self) -> GPTPStatus.SystemID: ...
768
936
 
769
937
  class ScaledNanoSeconds:
770
938
  def __init__(self, *args, **kwargs) -> None: ...
771
939
  @property
772
- def fractionalNanoseconds(self) -> int: ...
940
+ def fractional_nanoseconds(self) -> int: ...
773
941
  @property
774
- def nanosecondsLSB(self) -> int: ...
942
+ def nanoseconds_lsb(self) -> int: ...
775
943
  @property
776
- def nanosecondsMSB(self) -> int: ...
944
+ def nanoseconds_msb(self) -> int: ...
777
945
 
778
946
  class SystemID:
779
947
  def __init__(self, *args, **kwargs) -> None: ...
780
948
  @property
781
- def clockID(self) -> int: ...
949
+ def clock_id(self) -> int: ...
782
950
  @property
783
- def clockQuality(self) -> GPTPStatus.ClockQuality: ...
951
+ def clock_quality(self) -> GPTPStatus.ClockQuality: ...
784
952
  @property
785
953
  def priority1(self) -> int: ...
786
954
  @property
@@ -795,41 +963,74 @@ class GPTPStatus(Message):
795
963
  def seconds(self) -> int: ...
796
964
  def __init__(self, *args, **kwargs) -> None: ...
797
965
  @property
798
- def asCapable(self) -> int: ...
966
+ def as_capable(self) -> int: ...
799
967
  @property
800
- def currentDS(self) -> GPTPStatus.CurrentDS: ...
968
+ def current_ds(self) -> GPTPStatus.CurrentDS: ...
801
969
  @property
802
- def currentTime(self) -> GPTPStatus.Timestamp: ...
970
+ def current_time(self) -> GPTPStatus.Timestamp: ...
803
971
  @property
804
- def gmPriority(self) -> GPTPStatus.PriorityVector: ...
972
+ def gm_priority(self) -> GPTPStatus.PriorityVector: ...
805
973
  @property
806
- def isSync(self) -> int: ...
974
+ def is_sync(self) -> int: ...
807
975
  @property
808
- def isSyntonized(self) -> int: ...
976
+ def is_syntonized(self) -> int: ...
809
977
  @property
810
- def lastRXSyncTS(self) -> GPTPStatus.Timestamp: ...
978
+ def last_rx_sync_ts(self) -> GPTPStatus.Timestamp: ...
811
979
  @property
812
- def linkDelayNS(self) -> int: ...
980
+ def link_delay_ns(self) -> int: ...
813
981
  @property
814
- def linkStatus(self) -> int: ...
982
+ def link_status(self) -> int: ...
815
983
  @property
816
- def msOffsetNs(self) -> int: ...
984
+ def ms_offset_ns(self) -> int: ...
817
985
  @property
818
- def parentDS(self) -> GPTPStatus.ParentDS: ...
986
+ def parent_ds(self) -> GPTPStatus.ParentDS: ...
819
987
  @property
820
- def selectedRole(self) -> int: ...
988
+ def selected_role(self) -> int: ...
989
+ @property
990
+ def short_format(self) -> bool: ...
821
991
 
822
992
  class IDeviceSettings:
823
993
  def __init__(self, *args, **kwargs) -> None: ...
824
994
  def apply(self, temporary: bool = ...) -> bool: ...
825
995
  def apply_defaults(self, temporary: bool = ...) -> bool: ...
826
- def get_phy_enable(self, arg0: int) -> bool | None: ...
827
- def get_phy_mode(self, arg0: int) -> Settings.EthernetLinkMode | None: ...
828
- def get_phy_speed(self, arg0: int) -> Settings.EthernetLinkSpeed | None: ...
829
- def refresh(self, ignoreChecksum: bool = ...) -> bool: ...
830
- def set_phy_enable(self, arg0: int, arg1: bool) -> bool: ...
831
- def set_phy_mode(self, arg0: int, arg1: Settings.EthernetLinkMode) -> bool: ...
832
- def set_phy_speed(self, arg0: int, arg1: Settings.EthernetLinkSpeed) -> bool: ...
996
+ def can_termination_be_enabled(self, arg0: Network) -> bool: ...
997
+ def get_baudrate(self, arg0: Network) -> int: ...
998
+ def get_fd_baudrate(self, arg0: Network) -> int: ...
999
+ def get_lin_commander_response_time(self, arg0: Network) -> int | None: ...
1000
+ def get_lin_mode(self, arg0: Network) -> Settings.LINMode | None: ...
1001
+ def get_phy_enable(self, arg0: typing.SupportsInt) -> bool | None: ...
1002
+ def get_phy_mode(self, arg0: typing.SupportsInt) -> Settings.EthernetLinkMode | None: ...
1003
+ def get_phy_speed(self, arg0: typing.SupportsInt) -> Settings.EthernetLinkSpeed | None: ...
1004
+ def get_t1s_burst_timer(self, arg0: Network) -> int | None: ...
1005
+ def get_t1s_local_id(self, arg0: Network) -> int | None: ...
1006
+ def get_t1s_max_burst(self, arg0: Network) -> int | None: ...
1007
+ def get_t1s_max_nodes(self, arg0: Network) -> int | None: ...
1008
+ def get_t1s_tx_opp_timer(self, arg0: Network) -> int | None: ...
1009
+ def get_termination_groups(self) -> list[list[Network]]: ...
1010
+ def is_commander_resistor_enabled(self, arg0: Network) -> bool | None: ...
1011
+ def is_t1s_plca_enabled(self, arg0: Network) -> bool | None: ...
1012
+ def is_termination_enabled(self, arg0: Network) -> bool | None: ...
1013
+ def is_termination_supported(self, arg0: Network) -> bool: ...
1014
+ def refresh(self) -> bool: ...
1015
+ def set_baudrate(self, arg0: Network, arg1: typing.SupportsInt) -> bool: ...
1016
+ def set_commander_resistor(self, arg0: Network, arg1: bool) -> bool: ...
1017
+ def set_fd_baudrate(self, arg0: Network, arg1: typing.SupportsInt) -> bool: ...
1018
+ def set_lin_commander_response_time(self, arg0: Network, arg1: typing.SupportsInt) -> bool: ...
1019
+ def set_lin_mode(self, arg0: Network, arg1: Settings.LINMode) -> bool: ...
1020
+ def set_phy_enable(self, arg0: typing.SupportsInt, arg1: bool) -> bool: ...
1021
+ def set_phy_mode(self, arg0: typing.SupportsInt, arg1: Settings.EthernetLinkMode) -> bool: ...
1022
+ def set_phy_speed(self, arg0: typing.SupportsInt, arg1: Settings.EthernetLinkSpeed) -> bool: ...
1023
+ def set_t1s_burst_timer(self, arg0: Network, arg1: typing.SupportsInt) -> bool: ...
1024
+ def set_t1s_local_id(self, arg0: Network, arg1: typing.SupportsInt) -> bool: ...
1025
+ def set_t1s_max_burst(self, arg0: Network, arg1: typing.SupportsInt) -> bool: ...
1026
+ def set_t1s_max_nodes(self, arg0: Network, arg1: typing.SupportsInt) -> bool: ...
1027
+ def set_t1s_plca(self, arg0: Network, arg1: bool) -> bool: ...
1028
+ def set_t1s_tx_opp_timer(self, arg0: Network, arg1: typing.SupportsInt) -> bool: ...
1029
+ def set_termination(self, arg0: Network, arg1: bool) -> bool: ...
1030
+ @property
1031
+ def disabled(self) -> bool: ...
1032
+ @property
1033
+ def readonly(self) -> bool: ...
833
1034
 
834
1035
  class IO:
835
1036
  __members__: ClassVar[dict] = ... # read-only
@@ -840,7 +1041,7 @@ class IO:
840
1041
  Misc: ClassVar[IO] = ...
841
1042
  USBHostPower: ClassVar[IO] = ...
842
1043
  __entries: ClassVar[dict] = ...
843
- def __init__(self, value: int) -> None: ...
1044
+ def __init__(self, value: typing.SupportsInt) -> None: ...
844
1045
  def __eq__(self, other: object) -> bool: ...
845
1046
  def __hash__(self) -> int: ...
846
1047
  def __index__(self) -> int: ...
@@ -876,7 +1077,7 @@ class LINMessage(Frame):
876
1077
  LIN_UPDATE_RESPONDER: ClassVar[LINMessage.Type] = ...
877
1078
  NOT_SET: ClassVar[LINMessage.Type] = ...
878
1079
  __entries: ClassVar[dict] = ...
879
- def __init__(self, value: int) -> None: ...
1080
+ def __init__(self, value: typing.SupportsInt) -> None: ...
880
1081
  def __eq__(self, other: object) -> bool: ...
881
1082
  def __hash__(self) -> int: ...
882
1083
  def __index__(self) -> int: ...
@@ -896,10 +1097,10 @@ class LINMessage(Frame):
896
1097
  @overload
897
1098
  def __init__(self) -> None: ...
898
1099
  @overload
899
- def __init__(self, arg0: int) -> None: ...
1100
+ def __init__(self, arg0: typing.SupportsInt) -> None: ...
900
1101
  @staticmethod
901
1102
  def calc_checksum(arg0: LINMessage) -> None: ...
902
- def calc_protected_id(self, arg0: int) -> int: ...
1103
+ def calc_protected_id(self, arg0: typing.SupportsInt) -> int: ...
903
1104
 
904
1105
  class LINStatusFlags:
905
1106
  BreakOnly: bool
@@ -912,27 +1113,48 @@ class LINStatusFlags:
912
1113
  UpdateResponderOnce: bool
913
1114
  def __init__(self, *args, **kwargs) -> None: ...
914
1115
 
915
- class MACAddress:
916
- def __init__(self, *args, **kwargs) -> None: ...
917
- def to_string(self) -> str: ...
1116
+ class LiveDataArgument:
1117
+ object_index: int
1118
+ object_type: Incomplete
1119
+ signal_index: int
1120
+ value_type: Incomplete
1121
+ def __init__(self) -> None: ...
918
1122
 
919
- class MACSecFlags:
920
- en: bool
1123
+ class LiveDataCommand(enum.IntEnum):
1124
+ __new__: ClassVar[Callable] = ...
1125
+ CLEAR_ALL: ClassVar[LiveDataCommand] = ...
1126
+ RESPONSE: ClassVar[LiveDataCommand] = ...
1127
+ SET_VALUE: ClassVar[LiveDataCommand] = ...
1128
+ STATUS: ClassVar[LiveDataCommand] = ...
1129
+ SUBSCRIBE: ClassVar[LiveDataCommand] = ...
1130
+ UNSUBSCRIBE: ClassVar[LiveDataCommand] = ...
1131
+ _generate_next_value_: ClassVar[Callable] = ...
1132
+ _member_map_: ClassVar[dict] = ...
1133
+ _member_names_: ClassVar[list] = ...
1134
+ _member_type_: ClassVar[type[int]] = ...
1135
+ _unhashable_values_: ClassVar[list] = ...
1136
+ _use_args_: ClassVar[bool] = ...
1137
+ _value2member_map_: ClassVar[dict] = ...
1138
+ def __format__(self, *args, **kwargs) -> str: ...
1139
+
1140
+ class LiveDataCommandMessage(LiveDataMessage):
1141
+ args: list[LiveDataArgument]
1142
+ expiration_time: datetime.timedelta
1143
+ update_period: datetime.timedelta
921
1144
  def __init__(self) -> None: ...
1145
+ def append_signal_arg(self, value_type: LiveDataValueType) -> None: ...
922
1146
 
923
- class MACSecGlobalFlags:
924
- en: bool
925
- nvm: bool
1147
+ class LiveDataMessage(RawMessage):
1148
+ cmd: LiveDataCommand
1149
+ handle: int
926
1150
  def __init__(self) -> None: ...
927
1151
 
928
- class MACsecCipherSuiteType:
1152
+ class LiveDataObjectType:
929
1153
  __members__: ClassVar[dict] = ... # read-only
930
- AES_128: ClassVar[MACsecCipherSuiteType] = ...
931
- AES_128_XPN: ClassVar[MACsecCipherSuiteType] = ...
932
- AES_256: ClassVar[MACsecCipherSuiteType] = ...
933
- AES_256_XPN: ClassVar[MACsecCipherSuiteType] = ...
1154
+ MISC: ClassVar[LiveDataObjectType] = ...
1155
+ SNA: ClassVar[LiveDataObjectType] = ...
934
1156
  __entries: ClassVar[dict] = ...
935
- def __init__(self, value: int) -> None: ...
1157
+ def __init__(self, value: typing.SupportsInt) -> None: ...
936
1158
  def __eq__(self, other: object) -> bool: ...
937
1159
  def __hash__(self) -> int: ...
938
1160
  def __index__(self) -> int: ...
@@ -943,48 +1165,135 @@ class MACsecCipherSuiteType:
943
1165
  @property
944
1166
  def value(self) -> int: ...
945
1167
 
946
- class MACsecConfig:
947
- flags: MACSecFlags
948
- map: Incomplete
949
- rule: Incomplete
950
- sa: Incomplete
951
- sc: Incomplete
952
- secy: Incomplete
1168
+ class LiveDataSetValueMessage(LiveDataMessage):
1169
+ args: list[LiveDataArgument]
1170
+ values: list[LiveDataValue]
1171
+ def __init__(self) -> None: ...
1172
+ def append_set_value(self, value_type: LiveDataValueType, value: LiveDataValue) -> None: ...
1173
+
1174
+ class LiveDataStatus(enum.IntEnum):
1175
+ __new__: ClassVar[Callable] = ...
1176
+ ERR_DUPLICATE: ClassVar[LiveDataStatus] = ...
1177
+ ERR_FULL: ClassVar[LiveDataStatus] = ...
1178
+ ERR_HANDLE: ClassVar[LiveDataStatus] = ...
1179
+ ERR_UNKNOWN_COMMAND: ClassVar[LiveDataStatus] = ...
1180
+ SUCCESS: ClassVar[LiveDataStatus] = ...
1181
+ _generate_next_value_: ClassVar[Callable] = ...
1182
+ _member_map_: ClassVar[dict] = ...
1183
+ _member_names_: ClassVar[list] = ...
1184
+ _member_type_: ClassVar[type[int]] = ...
1185
+ _unhashable_values_: ClassVar[list] = ...
1186
+ _use_args_: ClassVar[bool] = ...
1187
+ _value2member_map_: ClassVar[dict] = ...
1188
+ def __format__(self, *args, **kwargs) -> str: ...
1189
+
1190
+ class LiveDataStatusMessage(LiveDataMessage):
1191
+ requested_command: LiveDataCommand
1192
+ status: LiveDataStatus
953
1193
  def __init__(self) -> None: ...
954
1194
 
955
- class MACsecMPLSOuter:
956
- exp: int
957
- mpls_label: int
1195
+ class LiveDataValue:
1196
+ value: int
958
1197
  def __init__(self) -> None: ...
959
1198
 
960
- class MACsecMap:
961
- auxiliaryPlcy: int
962
- enable: bool
963
- index: int
964
- isControlPacket: bool
965
- ruleId: int
966
- scIndex: int
967
- secTagSci: int
968
- secYIndex: int
1199
+ class LiveDataValueMessage(LiveDataMessage):
1200
+ num_args: int
1201
+ values: list[LiveDataValue]
969
1202
  def __init__(self) -> None: ...
970
1203
 
971
- class MACsecMessage:
972
- flags: MACSecGlobalFlags
973
- rx: MACsecConfig
974
- tx: MACsecConfig
1204
+ class LiveDataValueType(enum.IntEnum):
1205
+ __new__: ClassVar[Callable] = ...
1206
+ DAQ_ENABLE: ClassVar[LiveDataValueType] = ...
1207
+ GPS_ACCURACY: ClassVar[LiveDataValueType] = ...
1208
+ GPS_ALTITUDE: ClassVar[LiveDataValueType] = ...
1209
+ GPS_BEARING: ClassVar[LiveDataValueType] = ...
1210
+ GPS_ENABLE: ClassVar[LiveDataValueType] = ...
1211
+ GPS_LATITUDE: ClassVar[LiveDataValueType] = ...
1212
+ GPS_LONGITUDE: ClassVar[LiveDataValueType] = ...
1213
+ GPS_SPEED: ClassVar[LiveDataValueType] = ...
1214
+ GPS_TIME: ClassVar[LiveDataValueType] = ...
1215
+ GPS_TIME_VALID: ClassVar[LiveDataValueType] = ...
1216
+ GPS_VALID: ClassVar[LiveDataValueType] = ...
1217
+ MANUAL_TRIGGER: ClassVar[LiveDataValueType] = ...
1218
+ TIME_SINCE_MSG: ClassVar[LiveDataValueType] = ...
1219
+ _generate_next_value_: ClassVar[Callable] = ...
1220
+ _member_map_: ClassVar[dict] = ...
1221
+ _member_names_: ClassVar[list] = ...
1222
+ _member_type_: ClassVar[type[int]] = ...
1223
+ _unhashable_values_: ClassVar[list] = ...
1224
+ _use_args_: ClassVar[bool] = ...
1225
+ _value2member_map_: ClassVar[dict] = ...
1226
+ def __format__(self, *args, **kwargs) -> str: ...
1227
+
1228
+ class MACAddress:
1229
+ def __init__(self, *args, **kwargs) -> None: ...
1230
+ def to_string(self) -> str: ...
1231
+
1232
+ class MACsecCipherSuite:
1233
+ __members__: ClassVar[dict] = ... # read-only
1234
+ GCM_AES_128: ClassVar[MACsecCipherSuite] = ...
1235
+ GCM_AES_128_XPN: ClassVar[MACsecCipherSuite] = ...
1236
+ GCM_AES_256: ClassVar[MACsecCipherSuite] = ...
1237
+ GCM_AES_256_XPN: ClassVar[MACsecCipherSuite] = ...
1238
+ __entries: ClassVar[dict] = ...
1239
+ def __init__(self, value: typing.SupportsInt) -> None: ...
1240
+ def __eq__(self, other: object) -> bool: ...
1241
+ def __hash__(self) -> int: ...
1242
+ def __index__(self) -> int: ...
1243
+ def __int__(self) -> int: ...
1244
+ def __ne__(self, other: object) -> bool: ...
1245
+ @property
1246
+ def name(self) -> str: ...
1247
+ @property
1248
+ def value(self) -> int: ...
1249
+
1250
+ class MACsecConfig:
1251
+ def __init__(self, arg0: DeviceType) -> None: ...
1252
+ def add_rx_rule(self, arg0: MACsecRxRule, arg1: typing.SupportsInt) -> int: ...
1253
+ def add_rx_sa(self, arg0: MACsecRxSa) -> int: ...
1254
+ def add_rx_secy(self, arg0: MACsecRxSecY, arg1: typing.SupportsInt) -> int: ...
1255
+ def add_tx_sa(self, arg0: MACsecTxSa) -> int: ...
1256
+ def add_tx_secY(self, arg0: MACsecTxSecY, arg1: typing.SupportsInt) -> int: ...
1257
+ def clear(self) -> None: ...
1258
+ def disable_rx_rekey(self, arg0: typing.SupportsInt) -> None: ...
1259
+ def disable_tx_rekey(self, arg0: typing.SupportsInt) -> None: ...
1260
+ def enable_rx_rekey(self, arg0: typing.SupportsInt, arg1: typing.SupportsInt) -> bool: ...
1261
+ def enable_tx_rekey(self, arg0: typing.SupportsInt, arg1: typing.SupportsInt) -> bool: ...
1262
+ def get_bin_index(self) -> int: ...
1263
+ def get_max_num_rule(self) -> int: ...
1264
+ def get_max_num_sa(self) -> int: ...
1265
+ def get_max_num_secy(self) -> int: ...
1266
+ def get_rx_rule(self, arg0: typing.SupportsInt) -> MACsecRxRule: ...
1267
+ def get_rx_sa(self, arg0: typing.SupportsInt) -> MACsecRxSa: ...
1268
+ def get_rx_secy(self, arg0: typing.SupportsInt) -> MACsecRxSecY: ...
1269
+ def get_tx_sa(self, arg0: typing.SupportsInt) -> MACsecTxSa: ...
1270
+ def get_tx_secy(self, arg0: typing.SupportsInt) -> MACsecTxSecY: ...
1271
+ def get_type(self) -> DeviceType: ...
1272
+ def serialize(self) -> list[int]: ...
1273
+ def set_rx_enable(self, arg0: bool) -> None: ...
1274
+ def set_rx_sa_index(self, arg0: typing.SupportsInt, arg1: typing.SupportsInt) -> bool: ...
1275
+ def set_rx_sa_rekey_index(self, arg0: typing.SupportsInt, arg1: typing.SupportsInt) -> bool: ...
1276
+ def set_storage(self, arg0: bool) -> None: ...
1277
+ def set_tx_enable(self, arg0: bool) -> None: ...
1278
+ def set_tx_sa_index(self, arg0: typing.SupportsInt, arg1: typing.SupportsInt) -> bool: ...
1279
+ def set_tx_sa_rekey_index(self, arg0: typing.SupportsInt, arg1: typing.SupportsInt) -> bool: ...
1280
+
1281
+ class MACsecMPLSOuter:
1282
+ exp: int
1283
+ mpls_label: int
975
1284
  def __init__(self) -> None: ...
976
1285
 
977
1286
  class MACsecPacketType:
978
1287
  __members__: ClassVar[dict] = ... # read-only
979
- DualVLAN: ClassVar[MACsecPacketType] = ...
980
- DualVLAN_FollowByMPLS: ClassVar[MACsecPacketType] = ...
1288
+ DEFAULT: ClassVar[MACsecPacketType] = ...
1289
+ DUAL_VLAN: ClassVar[MACsecPacketType] = ...
1290
+ DUAL_VLAN_FOLLOWED_BY_MPLS: ClassVar[MACsecPacketType] = ...
981
1291
  MPLS: ClassVar[MACsecPacketType] = ...
982
- NoVLAN_OrMPLS: ClassVar[MACsecPacketType] = ...
983
- SingleVLAN: ClassVar[MACsecPacketType] = ...
984
- SingleVLAN_FollowByMPLS: ClassVar[MACsecPacketType] = ...
985
- Unsupported: ClassVar[MACsecPacketType] = ...
1292
+ SINGLE_VLAN: ClassVar[MACsecPacketType] = ...
1293
+ SINGLE_VLAN_FOLLOWED_BY_MPLS: ClassVar[MACsecPacketType] = ...
1294
+ UNSUPPORTED: ClassVar[MACsecPacketType] = ...
986
1295
  __entries: ClassVar[dict] = ...
987
- def __init__(self, value: int) -> None: ...
1296
+ def __init__(self, value: typing.SupportsInt) -> None: ...
988
1297
  def __eq__(self, other: object) -> bool: ...
989
1298
  def __hash__(self) -> int: ...
990
1299
  def __index__(self) -> int: ...
@@ -995,72 +1304,67 @@ class MACsecPacketType:
995
1304
  @property
996
1305
  def value(self) -> int: ...
997
1306
 
998
- class MACsecRule:
999
- enable: bool
1000
- index: int
1001
- isMpls: bool
1002
- keyBonusData: int
1003
- keyEthertype: int
1004
- keyExpress: bool
1005
- keyInnerVlanType: int
1006
- keyMacDa: Incomplete
1007
- keyMacSa: Incomplete
1008
- keyMplsOuter1: MACsecMPLSOuter
1009
- keyMplsOuter2: MACsecMPLSOuter
1010
- keyNumTags: int
1011
- keyOuterVlanType: int
1012
- keyPacketType: MACsecPacketType
1013
- keyTagMatchBitmap: int
1014
- keyVlanTagOuter1: MACsecVLANTag
1015
- keyVlanTagOuter2: MACsecVLANTag
1016
- maskBonusData: int
1017
- maskEthertype: int
1018
- maskExpress: int
1019
- maskInnerVlanType: int
1020
- maskMacDa: Incomplete
1021
- maskMacSa: Incomplete
1022
- maskMplsOuter1: MACsecMPLSOuter
1023
- maskMplsOuter2: MACsecMPLSOuter
1024
- maskNumTags: int
1025
- maskOuterVlanType: int
1026
- maskPacketType: int
1027
- maskTagMatchBitmap: int
1028
- maskVlanTagOuter1: MACsecVLANTag
1029
- maskVlanTagOuter2: MACsecVLANTag
1307
+ class MACsecRxRule:
1308
+ is_mpls: bool
1309
+ key_bonus_data: int
1310
+ key_ether_type: int
1311
+ key_express: bool
1312
+ key_inner_vlan_type: int
1313
+ key_mac_da: Incomplete
1314
+ key_mask_sa: Incomplete
1315
+ key_mpls_outer1: MACsecMPLSOuter
1316
+ key_mpls_outer2: MACsecMPLSOuter
1317
+ key_num_tags: int
1318
+ key_outer_vlan_type: int
1319
+ key_packet_type: MACsecPacketType
1320
+ key_tag_match_bitmap: int
1321
+ key_vlan_tag_outer1: MACsecVLANTag
1322
+ key_vlan_tag_outer2: MACsecVLANTag
1323
+ mask_bonus_data: int
1324
+ mask_ether_type: int
1325
+ mask_express: bool
1326
+ mask_inner_vlan_type: int
1327
+ mask_mac_da: Incomplete
1328
+ mask_mac_sa: Incomplete
1329
+ mask_mpls_outer1: MACsecMPLSOuter
1330
+ mask_mpls_outer2: MACsecMPLSOuter
1331
+ mask_num_tags: int
1332
+ mask_outer_vlan_type: int
1333
+ mask_packet_type: int
1334
+ mask_tag_match_bitmap: int
1335
+ mask_vlan_tag_outer1: MACsecVLANTag
1336
+ mask_vlan_tag_outer2: MACsecVLANTag
1030
1337
  def __init__(self) -> None: ...
1031
1338
 
1032
- class MACsecSa:
1033
- an: int
1034
- enable: bool
1035
- hashKey: Incomplete
1036
- index: int
1037
- nextPn: int
1339
+ class MACsecRxSa:
1340
+ hash_key: Incomplete
1341
+ next_pn: int
1038
1342
  sak: Incomplete
1039
1343
  salt: Incomplete
1040
1344
  ssci: int
1041
1345
  def __init__(self) -> None: ...
1042
1346
 
1043
- class MACsecSc:
1044
- enable: bool
1045
- enableAutoRekey: bool
1046
- index: int
1047
- isActiveSa1: bool
1048
- saIndex0: int
1049
- saIndex0InUse: bool
1050
- saIndex1: int
1051
- saIndex1InUse: bool
1347
+ class MACsecRxSecY:
1348
+ cipher: MACsecCipherSuite
1349
+ confidentiality_offset: int
1350
+ enable_control_port: bool
1351
+ frame_strip: MACsecStrip
1352
+ frame_validation: MACsecValidation
1353
+ icv_includes_da_sa: bool
1354
+ is_control_packet: bool
1355
+ replay_protect: bool
1356
+ replay_window: int
1052
1357
  sci: int
1053
- secYIndex: int
1054
1358
  def __init__(self) -> None: ...
1055
1359
 
1056
- class MACsecSecTagIcvStripType:
1360
+ class MACsecStrip:
1057
1361
  __members__: ClassVar[dict] = ... # read-only
1058
- PreserveBoth: ClassVar[MACsecSecTagIcvStripType] = ...
1059
- PreserveSecTagStripICV: ClassVar[MACsecSecTagIcvStripType] = ...
1060
- StripBoth: ClassVar[MACsecSecTagIcvStripType] = ...
1061
- StripSecTagPreserveICV: ClassVar[MACsecSecTagIcvStripType] = ...
1362
+ NO_STRIP: ClassVar[MACsecStrip] = ...
1363
+ PRESERVE_SECTAG_STRIP_ICV: ClassVar[MACsecStrip] = ...
1364
+ STRIP_SECTAG_AND_ICV: ClassVar[MACsecStrip] = ...
1365
+ STRIP_SECTAG_PRESERVE_ICV: ClassVar[MACsecStrip] = ...
1062
1366
  __entries: ClassVar[dict] = ...
1063
- def __init__(self, value: int) -> None: ...
1367
+ def __init__(self, value: typing.SupportsInt) -> None: ...
1064
1368
  def __eq__(self, other: object) -> bool: ...
1065
1369
  def __hash__(self) -> int: ...
1066
1370
  def __index__(self) -> int: ...
@@ -1071,21 +1375,35 @@ class MACsecSecTagIcvStripType:
1071
1375
  @property
1072
1376
  def value(self) -> int: ...
1073
1377
 
1074
- class MACsecSecY:
1075
- cipher: MACsecCipherSuiteType
1076
- confidentialOffset: int
1077
- controlledPortEnabled: bool
1078
- enable: bool
1079
- frameValidationType: MACsecValidateFrameType
1080
- icvIncludesDaSa: bool
1081
- index: int
1378
+ class MACsecTci:
1379
+ c: bool
1380
+ e: bool
1381
+ es: bool
1382
+ sc: bool
1383
+ scb: bool
1384
+ def __init__(self) -> None: ...
1385
+
1386
+ class MACsecTxSa:
1387
+ an: int
1388
+ hash_key: Incomplete
1389
+ next_pn: int
1390
+ sak: Incomplete
1391
+ salt: Incomplete
1392
+ ssci: int
1393
+ def __init__(self) -> None: ...
1394
+
1395
+ class MACsecTxSecY:
1396
+ auxiliary_policy: int
1397
+ cipher: MACsecCipherSuite
1398
+ confidentiality_offset: int
1399
+ enable_control_port: bool
1400
+ icv_includes_da_sa: bool
1401
+ is_control_packet: bool
1082
1402
  mtu: int
1083
- protectFrames: bool
1084
- replayProtect: bool
1085
- replayWindow: int
1086
- secTagIcvStripType: MACsecSecTagIcvStripType
1087
- secTagOffset: int
1088
- secTagTci: int
1403
+ protect_frames: bool
1404
+ sci: int
1405
+ sec_tag_offset: int
1406
+ sec_tag_tci: MACsecTci
1089
1407
  def __init__(self) -> None: ...
1090
1408
 
1091
1409
  class MACsecVLANTag:
@@ -1093,14 +1411,14 @@ class MACsecVLANTag:
1093
1411
  vid: int
1094
1412
  def __init__(self) -> None: ...
1095
1413
 
1096
- class MACsecValidateFrameType:
1414
+ class MACsecValidation:
1097
1415
  __members__: ClassVar[dict] = ... # read-only
1098
- Check: ClassVar[MACsecValidateFrameType] = ...
1099
- Disabled: ClassVar[MACsecValidateFrameType] = ...
1100
- NA: ClassVar[MACsecValidateFrameType] = ...
1101
- Strict: ClassVar[MACsecValidateFrameType] = ...
1416
+ CHECK: ClassVar[MACsecValidation] = ...
1417
+ DISABLED: ClassVar[MACsecValidation] = ...
1418
+ NA: ClassVar[MACsecValidation] = ...
1419
+ STRICT: ClassVar[MACsecValidation] = ...
1102
1420
  __entries: ClassVar[dict] = ...
1103
- def __init__(self, value: int) -> None: ...
1421
+ def __init__(self, value: typing.SupportsInt) -> None: ...
1104
1422
  def __eq__(self, other: object) -> bool: ...
1105
1423
  def __hash__(self) -> int: ...
1106
1424
  def __index__(self) -> int: ...
@@ -1117,7 +1435,7 @@ class MDIOMessage(Frame):
1117
1435
  Clause22: ClassVar[MDIOMessage.Clause] = ...
1118
1436
  Clause45: ClassVar[MDIOMessage.Clause] = ...
1119
1437
  __entries: ClassVar[dict] = ...
1120
- def __init__(self, value: int) -> None: ...
1438
+ def __init__(self, value: typing.SupportsInt) -> None: ...
1121
1439
  def __eq__(self, other: object) -> bool: ...
1122
1440
  def __hash__(self) -> int: ...
1123
1441
  def __index__(self) -> int: ...
@@ -1133,7 +1451,7 @@ class MDIOMessage(Frame):
1133
1451
  Read: ClassVar[MDIOMessage.Direction] = ...
1134
1452
  Write: ClassVar[MDIOMessage.Direction] = ...
1135
1453
  __entries: ClassVar[dict] = ...
1136
- def __init__(self, value: int) -> None: ...
1454
+ def __init__(self, value: typing.SupportsInt) -> None: ...
1137
1455
  def __eq__(self, other: object) -> bool: ...
1138
1456
  def __hash__(self) -> int: ...
1139
1457
  def __index__(self) -> int: ...
@@ -1159,8 +1477,8 @@ class MDIOMessage(Frame):
1159
1477
  def __init__(self) -> None: ...
1160
1478
 
1161
1479
  class Message:
1162
- class Type:
1163
- __members__: ClassVar[dict] = ... # read-only
1480
+ class Type(enum.IntEnum):
1481
+ __new__: ClassVar[Callable] = ...
1164
1482
  AppError: ClassVar[Message.Type] = ...
1165
1483
  CANError: ClassVar[Message.Type] = ...
1166
1484
  CANErrorCount: ClassVar[Message.Type] = ...
@@ -1187,24 +1505,21 @@ class Message:
1187
1505
  SupportedFeatures: ClassVar[Message.Type] = ...
1188
1506
  TC10Status: ClassVar[Message.Type] = ...
1189
1507
  WiVICommandResponse: ClassVar[Message.Type] = ...
1190
- __entries: ClassVar[dict] = ...
1191
- def __init__(self, value: int) -> None: ...
1192
- def __eq__(self, other: object) -> bool: ...
1193
- def __hash__(self) -> int: ...
1194
- def __index__(self) -> int: ...
1195
- def __int__(self) -> int: ...
1196
- def __ne__(self, other: object) -> bool: ...
1197
- @property
1198
- def name(self) -> str: ...
1199
- @property
1200
- def value(self) -> int: ...
1508
+ _generate_next_value_: ClassVar[Callable] = ...
1509
+ _member_map_: ClassVar[dict] = ...
1510
+ _member_names_: ClassVar[list] = ...
1511
+ _member_type_: ClassVar[type[int]] = ...
1512
+ _unhashable_values_: ClassVar[list] = ...
1513
+ _use_args_: ClassVar[bool] = ...
1514
+ _value2member_map_: ClassVar[dict] = ...
1515
+ def __format__(self, *args, **kwargs) -> str: ...
1201
1516
  timestamp: int
1202
1517
  def __init__(self, arg0: Message.Type) -> None: ...
1203
1518
  @property
1204
1519
  def type(self) -> Message.Type: ...
1205
1520
 
1206
1521
  class MessageCallback:
1207
- def __init__(self, arg0: Callable[[Message], None], arg1: MessageFilter) -> None: ...
1522
+ def __init__(self, arg0: collections.abc.Callable[[Message], None], arg1: MessageFilter) -> None: ...
1208
1523
 
1209
1524
  class MessageFilter:
1210
1525
  @overload
@@ -1230,8 +1545,8 @@ class NeoVersion:
1230
1545
  def patch(self) -> int: ...
1231
1546
 
1232
1547
  class Network:
1233
- class NetID:
1234
- __members__: ClassVar[dict] = ... # read-only
1548
+ class NetID(enum.IntEnum):
1549
+ __new__: ClassVar[Callable] = ...
1235
1550
  A2B_01: ClassVar[Network.NetID] = ...
1236
1551
  A2B_02: ClassVar[Network.NetID] = ...
1237
1552
  AE_01: ClassVar[Network.NetID] = ...
@@ -1389,26 +1704,24 @@ class Network:
1389
1704
  UDP: ClassVar[Network.NetID] = ...
1390
1705
  WBMS_01: ClassVar[Network.NetID] = ...
1391
1706
  WiVICommand: ClassVar[Network.NetID] = ...
1392
- __entries: ClassVar[dict] = ...
1393
- def __init__(self, value: int) -> None: ...
1394
- def __eq__(self, other: object) -> bool: ...
1395
- def __hash__(self) -> int: ...
1396
- def __index__(self) -> int: ...
1397
- def __int__(self) -> int: ...
1398
- def __ne__(self, other: object) -> bool: ...
1399
- @property
1400
- def name(self) -> str: ...
1401
- @property
1402
- def value(self) -> int: ...
1403
-
1404
- class Type:
1405
- __members__: ClassVar[dict] = ... # read-only
1707
+ _generate_next_value_: ClassVar[Callable] = ...
1708
+ _member_map_: ClassVar[dict] = ...
1709
+ _member_names_: ClassVar[list] = ...
1710
+ _member_type_: ClassVar[type[int]] = ...
1711
+ _unhashable_values_: ClassVar[list] = ...
1712
+ _use_args_: ClassVar[bool] = ...
1713
+ _value2member_map_: ClassVar[dict] = ...
1714
+ def __format__(self, *args, **kwargs) -> str: ...
1715
+
1716
+ class Type(enum.Enum):
1717
+ __new__: ClassVar[Callable] = ...
1406
1718
  A2B: ClassVar[Network.Type] = ...
1407
1719
  Any: ClassVar[Network.Type] = ...
1720
+ AutomotiveEthernet: ClassVar[Network.Type] = ...
1408
1721
  CAN: ClassVar[Network.Type] = ...
1409
1722
  Ethernet: ClassVar[Network.Type] = ...
1410
1723
  FlexRay: ClassVar[Network.Type] = ...
1411
- I2C_01: ClassVar[Network.Type] = ...
1724
+ I2C: ClassVar[Network.Type] = ...
1412
1725
  ISO9141: ClassVar[Network.Type] = ...
1413
1726
  Internal: ClassVar[Network.Type] = ...
1414
1727
  Invalid: ClassVar[Network.Type] = ...
@@ -1419,28 +1732,58 @@ class Network:
1419
1732
  Other: ClassVar[Network.Type] = ...
1420
1733
  SPI: ClassVar[Network.Type] = ...
1421
1734
  SWCAN: ClassVar[Network.Type] = ...
1422
- __entries: ClassVar[dict] = ...
1423
- def __init__(self, value: int) -> None: ...
1424
- def __eq__(self, other: object) -> bool: ...
1425
- def __hash__(self) -> int: ...
1426
- def __index__(self) -> int: ...
1427
- def __int__(self) -> int: ...
1428
- def __ne__(self, other: object) -> bool: ...
1429
- @property
1430
- def name(self) -> str: ...
1431
- @property
1432
- def value(self) -> int: ...
1735
+ _generate_next_value_: ClassVar[Callable] = ...
1736
+ _member_map_: ClassVar[dict] = ...
1737
+ _member_names_: ClassVar[list] = ...
1738
+ _member_type_: ClassVar[type[object]] = ...
1739
+ _unhashable_values_: ClassVar[list] = ...
1740
+ _use_args_: ClassVar[bool] = ...
1741
+ _value2member_map_: ClassVar[dict] = ...
1742
+ _value_repr_: ClassVar[None] = ...
1433
1743
  def __init__(self, arg0: Network.NetID) -> None: ...
1434
1744
  def get_net_id(self) -> Network.NetID: ...
1435
1745
  @staticmethod
1436
1746
  def get_net_id_string(netid: Network.NetID, expand: bool = ...) -> str: ...
1437
1747
  def get_type(self) -> Network.Type: ...
1438
1748
 
1749
+ class PhyMessage:
1750
+ BusIndex: int
1751
+ Clause22: Clause22Message
1752
+ Clause45: Clause45Message
1753
+ Clause45Enable: bool
1754
+ Enabled: bool
1755
+ Version: int
1756
+ WriteEnable: bool
1757
+ def __init__(self) -> None: ...
1758
+
1439
1759
  class RawMessage(Message):
1440
1760
  data: list[int]
1441
1761
  network: Network
1442
1762
  def __init__(self, *args, **kwargs) -> None: ...
1443
1763
 
1764
+ class SPIMessage(Frame):
1765
+ class Direction:
1766
+ __members__: ClassVar[dict] = ... # read-only
1767
+ Read: ClassVar[SPIMessage.Direction] = ...
1768
+ Write: ClassVar[SPIMessage.Direction] = ...
1769
+ __entries: ClassVar[dict] = ...
1770
+ def __init__(self, value: typing.SupportsInt) -> None: ...
1771
+ def __eq__(self, other: object) -> bool: ...
1772
+ def __hash__(self) -> int: ...
1773
+ def __index__(self) -> int: ...
1774
+ def __int__(self) -> int: ...
1775
+ def __ne__(self, other: object) -> bool: ...
1776
+ @property
1777
+ def name(self) -> str: ...
1778
+ @property
1779
+ def value(self) -> int: ...
1780
+ address: int
1781
+ direction: SPIMessage.Direction
1782
+ mms: int
1783
+ payload: list[int]
1784
+ stats: int
1785
+ def __init__(self) -> None: ...
1786
+
1444
1787
  class ScriptStatusMessage(Message):
1445
1788
  def __init__(self, *args, **kwargs) -> None: ...
1446
1789
  @property
@@ -1483,7 +1826,7 @@ class Settings:
1483
1826
  Master: ClassVar[Settings.EthernetLinkMode] = ...
1484
1827
  Slave: ClassVar[Settings.EthernetLinkMode] = ...
1485
1828
  __entries: ClassVar[dict] = ...
1486
- def __init__(self, value: int) -> None: ...
1829
+ def __init__(self, value: typing.SupportsInt) -> None: ...
1487
1830
  def __eq__(self, other: object) -> bool: ...
1488
1831
  def __hash__(self) -> int: ...
1489
1832
  def __index__(self) -> int: ...
@@ -1503,7 +1846,25 @@ class Settings:
1503
1846
  Speed2_5G: ClassVar[Settings.EthernetLinkSpeed] = ...
1504
1847
  Speed5G: ClassVar[Settings.EthernetLinkSpeed] = ...
1505
1848
  __entries: ClassVar[dict] = ...
1506
- def __init__(self, value: int) -> None: ...
1849
+ def __init__(self, value: typing.SupportsInt) -> None: ...
1850
+ def __eq__(self, other: object) -> bool: ...
1851
+ def __hash__(self) -> int: ...
1852
+ def __index__(self) -> int: ...
1853
+ def __int__(self) -> int: ...
1854
+ def __ne__(self, other: object) -> bool: ...
1855
+ @property
1856
+ def name(self) -> str: ...
1857
+ @property
1858
+ def value(self) -> int: ...
1859
+
1860
+ class LINMode:
1861
+ __members__: ClassVar[dict] = ... # read-only
1862
+ Fast: ClassVar[Settings.LINMode] = ...
1863
+ Normal: ClassVar[Settings.LINMode] = ...
1864
+ Sleep: ClassVar[Settings.LINMode] = ...
1865
+ Slow: ClassVar[Settings.LINMode] = ...
1866
+ __entries: ClassVar[dict] = ...
1867
+ def __init__(self, value: typing.SupportsInt) -> None: ...
1507
1868
  def __eq__(self, other: object) -> bool: ...
1508
1869
  def __hash__(self) -> int: ...
1509
1870
  def __index__(self) -> int: ...
@@ -1522,7 +1883,7 @@ class TC10SleepStatus:
1522
1883
  SleepFailed: ClassVar[TC10SleepStatus] = ...
1523
1884
  SleepReceived: ClassVar[TC10SleepStatus] = ...
1524
1885
  __entries: ClassVar[dict] = ...
1525
- def __init__(self, value: int) -> None: ...
1886
+ def __init__(self, value: typing.SupportsInt) -> None: ...
1526
1887
  def __eq__(self, other: object) -> bool: ...
1527
1888
  def __hash__(self) -> int: ...
1528
1889
  def __index__(self) -> int: ...
@@ -1545,7 +1906,7 @@ class TC10WakeStatus:
1545
1906
  NoWakeReceived: ClassVar[TC10WakeStatus] = ...
1546
1907
  WakeReceived: ClassVar[TC10WakeStatus] = ...
1547
1908
  __entries: ClassVar[dict] = ...
1548
- def __init__(self, value: int) -> None: ...
1909
+ def __init__(self, value: typing.SupportsInt) -> None: ...
1549
1910
  def __eq__(self, other: object) -> bool: ...
1550
1911
  def __hash__(self) -> int: ...
1551
1912
  def __index__(self) -> int: ...
@@ -1556,7 +1917,25 @@ class TC10WakeStatus:
1556
1917
  @property
1557
1918
  def value(self) -> int: ...
1558
1919
 
1920
+ class VersionReport:
1921
+ def __init__(self, *args, **kwargs) -> None: ...
1922
+ @property
1923
+ def build(self) -> int: ...
1924
+ @property
1925
+ def id(self) -> ChipID: ...
1926
+ @property
1927
+ def maintenance(self) -> int: ...
1928
+ @property
1929
+ def major(self) -> int: ...
1930
+ @property
1931
+ def minor(self) -> int: ...
1932
+ @property
1933
+ def name(self) -> str: ...
1934
+
1559
1935
  def find_all_devices() -> list[Device]: ...
1560
1936
  def get_last_error() -> APIEvent: ...
1937
+ def get_new_handle() -> int: ...
1561
1938
  def get_supported_devices() -> list[DeviceType]: ...
1562
1939
  def get_version() -> NeoVersion: ...
1940
+ def livedata_double_to_value(d: typing.SupportsFloat) -> LiveDataValue | None: ...
1941
+ def livedata_value_to_double(val: LiveDataValue) -> float: ...