TSMasterAPI 2024.8.22.1171__tar.gz → 2025.5.28.1450__tar.gz

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.
Files changed (21) hide show
  1. {TSMasterAPI-2024.8.22.1171 → TSMasterAPI-2025.5.28.1450}/PKG-INFO +1 -4
  2. {TSMasterAPI-2024.8.22.1171 → TSMasterAPI-2025.5.28.1450}/TSMasterAPI/TSAPI.py +575 -13
  3. {TSMasterAPI-2024.8.22.1171 → TSMasterAPI-2025.5.28.1450}/TSMasterAPI/TSCallback.py +26 -4
  4. {TSMasterAPI-2024.8.22.1171 → TSMasterAPI-2025.5.28.1450}/TSMasterAPI/TSEnum.py +59 -1
  5. {TSMasterAPI-2024.8.22.1171 → TSMasterAPI-2025.5.28.1450}/TSMasterAPI/TSStruct.py +33 -1
  6. TSMasterAPI-2025.5.28.1450/TSMasterAPI/__init__.py +2 -0
  7. {TSMasterAPI-2024.8.22.1171/TSMasterAPI/windows/bin64 → TSMasterAPI-2025.5.28.1450/TSMasterAPI/windows/bin}/TSMaster.dll +0 -0
  8. TSMasterAPI-2025.5.28.1450/TSMasterAPI/windows/bin64/TSMaster.dll +0 -0
  9. {TSMasterAPI-2024.8.22.1171 → TSMasterAPI-2025.5.28.1450}/TSMasterAPI.egg-info/PKG-INFO +1 -4
  10. {TSMasterAPI-2024.8.22.1171 → TSMasterAPI-2025.5.28.1450}/setup.py +4 -4
  11. TSMasterAPI-2024.8.22.1171/TSMasterAPI/__init__.py +0 -2
  12. TSMasterAPI-2024.8.22.1171/TSMasterAPI/windows/bin/TSMaster.dll +0 -0
  13. {TSMasterAPI-2024.8.22.1171 → TSMasterAPI-2025.5.28.1450}/README.rst +0 -0
  14. {TSMasterAPI-2024.8.22.1171 → TSMasterAPI-2025.5.28.1450}/TSMasterAPI/TSDirver.py +0 -0
  15. {TSMasterAPI-2024.8.22.1171 → TSMasterAPI-2025.5.28.1450}/TSMasterAPI/TSFibex_parse.py +0 -0
  16. {TSMasterAPI-2024.8.22.1171 → TSMasterAPI-2025.5.28.1450}/TSMasterAPI/TSMasterAPI.py +0 -0
  17. {TSMasterAPI-2024.8.22.1171 → TSMasterAPI-2025.5.28.1450}/TSMasterAPI.egg-info/SOURCES.txt +0 -0
  18. {TSMasterAPI-2024.8.22.1171 → TSMasterAPI-2025.5.28.1450}/TSMasterAPI.egg-info/dependency_links.txt +0 -0
  19. {TSMasterAPI-2024.8.22.1171 → TSMasterAPI-2025.5.28.1450}/TSMasterAPI.egg-info/top_level.txt +0 -0
  20. {TSMasterAPI-2024.8.22.1171 → TSMasterAPI-2025.5.28.1450}/license.txt +0 -0
  21. {TSMasterAPI-2024.8.22.1171 → TSMasterAPI-2025.5.28.1450}/setup.cfg +0 -0
@@ -1,8 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: TSMasterAPI
3
- Version: 2024.8.22.1171
3
+ Version: 2025.5.28.1450
4
4
  Summary: Use TSMaster hardware
5
- Home-page: UNKNOWN
6
5
  Author: seven
7
6
  Author-email: 865762826@qq.com
8
7
  License: Apache License
@@ -30,5 +29,3 @@ Can only be used by WIN32 Python
30
29
  [联系作者](865762826@qq.com)
31
30
 
32
31
  to write your content.
33
-
34
-
@@ -388,6 +388,11 @@ tsapp_transmit_lin_gotosleep_async = dll.tsapp_transmit_lin_gotosleep_async
388
388
  tsapp_transmit_lin_gotosleep_async.restype = s32
389
389
  tsapp_transmit_lin_gotosleep_async.argtypes = [s32]
390
390
 
391
+ #arg[0] AFlexRay
392
+ tsapp_transmit_flexray_async = dll.tsapp_transmit_flexray_async
393
+ tsapp_transmit_flexray_async.restype = s32
394
+ tsapp_transmit_flexray_async.argtypes = [PLIBFlexRay]
395
+
391
396
  #arg[0] ACAN
392
397
  #arg[1] ATimeoutMS
393
398
  tsapp_transmit_can_sync = dll.tsapp_transmit_can_sync
@@ -1536,6 +1541,21 @@ tslog_set_online_replay_config = dll.tslog_set_online_replay_config
1536
1541
  tslog_set_online_replay_config.restype = s32
1537
1542
  tslog_set_online_replay_config.argtypes = [s32,pchar,pchar,cbool,cbool,TLIBOnlineReplayTimingMode,s32,cbool,cbool,pchar]
1538
1543
 
1544
+ #arg[0] AIndex
1545
+ #arg[1] AName
1546
+ #arg[2] AFileName
1547
+ #arg[3] AAutoStart
1548
+ #arg[4] AIsRepetitiveMode
1549
+ #arg[5] AStartTimingMode
1550
+ #arg[6] AStartDelayTimeMs
1551
+ #arg[7] ASendTx
1552
+ #arg[8] ASendRx
1553
+ #arg[9] AMappings
1554
+ #arg[10] AForceReplay
1555
+ tslog_set_online_replay_config_verbose = dll.tslog_set_online_replay_config_verbose
1556
+ tslog_set_online_replay_config_verbose.restype = s32
1557
+ tslog_set_online_replay_config_verbose.argtypes = [s32,pchar,pchar,cbool,cbool,TLIBOnlineReplayTimingMode,s32,cbool,cbool,pchar,cbool]
1558
+
1539
1559
  #arg[0] ACount
1540
1560
  tslog_get_online_replay_count = dll.tslog_get_online_replay_count
1541
1561
  tslog_get_online_replay_count.restype = s32
@@ -1555,6 +1575,21 @@ tslog_get_online_replay_config = dll.tslog_get_online_replay_config
1555
1575
  tslog_get_online_replay_config.restype = s32
1556
1576
  tslog_get_online_replay_config.argtypes = [s32,ppchar,ppchar,POINTER(cbool),POINTER(cbool),POINTER(TLIBOnlineReplayTimingMode),POINTER(s32),POINTER(cbool),POINTER(cbool),ppchar]
1557
1577
 
1578
+ #arg[0] AIndex
1579
+ #arg[1] AName
1580
+ #arg[2] AFileName
1581
+ #arg[3] AAutoStart
1582
+ #arg[4] AIsRepetitiveMode
1583
+ #arg[5] AStartTimingMode
1584
+ #arg[6] AStartDelayTimeMs
1585
+ #arg[7] ASendTx
1586
+ #arg[8] ASendRx
1587
+ #arg[9] AMappings
1588
+ #arg[10] AForceReplay
1589
+ tslog_get_online_replay_config_verbose = dll.tslog_get_online_replay_config_verbose
1590
+ tslog_get_online_replay_config_verbose.restype = s32
1591
+ tslog_get_online_replay_config_verbose.argtypes = [s32,ppchar,ppchar,POINTER(cbool),POINTER(cbool),POINTER(TLIBOnlineReplayTimingMode),POINTER(s32),POINTER(cbool),POINTER(cbool),ppchar,POINTER(cbool)]
1592
+
1558
1593
  #arg[0] AIndex
1559
1594
  tslog_del_online_replay_config = dll.tslog_del_online_replay_config
1560
1595
  tslog_del_online_replay_config.restype = s32
@@ -2388,6 +2423,57 @@ tsdiag_can_delete = dll.tsdiag_can_delete
2388
2423
  tsdiag_can_delete.restype = s32
2389
2424
  tsdiag_can_delete.argtypes = [s32]
2390
2425
 
2426
+ #arg[0] pDiagModuleIndex
2427
+ #arg[1] AToolType
2428
+ #arg[2] AChnIndex
2429
+ #arg[3] ATesterIP
2430
+ #arg[4] ATesterPort
2431
+ #arg[5] ADUTIP
2432
+ #arg[6] ADUTPort
2433
+ #arg[7] ARequestID
2434
+ #arg[8] AResponseID
2435
+ #arg[9] AFunctionID
2436
+ tsdiag_doip_create = dll.tsdiag_doip_create
2437
+ tsdiag_doip_create.restype = s32
2438
+ tsdiag_doip_create.argtypes = [ps32,s32,u32,pchar,u16,pchar,u16,u32,u32,u32]
2439
+
2440
+ #arg[0] ADiagModuleIndex
2441
+ tsdiag_doip_connect = dll.tsdiag_doip_connect
2442
+ tsdiag_doip_connect.restype = s32
2443
+ tsdiag_doip_connect.argtypes = [s32]
2444
+
2445
+ #arg[0] ADiagModuleIndex
2446
+ #arg[1] AActivateType
2447
+ #arg[2] ASendOEMSpecificData
2448
+ #arg[3] AOEMSpecificData
2449
+ tsdiag_doip_routing_activation = dll.tsdiag_doip_routing_activation
2450
+ tsdiag_doip_routing_activation.restype = s32
2451
+ tsdiag_doip_routing_activation.argtypes = [s32,u8,cbool,u32]
2452
+
2453
+ #arg[0] ADiagModuleIndex
2454
+ tsdiag_doip_disconnect = dll.tsdiag_doip_disconnect
2455
+ tsdiag_doip_disconnect.restype = s32
2456
+ tsdiag_doip_disconnect.argtypes = [s32]
2457
+
2458
+ #arg[0] pDiagModuleIndex
2459
+ #arg[1] AChnIndex
2460
+ #arg[2] ANad
2461
+ tsdiag_lin_create = dll.tsdiag_lin_create
2462
+ tsdiag_lin_create.restype = s32
2463
+ tsdiag_lin_create.argtypes = [ps32,u32,u8]
2464
+
2465
+ #arg[0] ADiagModuleIndex
2466
+ #arg[1] ADiagRunWithNormalScheduleTable
2467
+ tstp_lin_set_run_with_normal_schedule_table = dll.tstp_lin_set_run_with_normal_schedule_table
2468
+ tstp_lin_set_run_with_normal_schedule_table.restype = s32
2469
+ tstp_lin_set_run_with_normal_schedule_table.argtypes = [s32,cbool]
2470
+
2471
+ #arg[0] ADiagModuleIndex
2472
+ #arg[1] ANAD
2473
+ tsdiag_lin_set_nad = dll.tsdiag_lin_set_nad
2474
+ tsdiag_lin_set_nad.restype = s32
2475
+ tsdiag_lin_set_nad.argtypes = [s32,u8]
2476
+
2391
2477
  #arg[0] ADiagModuleIndex
2392
2478
  #arg[1] AChnIndex
2393
2479
  tsdiag_set_channel = dll.tsdiag_set_channel
@@ -2429,6 +2515,13 @@ tsdiag_set_stmin = dll.tsdiag_set_stmin
2429
2515
  tsdiag_set_stmin.restype = s32
2430
2516
  tsdiag_set_stmin.argtypes = [s32,s32]
2431
2517
 
2518
+ #arg[0] ADiagModuleIndex
2519
+ #arg[1] ATxSTMinUserDefined
2520
+ #arg[2] ATxSTMin
2521
+ tsdiag_set_tx_stmin = dll.tsdiag_set_tx_stmin
2522
+ tsdiag_set_tx_stmin.restype = s32
2523
+ tsdiag_set_tx_stmin.argtypes = [s32,cbool,s32]
2524
+
2432
2525
  #arg[0] ADiagModuleIndex
2433
2526
  #arg[1] ABlockSize
2434
2527
  tsdiag_set_blocksize = dll.tsdiag_set_blocksize
@@ -2441,6 +2534,25 @@ tsdiag_set_maxlength = dll.tsdiag_set_maxlength
2441
2534
  tsdiag_set_maxlength.restype = s32
2442
2535
  tsdiag_set_maxlength.argtypes = [s32,s32]
2443
2536
 
2537
+ #arg[0] ADiagModuleIndex
2538
+ #arg[1] AValue
2539
+ tsdiag_set_n_wft_max = dll.tsdiag_set_n_wft_max
2540
+ tsdiag_set_n_wft_max.restype = s32
2541
+ tsdiag_set_n_wft_max.argtypes = [s32,u8]
2542
+
2543
+ #arg[0] ADiagModuleIndex
2544
+ #arg[1] ATxSTMinUserDefined
2545
+ #arg[2] ATxSTMin
2546
+ tsdiag_set_fcdelay_verbose = dll.tsdiag_set_fcdelay_verbose
2547
+ tsdiag_set_fcdelay_verbose.restype = s32
2548
+ tsdiag_set_fcdelay_verbose.argtypes = [s32,cbool,single]
2549
+
2550
+ #arg[0] ADiagModuleIndex
2551
+ #arg[1] AIs8Bytes
2552
+ tsdiag_set_at_least_8bytes = dll.tsdiag_set_at_least_8bytes
2553
+ tsdiag_set_at_least_8bytes.restype = s32
2554
+ tsdiag_set_at_least_8bytes.argtypes = [s32,s32]
2555
+
2444
2556
  #arg[0] ADiagModuleIndex
2445
2557
  #arg[1] AFCDelay
2446
2558
  tsdiag_set_fcdelay = dll.tsdiag_set_fcdelay
@@ -2477,6 +2589,141 @@ tsdiag_set_s3_clienttime = dll.tsdiag_set_s3_clienttime
2477
2589
  tsdiag_set_s3_clienttime.restype = s32
2478
2590
  tsdiag_set_s3_clienttime.argtypes = [s32,s32]
2479
2591
 
2592
+ #arg[0] ADiagModuleIndex
2593
+ tsdiag_testerpresent_start = dll.tsdiag_testerpresent_start
2594
+ tsdiag_testerpresent_start.restype = s32
2595
+ tsdiag_testerpresent_start.argtypes = [s32]
2596
+
2597
+ #arg[0] ADiagModuleIndex
2598
+ tsdiag_testerpresent_stop = dll.tsdiag_testerpresent_stop
2599
+ tsdiag_testerpresent_stop.restype = s32
2600
+ tsdiag_testerpresent_stop.argtypes = [s32]
2601
+
2602
+ #arg[0] ADiagModuleIndex
2603
+ #arg[1] AStartState
2604
+ tsdiag_testerpreset_checkState = dll.tsdiag_testerpreset_checkState
2605
+ tsdiag_testerpreset_checkState.restype = s32
2606
+ tsdiag_testerpreset_checkState.argtypes = [s32,pbool]
2607
+
2608
+ #arg[0] ADiagModuleIndex
2609
+ #arg[1] AIsFunctional
2610
+ #arg[2] AReqData
2611
+ #arg[3] AReqDataSize
2612
+ #arg[4] AIntervalTimeMs
2613
+ tsdiag_testerpresent_update_para = dll.tsdiag_testerpresent_update_para
2614
+ tsdiag_testerpresent_update_para.restype = s32
2615
+ tsdiag_testerpresent_update_para.argtypes = [s32,s32,pu8,s32,s32]
2616
+
2617
+ #arg[0] ADiagModuleIndex
2618
+ #arg[1] AReqDataArray
2619
+ #arg[2] AReqDataSize
2620
+ tstp_send_functional = dll.tstp_send_functional
2621
+ tstp_send_functional.restype = s32
2622
+ tstp_send_functional.argtypes = [s32,pu8,s32]
2623
+
2624
+ #arg[0] ADiagModuleIndex
2625
+ #arg[1] AReqDataArray
2626
+ #arg[2] AReqDataSize
2627
+ tstp_send_request = dll.tstp_send_request
2628
+ tstp_send_request.restype = s32
2629
+ tstp_send_request.argtypes = [s32,pu8,s32]
2630
+
2631
+ #arg[0] ADiagModuleIndex
2632
+ #arg[1] AReqDataArray
2633
+ #arg[2] AReqDataSize
2634
+ #arg[3] AResponseDataArray
2635
+ #arg[4] AResponseDataSize
2636
+ tstp_request_and_get_response = dll.tstp_request_and_get_response
2637
+ tstp_request_and_get_response.restype = s32
2638
+ tstp_request_and_get_response.argtypes = [s32,pu8,s32,pu8,ps32]
2639
+
2640
+ #arg[0] ADiagModuleIndex
2641
+ #arg[1] AReqDataArray
2642
+ #arg[2] AReqDataSize
2643
+ #arg[3] AResponseDataArray
2644
+ #arg[4] AResponseDataSize
2645
+ tstp_request_and_get_response_functional = dll.tstp_request_and_get_response_functional
2646
+ tstp_request_and_get_response_functional.restype = s32
2647
+ tstp_request_and_get_response_functional.argtypes = [s32,pu8,s32,pu8,ps32]
2648
+
2649
+ #arg[0] ADiagModuleIndex
2650
+ #arg[1] ASubSession
2651
+ tsdiag_session_control = dll.tsdiag_session_control
2652
+ tsdiag_session_control.restype = s32
2653
+ tsdiag_session_control.argtypes = [s32,u8]
2654
+
2655
+ #arg[0] ADiagModuleIndex
2656
+ #arg[1] ARoutineControlType
2657
+ #arg[2] ARoutintID
2658
+ tsdiag_routine_control = dll.tsdiag_routine_control
2659
+ tsdiag_routine_control.restype = s32
2660
+ tsdiag_routine_control.argtypes = [s32,u8,u16]
2661
+
2662
+ #arg[0] ADiagModuleIndex
2663
+ #arg[1] AControlType
2664
+ tsdiag_communication_control = dll.tsdiag_communication_control
2665
+ tsdiag_communication_control.restype = s32
2666
+ tsdiag_communication_control.argtypes = [s32,u8]
2667
+
2668
+ #arg[0] ADiagModuleIndex
2669
+ #arg[1] ALevel
2670
+ #arg[2] ARecSeed
2671
+ #arg[3] ARecSeedSize
2672
+ tsdiag_security_access_request_seed = dll.tsdiag_security_access_request_seed
2673
+ tsdiag_security_access_request_seed.restype = s32
2674
+ tsdiag_security_access_request_seed.argtypes = [s32,s32,pu8,ps32]
2675
+
2676
+ #arg[0] ADiagModuleIndex
2677
+ #arg[1] ALevel
2678
+ #arg[2] AKeyValue
2679
+ #arg[3] AKeySize
2680
+ tsdiag_security_access_send_key = dll.tsdiag_security_access_send_key
2681
+ tsdiag_security_access_send_key.restype = s32
2682
+ tsdiag_security_access_send_key.argtypes = [s32,s32,pu8,s32]
2683
+
2684
+ #arg[0] ADiagModuleIndex
2685
+ #arg[1] AMemAddr
2686
+ #arg[2] AMemSize
2687
+ tsdiag_request_download = dll.tsdiag_request_download
2688
+ tsdiag_request_download.restype = s32
2689
+ tsdiag_request_download.argtypes = [s32,u32,u32]
2690
+
2691
+ #arg[0] ADiagModuleIndex
2692
+ #arg[1] AMemAddr
2693
+ #arg[2] AMemSize
2694
+ tsdiag_request_upload = dll.tsdiag_request_upload
2695
+ tsdiag_request_upload.restype = s32
2696
+ tsdiag_request_upload.argtypes = [s32,u32,u32]
2697
+
2698
+ #arg[0] ADiagModuleIndex
2699
+ #arg[1] ASourceDatas
2700
+ #arg[2] ADataSize
2701
+ #arg[3] AReqCase
2702
+ tsdiag_transfer_data = dll.tsdiag_transfer_data
2703
+ tsdiag_transfer_data.restype = s32
2704
+ tsdiag_transfer_data.argtypes = [s32,pu8,s32,s32]
2705
+
2706
+ #arg[0] ADiagModuleIndex
2707
+ tsdiag_request_transfer_exit = dll.tsdiag_request_transfer_exit
2708
+ tsdiag_request_transfer_exit.restype = s32
2709
+ tsdiag_request_transfer_exit.argtypes = [s32]
2710
+
2711
+ #arg[0] ADiagModuleIndex
2712
+ #arg[1] ADataIdentifier
2713
+ #arg[2] AWriteData
2714
+ #arg[3] AWriteDataSize
2715
+ tsdiag_write_data_by_identifier = dll.tsdiag_write_data_by_identifier
2716
+ tsdiag_write_data_by_identifier.restype = s32
2717
+ tsdiag_write_data_by_identifier.argtypes = [s32,u16,pu8,s32]
2718
+
2719
+ #arg[0] ADiagModuleIndex
2720
+ #arg[1] ADataIdentifier
2721
+ #arg[2] AReturnArray
2722
+ #arg[3] AReturnArraySize
2723
+ tsdiag_read_data_by_identifier = dll.tsdiag_read_data_by_identifier
2724
+ tsdiag_read_data_by_identifier.restype = s32
2725
+ tsdiag_read_data_by_identifier.argtypes = [s32,u16,pu8,ps32]
2726
+
2480
2727
  #arg[0] ADiagModuleIndex
2481
2728
  #arg[1] AReqDataArray
2482
2729
  #arg[2] AReqDataSize
@@ -2521,18 +2768,6 @@ tstp_can_register_rx_completed_recall = dll.tstp_can_register_rx_completed_recal
2521
2768
  tstp_can_register_rx_completed_recall.restype = s32
2522
2769
  tstp_can_register_rx_completed_recall.argtypes = [s32,N_USData_TranslateCompleted_Recall]
2523
2770
 
2524
- #arg[0] ADiagModuleIndex
2525
- #arg[1] ATxcompleted
2526
- tstp_can_register_tx_completed_recall_internal = dll.tstp_can_register_tx_completed_recall_internal
2527
- tstp_can_register_tx_completed_recall_internal.restype = s32
2528
- tstp_can_register_tx_completed_recall_internal.argtypes = [s32,N_USData_TranslateCompleted_Recall_Obj]
2529
-
2530
- #arg[0] ADiagModuleIndex
2531
- #arg[1] ARxcompleted
2532
- tstp_can_register_rx_completed_recall_internal = dll.tstp_can_register_rx_completed_recall_internal
2533
- tstp_can_register_rx_completed_recall_internal.restype = s32
2534
- tstp_can_register_rx_completed_recall_internal.argtypes = [s32,N_USData_TranslateCompleted_Recall_Obj]
2535
-
2536
2771
  #arg[0] ADiagModuleIndex
2537
2772
  #arg[1] ASubSession
2538
2773
  tsdiag_can_session_control = dll.tsdiag_can_session_control
@@ -2611,6 +2846,18 @@ tsdiag_can_read_data_by_identifier = dll.tsdiag_can_read_data_by_identifier
2611
2846
  tsdiag_can_read_data_by_identifier.restype = s32
2612
2847
  tsdiag_can_read_data_by_identifier.argtypes = [s32,u16,pu8,ps32]
2613
2848
 
2849
+ #arg[0] ADiagModuleIndex
2850
+ #arg[1] ATxcompleted
2851
+ tstp_can_register_tx_completed_recall_internal = dll.tstp_can_register_tx_completed_recall_internal
2852
+ tstp_can_register_tx_completed_recall_internal.restype = s32
2853
+ tstp_can_register_tx_completed_recall_internal.argtypes = [s32,N_USData_TranslateCompleted_Recall_Obj]
2854
+
2855
+ #arg[0] ADiagModuleIndex
2856
+ #arg[1] ARxcompleted
2857
+ tstp_can_register_rx_completed_recall_internal = dll.tstp_can_register_rx_completed_recall_internal
2858
+ tstp_can_register_rx_completed_recall_internal.restype = s32
2859
+ tstp_can_register_rx_completed_recall_internal.argtypes = [s32,N_USData_TranslateCompleted_Recall_Obj]
2860
+
2614
2861
  #arg[0] AChnIdx
2615
2862
  #arg[1] AFileIndex
2616
2863
  #arg[2] ATimeoutMS
@@ -2748,9 +2995,10 @@ tssocket_initialize.argtypes = [s32]
2748
2995
 
2749
2996
  #arg[0] ANetworkIndex
2750
2997
  #arg[1] ALog
2998
+ #arg[2] AActiveDelayACK
2751
2999
  tssocket_initialize_verbose = dll.tssocket_initialize_verbose
2752
3000
  tssocket_initialize_verbose.restype = s32
2753
- tssocket_initialize_verbose.argtypes = [s32,TLogDebuggingInfo_t]
3001
+ tssocket_initialize_verbose.argtypes = [s32,TLogDebuggingInfo_t,cbool]
2754
3002
 
2755
3003
  #arg[0] ANetworkIndex
2756
3004
  tssocket_finalize = dll.tssocket_finalize
@@ -5106,3 +5354,317 @@ is_simulation_mode = dll.is_simulation_mode
5106
5354
  is_simulation_mode.restype = s32
5107
5355
  is_simulation_mode.argtypes = [pbool]
5108
5356
 
5357
+ #arg[0] AHandle
5358
+ #arg[1] AName
5359
+ #arg[2] ATimeUs
5360
+ #arg[3] AValue
5361
+ tslog_blf_write_sysvar_double = dll.tslog_blf_write_sysvar_double
5362
+ tslog_blf_write_sysvar_double.restype = s32
5363
+ tslog_blf_write_sysvar_double.argtypes = [size_t,pchar,s64,double]
5364
+
5365
+ #arg[0] AHandle
5366
+ #arg[1] AName
5367
+ #arg[2] ATimeUs
5368
+ #arg[3] AValue
5369
+ tslog_blf_write_sysvar_s32 = dll.tslog_blf_write_sysvar_s32
5370
+ tslog_blf_write_sysvar_s32.restype = s32
5371
+ tslog_blf_write_sysvar_s32.argtypes = [size_t,pchar,s64,s32]
5372
+
5373
+ #arg[0] AHandle
5374
+ #arg[1] AName
5375
+ #arg[2] ATimeUs
5376
+ #arg[3] AValue
5377
+ tslog_blf_write_sysvar_u32 = dll.tslog_blf_write_sysvar_u32
5378
+ tslog_blf_write_sysvar_u32.restype = s32
5379
+ tslog_blf_write_sysvar_u32.argtypes = [size_t,pchar,s64,u32]
5380
+
5381
+ #arg[0] AHandle
5382
+ #arg[1] AName
5383
+ #arg[2] ATimeUs
5384
+ #arg[3] AValue
5385
+ tslog_blf_write_sysvar_s64 = dll.tslog_blf_write_sysvar_s64
5386
+ tslog_blf_write_sysvar_s64.restype = s32
5387
+ tslog_blf_write_sysvar_s64.argtypes = [size_t,pchar,s64,s64]
5388
+
5389
+ #arg[0] AHandle
5390
+ #arg[1] AName
5391
+ #arg[2] ATimeUs
5392
+ #arg[3] AValue
5393
+ tslog_blf_write_sysvar_u64 = dll.tslog_blf_write_sysvar_u64
5394
+ tslog_blf_write_sysvar_u64.restype = s32
5395
+ tslog_blf_write_sysvar_u64.argtypes = [size_t,pchar,s64,u64]
5396
+
5397
+ #arg[0] AHandle
5398
+ #arg[1] AName
5399
+ #arg[2] ATimeUs
5400
+ #arg[3] AValue
5401
+ tslog_blf_write_sysvar_string = dll.tslog_blf_write_sysvar_string
5402
+ tslog_blf_write_sysvar_string.restype = s32
5403
+ tslog_blf_write_sysvar_string.argtypes = [size_t,pchar,s64,pchar]
5404
+
5405
+ #arg[0] AHandle
5406
+ #arg[1] AName
5407
+ #arg[2] ATimeUs
5408
+ #arg[3] AValue
5409
+ #arg[4] AValueCount
5410
+ tslog_blf_write_sysvar_double_array = dll.tslog_blf_write_sysvar_double_array
5411
+ tslog_blf_write_sysvar_double_array.restype = s32
5412
+ tslog_blf_write_sysvar_double_array.argtypes = [size_t,pchar,s64,pdouble,s32]
5413
+
5414
+ #arg[0] AHandle
5415
+ #arg[1] AName
5416
+ #arg[2] ATimeUs
5417
+ #arg[3] AValue
5418
+ #arg[4] AValueCount
5419
+ tslog_blf_write_sysvar_s32_array = dll.tslog_blf_write_sysvar_s32_array
5420
+ tslog_blf_write_sysvar_s32_array.restype = s32
5421
+ tslog_blf_write_sysvar_s32_array.argtypes = [size_t,pchar,s64,ps32,s32]
5422
+
5423
+ #arg[0] AHandle
5424
+ #arg[1] AName
5425
+ #arg[2] ATimeUs
5426
+ #arg[3] AValue
5427
+ #arg[4] AValueCount
5428
+ tslog_blf_write_sysvar_u8_array = dll.tslog_blf_write_sysvar_u8_array
5429
+ tslog_blf_write_sysvar_u8_array.restype = s32
5430
+ tslog_blf_write_sysvar_u8_array.argtypes = [size_t,pchar,s64,pu8,s32]
5431
+
5432
+ #arg[0] AHandle
5433
+ rpc_tsmaster_cmd_start_can_rbs = dll.rpc_tsmaster_cmd_start_can_rbs
5434
+ rpc_tsmaster_cmd_start_can_rbs.restype = s32
5435
+ rpc_tsmaster_cmd_start_can_rbs.argtypes = [size_t]
5436
+
5437
+ #arg[0] AHandle
5438
+ rpc_tsmaster_cmd_stop_can_rbs = dll.rpc_tsmaster_cmd_stop_can_rbs
5439
+ rpc_tsmaster_cmd_stop_can_rbs.restype = s32
5440
+ rpc_tsmaster_cmd_stop_can_rbs.argtypes = [size_t]
5441
+
5442
+ #arg[0] AHandle
5443
+ rpc_tsmaster_cmd_start_lin_rbs = dll.rpc_tsmaster_cmd_start_lin_rbs
5444
+ rpc_tsmaster_cmd_start_lin_rbs.restype = s32
5445
+ rpc_tsmaster_cmd_start_lin_rbs.argtypes = [size_t]
5446
+
5447
+ #arg[0] AHandle
5448
+ rpc_tsmaster_cmd_stop_lin_rbs = dll.rpc_tsmaster_cmd_stop_lin_rbs
5449
+ rpc_tsmaster_cmd_stop_lin_rbs.restype = s32
5450
+ rpc_tsmaster_cmd_stop_lin_rbs.argtypes = [size_t]
5451
+
5452
+ #arg[0] AHandle
5453
+ rpc_tsmaster_cmd_start_flexray_rbs = dll.rpc_tsmaster_cmd_start_flexray_rbs
5454
+ rpc_tsmaster_cmd_start_flexray_rbs.restype = s32
5455
+ rpc_tsmaster_cmd_start_flexray_rbs.argtypes = [size_t]
5456
+
5457
+ #arg[0] AHandle
5458
+ rpc_tsmaster_cmd_stop_flexray_rbs = dll.rpc_tsmaster_cmd_stop_flexray_rbs
5459
+ rpc_tsmaster_cmd_stop_flexray_rbs.restype = s32
5460
+ rpc_tsmaster_cmd_stop_flexray_rbs.argtypes = [size_t]
5461
+
5462
+ #arg[0] AHandle
5463
+ #arg[1] AIsRunning
5464
+ rpc_tsmaster_cmd_is_can_rbs_running = dll.rpc_tsmaster_cmd_is_can_rbs_running
5465
+ rpc_tsmaster_cmd_is_can_rbs_running.restype = s32
5466
+ rpc_tsmaster_cmd_is_can_rbs_running.argtypes = [size_t,pbool]
5467
+
5468
+ #arg[0] AHandle
5469
+ #arg[1] AIsRunning
5470
+ rpc_tsmaster_cmd_is_lin_rbs_running = dll.rpc_tsmaster_cmd_is_lin_rbs_running
5471
+ rpc_tsmaster_cmd_is_lin_rbs_running.restype = s32
5472
+ rpc_tsmaster_cmd_is_lin_rbs_running.argtypes = [size_t,pbool]
5473
+
5474
+ #arg[0] AHandle
5475
+ #arg[1] AIsRunning
5476
+ rpc_tsmaster_cmd_is_flexray_rbs_running = dll.rpc_tsmaster_cmd_is_flexray_rbs_running
5477
+ rpc_tsmaster_cmd_is_flexray_rbs_running.restype = s32
5478
+ rpc_tsmaster_cmd_is_flexray_rbs_running.argtypes = [size_t,pbool]
5479
+
5480
+ flexray_rbs_reset_update_bits = dll.flexray_rbs_reset_update_bits
5481
+ flexray_rbs_reset_update_bits.restype = s32
5482
+ flexray_rbs_reset_update_bits.argtypes = []
5483
+
5484
+ can_rbs_reset_update_bits = dll.can_rbs_reset_update_bits
5485
+ can_rbs_reset_update_bits.restype = s32
5486
+ can_rbs_reset_update_bits.argtypes = []
5487
+
5488
+ #arg[0] AEvent
5489
+ can_rbs_fault_inject_handle_on_autosar_crc_event = dll.can_rbs_fault_inject_handle_on_autosar_crc_event
5490
+ can_rbs_fault_inject_handle_on_autosar_crc_event.restype = s32
5491
+ can_rbs_fault_inject_handle_on_autosar_crc_event.argtypes = [TOnAutoSARE2ECanEvt]
5492
+
5493
+ #arg[0] AEvent
5494
+ can_rbs_fault_inject_handle_on_autosar_rc_event = dll.can_rbs_fault_inject_handle_on_autosar_rc_event
5495
+ can_rbs_fault_inject_handle_on_autosar_rc_event.restype = s32
5496
+ can_rbs_fault_inject_handle_on_autosar_rc_event.argtypes = [TOnAutoSARE2ECanEvt]
5497
+
5498
+ #arg[0] AEvent
5499
+ can_rbs_fault_inject_unhandle_on_autosar_rc_event = dll.can_rbs_fault_inject_unhandle_on_autosar_rc_event
5500
+ can_rbs_fault_inject_unhandle_on_autosar_rc_event.restype = s32
5501
+ can_rbs_fault_inject_unhandle_on_autosar_rc_event.argtypes = [TOnAutoSARE2ECanEvt]
5502
+
5503
+ #arg[0] AEvent
5504
+ can_rbs_fault_inject_unhandle_on_autosar_crc_event = dll.can_rbs_fault_inject_unhandle_on_autosar_crc_event
5505
+ can_rbs_fault_inject_unhandle_on_autosar_crc_event.restype = s32
5506
+ can_rbs_fault_inject_unhandle_on_autosar_crc_event.argtypes = [TOnAutoSARE2ECanEvt]
5507
+
5508
+ #arg[0] AEvent
5509
+ register_usb_insertion_event = dll.register_usb_insertion_event
5510
+ register_usb_insertion_event.restype = s32
5511
+ register_usb_insertion_event.argtypes = [TOnUSBPlugEvent]
5512
+
5513
+ #arg[0] AEvent
5514
+ unregister_usb_insertion_event = dll.unregister_usb_insertion_event
5515
+ unregister_usb_insertion_event.restype = s32
5516
+ unregister_usb_insertion_event.argtypes = [TOnUSBPlugEvent]
5517
+
5518
+ #arg[0] AEvent
5519
+ register_usb_removal_event = dll.register_usb_removal_event
5520
+ register_usb_removal_event.restype = s32
5521
+ register_usb_removal_event.argtypes = [TOnUSBPlugEvent]
5522
+
5523
+ #arg[0] AEvent
5524
+ unregister_usb_removal_event = dll.unregister_usb_removal_event
5525
+ unregister_usb_removal_event.restype = s32
5526
+ unregister_usb_removal_event.argtypes = [TOnUSBPlugEvent]
5527
+
5528
+ can_rbs_set_update_bits = dll.can_rbs_set_update_bits
5529
+ can_rbs_set_update_bits.restype = s32
5530
+ can_rbs_set_update_bits.argtypes = []
5531
+
5532
+ flexray_rbs_set_update_bits = dll.flexray_rbs_set_update_bits
5533
+ flexray_rbs_set_update_bits.restype = s32
5534
+ flexray_rbs_set_update_bits.argtypes = []
5535
+
5536
+ #arg[0] AGroupId
5537
+ rpc_ip_trigger_data_group = dll.rpc_ip_trigger_data_group
5538
+ rpc_ip_trigger_data_group.restype = s32
5539
+ rpc_ip_trigger_data_group.argtypes = [s32]
5540
+
5541
+ #arg[0] ASymbolAddress
5542
+ #arg[1] ARaw
5543
+ can_rbs_get_signal_raw_by_address = dll.can_rbs_get_signal_raw_by_address
5544
+ can_rbs_get_signal_raw_by_address.restype = s32
5545
+ can_rbs_get_signal_raw_by_address.argtypes = [pchar,pu64]
5546
+
5547
+ eth_rbs_start = dll.eth_rbs_start
5548
+ eth_rbs_start.restype = s32
5549
+ eth_rbs_start.argtypes = []
5550
+
5551
+ eth_rbs_stop = dll.eth_rbs_stop
5552
+ eth_rbs_stop.restype = s32
5553
+ eth_rbs_stop.argtypes = []
5554
+
5555
+ #arg[0] AIsRunning
5556
+ eth_rbs_is_running = dll.eth_rbs_is_running
5557
+ eth_rbs_is_running.restype = s32
5558
+ eth_rbs_is_running.argtypes = [pbool]
5559
+
5560
+ #arg[0] AAutoStart
5561
+ #arg[1] AAutoSendOnModification
5562
+ #arg[2] AActivateNodeSimulation
5563
+ #arg[3] AInitValueOptions
5564
+ eth_rbs_configure = dll.eth_rbs_configure
5565
+ eth_rbs_configure.restype = s32
5566
+ eth_rbs_configure.argtypes = [cbool,cbool,cbool,s32]
5567
+
5568
+ #arg[0] AEnable
5569
+ #arg[1] AIncludingChildren
5570
+ eth_rbs_activate_all_networks = dll.eth_rbs_activate_all_networks
5571
+ eth_rbs_activate_all_networks.restype = s32
5572
+ eth_rbs_activate_all_networks.argtypes = [cbool,cbool]
5573
+
5574
+ #arg[0] AIdxChn
5575
+ #arg[1] AEnable
5576
+ #arg[2] ANetworkName
5577
+ #arg[3] AIncludingChildren
5578
+ eth_rbs_activate_network_by_name = dll.eth_rbs_activate_network_by_name
5579
+ eth_rbs_activate_network_by_name.restype = s32
5580
+ eth_rbs_activate_network_by_name.argtypes = [s32,cbool,pchar,cbool]
5581
+
5582
+ #arg[0] AIdxChn
5583
+ #arg[1] AEnable
5584
+ #arg[2] ANetworkName
5585
+ #arg[3] ANodeName
5586
+ #arg[4] AIncludingChildren
5587
+ eth_rbs_activate_node_by_name = dll.eth_rbs_activate_node_by_name
5588
+ eth_rbs_activate_node_by_name.restype = s32
5589
+ eth_rbs_activate_node_by_name.argtypes = [s32,cbool,pchar,pchar,cbool]
5590
+
5591
+ #arg[0] AIdxChn
5592
+ #arg[1] AEnable
5593
+ #arg[2] ANetworkName
5594
+ #arg[3] ANodeName
5595
+ #arg[4] APDUName
5596
+ eth_rbs_activate_pdu_by_name = dll.eth_rbs_activate_pdu_by_name
5597
+ eth_rbs_activate_pdu_by_name.restype = s32
5598
+ eth_rbs_activate_pdu_by_name.argtypes = [s32,cbool,pchar,pchar,pchar]
5599
+
5600
+ #arg[0] AIdxChn
5601
+ #arg[1] APhaseMs
5602
+ #arg[2] ACycleMs
5603
+ #arg[3] ANetworkName
5604
+ #arg[4] ANodeName
5605
+ #arg[5] APDUName
5606
+ eth_rbs_set_pdu_phase_and_cycle_by_name = dll.eth_rbs_set_pdu_phase_and_cycle_by_name
5607
+ eth_rbs_set_pdu_phase_and_cycle_by_name.restype = s32
5608
+ eth_rbs_set_pdu_phase_and_cycle_by_name.argtypes = [s32,s32,s32,pchar,pchar,pchar]
5609
+
5610
+ #arg[0] AIdxChn
5611
+ #arg[1] ANetworkName
5612
+ #arg[2] ANodeName
5613
+ #arg[3] APDUName
5614
+ #arg[4] ASignalName
5615
+ #arg[5] AValue
5616
+ eth_rbs_get_signal_value_by_element = dll.eth_rbs_get_signal_value_by_element
5617
+ eth_rbs_get_signal_value_by_element.restype = s32
5618
+ eth_rbs_get_signal_value_by_element.argtypes = [s32,pchar,pchar,pchar,pchar,pdouble]
5619
+
5620
+ #arg[0] AIdxChn
5621
+ #arg[1] ANetworkName
5622
+ #arg[2] ANodeName
5623
+ #arg[3] APDUName
5624
+ #arg[4] ASignalName
5625
+ #arg[5] AValue
5626
+ eth_rbs_set_signal_value_by_element = dll.eth_rbs_set_signal_value_by_element
5627
+ eth_rbs_set_signal_value_by_element.restype = s32
5628
+ eth_rbs_set_signal_value_by_element.argtypes = [s32,pchar,pchar,pchar,pchar,double]
5629
+
5630
+ #arg[0] ASymbolAddress
5631
+ #arg[1] AValue
5632
+ eth_rbs_get_signal_value_by_address = dll.eth_rbs_get_signal_value_by_address
5633
+ eth_rbs_get_signal_value_by_address.restype = s32
5634
+ eth_rbs_get_signal_value_by_address.argtypes = [pchar,pdouble]
5635
+
5636
+ #arg[0] ASymbolAddress
5637
+ #arg[1] AValue
5638
+ eth_rbs_set_signal_value_by_address = dll.eth_rbs_set_signal_value_by_address
5639
+ eth_rbs_set_signal_value_by_address.restype = s32
5640
+ eth_rbs_set_signal_value_by_address.argtypes = [pchar,double]
5641
+
5642
+ #arg[0] ADiagramName
5643
+ #arg[1] AInCnt
5644
+ #arg[2] AOutCnt
5645
+ #arg[3] AInTypes
5646
+ #arg[4] AOutTypes
5647
+ #arg[5] AHandle
5648
+ call_model_initialization = dll.call_model_initialization
5649
+ call_model_initialization.restype = s32
5650
+ call_model_initialization.argtypes = [pchar,s32,s32,PLIBMBDDataType,PLIBMBDDataType,psize_t]
5651
+
5652
+ #arg[0] AHandle
5653
+ #arg[1] ATimeUs
5654
+ #arg[2] AInValues
5655
+ #arg[3] AOutValues
5656
+ call_model_step = dll.call_model_step
5657
+ call_model_step.restype = s32
5658
+ call_model_step.argtypes = [size_t,s64,ps32,ps32]
5659
+
5660
+ #arg[0] AHandle
5661
+ call_model_finalization = dll.call_model_finalization
5662
+ call_model_finalization.restype = s32
5663
+ call_model_finalization.argtypes = [size_t]
5664
+
5665
+ #arg[0] AChnIdx
5666
+ #arg[1] AId
5667
+ lin_rbs_update_frame_by_id = dll.lin_rbs_update_frame_by_id
5668
+ lin_rbs_update_frame_by_id.restype = s32
5669
+ lin_rbs_update_frame_by_id.argtypes = [s32,u8]
5670
+
@@ -23,16 +23,19 @@ TLINQueueEvent_Win32 = WINFUNCTYPE(None,ps32,PLIBLIN)
23
23
  # Arg[0] AStr
24
24
  # Arg[1] ALevel
25
25
  TLIBTSMasterLogger = WINFUNCTYPE(None,pchar,s32)
26
- # Arg[0] AOpaque
27
- # Arg[1] AStatus
28
- # Arg[2] APercentage100
29
- TFirmwareUpdateCallback = WINFUNCTYPE(None,pvoid,u32,single)
30
26
  # Arg[0] APointer
31
27
  # Arg[1] ASize
32
28
  TOnIoIPData = WINFUNCTYPE(None,ps32,s32)
33
29
  # Arg[0] APointer
34
30
  # Arg[1] ASize
35
31
  TOnRpcData = WINFUNCTYPE(None,ps32,size_t)
32
+ # Arg[0] ACAN
33
+ # Arg[1] ADataId
34
+ # Arg[2] AValue
35
+ TOnAutoSARE2ECanEvt = WINFUNCTYPE(None,PLIBCANFD,u32,pu64)
36
+ # Arg[0] AVidPid
37
+ # Arg[1] ASerial
38
+ TOnUSBPlugEvent = WINFUNCTYPE(None,pchar,pchar)
36
39
  # Arg[0] APointer
37
40
  # Arg[1] ASize
38
41
  TOnIoIPData_API = WINFUNCTYPE(None,ps32,s32)
@@ -140,10 +143,29 @@ TSSocketReceiveEventV3_Win32 = WINFUNCTYPE(None,ps32,s32,s32,pchar,pchar,pu8,s32
140
143
  # Arg[3] AData
141
144
  # Arg[4] ASize
142
145
  TSSocketTransmitEvent_Win32 = WINFUNCTYPE(None,ps32,s32,s32,pu8,s32)
146
+ # Arg[0] AIdxChn
147
+ # Arg[1] ATimestamp
148
+ # Arg[2] APackCmd
149
+ # Arg[3] AParameter
150
+ # Arg[4] AParameterLength
151
+ # Arg[5] AData
152
+ # Arg[6] ADataLength
153
+ TDatapackageProcessEvent = WINFUNCTYPE(None,u8,s64,u16,pu8,u16,pu8,s32)
154
+ # Arg[0] AIdxChn
155
+ # Arg[1] ATimestamp
156
+ # Arg[2] APackCmd
157
+ # Arg[3] AParameter
158
+ # Arg[4] AParameterLength
159
+ # Arg[5] AData
160
+ # Arg[6] ADataLength
161
+ TDatapackageProcessEvent_Win32 = WINFUNCTYPE(None,u8,s64,u16,pu8,u16,pu8,s32)
143
162
  # Arg[0] AObj
144
163
  # Arg[1] AProgress100
145
164
  TReadProgressCallback = WINFUNCTYPE(None,ps32,double)
146
165
  # Arg[0] AObj
166
+ # Arg[1] AProgress
167
+ TSeekTimeProgressCallback = CFUNCTYPE(s32,ps32,single)
168
+ # Arg[0] AObj
147
169
  # Arg[1] AComment
148
170
  # Arg[2] AToTerminate
149
171
  TReadBLFRealtimeCommentCallback = WINFUNCTYPE(None,ps32,Prealtime_comment_t,pbool)
@@ -11,6 +11,29 @@ class CEnum(IntEnum):
11
11
  if not isinstance(self, cls):
12
12
  raise TypeError
13
13
  return self
14
+ class _TLIBMBDDataType(CEnum):
15
+ dtInherit = 0
16
+ dtDouble = 1
17
+ dtSingle = 2
18
+ dtHalf = 3
19
+ dtInt8 = 4
20
+ dtUInt8 = 5
21
+ dtInt16 = 6
22
+ dtUInt16 = 7
23
+ dtInt32 = 8
24
+ dtUInt32 = 9
25
+ dtInt64 = 10
26
+ dtUInt64 = 11
27
+ dtBoolean = 12
28
+ dtString = 13
29
+ dtFixDt = 14
30
+ dtEnum = 15
31
+ dtBus = 16
32
+ dtValueType = 17
33
+ dtImage = 18
34
+ TLIBMBDDataType = c_int32
35
+ PLIBMBDDataType = ps32
36
+
14
37
  class _TLIBBusToolDeviceType(CEnum):
15
38
  BUS_UNKNOWN_TYPE = 0
16
39
  TS_TCP_DEVICE = 1
@@ -26,7 +49,8 @@ class _TLIBBusToolDeviceType(CEnum):
26
49
  TS_USB_DEVICE_EX = 11
27
50
  IXXAT_USB_DEVICE = 12
28
51
  TS_ETH_IF_DEVICE = 13
29
- BUS_DEV_TYPE_COUNT = 14
52
+ TS_USB_IF_DEVICE = 14
53
+ BUS_DEV_TYPE_COUNT = 15
30
54
  TLIBBusToolDeviceType = c_int32
31
55
  PLIBBusToolDeviceType = ps32
32
56
 
@@ -296,6 +320,7 @@ class _TLIBPanelControlType(CEnum):
296
320
  pctRelationChart = 21
297
321
  pctMemo = 22
298
322
  pctScrollBox = 23
323
+ pctFileSelector = 24
299
324
  TLIBPanelControlType = c_int32
300
325
  PLIBPanelControlType = ps32
301
326
 
@@ -351,6 +376,25 @@ class _TLIB_TS_Device_Sub_Type(CEnum):
351
376
  TTS1026 = 32
352
377
  TTS1034 = 33
353
378
  TTS1018 = 34
379
+ TL1011 = 35
380
+ TTS1015_LiAuto = 36
381
+ TTS1013_LiAuto = 37
382
+ TTS1016Pro = 38
383
+ TC1054Pro = 39
384
+ TC1054 = 40
385
+ TLog1038 = 41
386
+ TO1013 = 42
387
+ TC1034Pro = 43
388
+ TC1018Pro = 44
389
+ TC1038Pro = 45
390
+ TC1014Pro = 46
391
+ TC1034ProPlus = 47
392
+ TA1038 = 48
393
+ TC1055Pro = 49
394
+ TC1056Pro = 50
395
+ TC1057Pro = 51
396
+ TC4016 = 52
397
+ TS_DEV_END = 52
354
398
  TLIB_TS_Device_Sub_Type = c_int32
355
399
  PLIB_TS_Device_Sub_Type = ps32
356
400
 
@@ -470,6 +514,20 @@ class _ISO_TP_RESAULT(CEnum):
470
514
  ISO_TP_RESAULT = c_int32
471
515
  PSO_TP_RESAULT = ps32
472
516
 
517
+ class _TLinkedDataChnType(CEnum):
518
+ tldt_CAN = 0
519
+ tldt_LIN = 1
520
+ tldt_FR = 2
521
+ tldt_Eth = 3
522
+ tldt_AI = 4
523
+ tldt_AO = 5
524
+ tldt_DI = 6
525
+ tldt_DO = 7
526
+ tldt_GPS = 8
527
+ tldt_Undef = 9
528
+ TLinkedDataChnType = c_int32
529
+ PLinkedDataChnType = ps32
530
+
473
531
  class _lwip_ip_addr_type(CEnum):
474
532
  IPADDR_TYPE_V4 = 0
475
533
  IPADDR_TYPE_V6 = 6
@@ -494,6 +494,36 @@ class TLIBEthernetHeader(Structure):
494
494
  self.FEthernetDataAddr[i] = 0xFF
495
495
  PLIBEthernetHeader = POINTER(TLIBEthernetHeader)
496
496
 
497
+ class TLIBFlexrayFrameTrigger(Structure):
498
+ _pack_ = 1
499
+ _fields_ =[('slot_id',u16),
500
+ ('frame_idx',u8),
501
+ ('cycle_code',u8),
502
+ ('config_byte',u8),
503
+ ('rev',u8),
504
+ ]
505
+ PLIBFlexrayFrameTrigger = POINTER(TLIBFlexrayFrameTrigger)
506
+
507
+ class TLIBFlexrayConfigurationPara(Structure):
508
+ _pack_ = 1
509
+ _fields_ =[('NETWORK_MANAGEMENT_VECTOR_LENGTH',u8),
510
+ ('PAYLOAD_LENGTH_STATIC',u8),
511
+ ('Reserved',u16),
512
+ ('LATEST_TX',u16),
513
+ ('T_S_S_TRANSMITTER',u16),
514
+ ('CAS_RX_LOW_MAX',u8),
515
+ ('SPEED',u8),
516
+ ('WAKE_UP_SYMBOL_RX_WINDOW',u16),
517
+ ('WAKE_UP_PATTERN',u8),
518
+ ('WAKE_UP_SYMBOL_RX_IDLE',u8),
519
+ ('WAKE_UP_SYMBOL_RX_LOW',u8),
520
+ ('WAKE_UP_SYMBOL_TX_IDLE',u8),
521
+ ('WAKE_UP_SYMBOL_TX_LOW',u8),
522
+ ('channelAConnectedNode',u8),
523
+ ('channelBConnectedNode',u8),
524
+ ]
525
+ PLIBFlexrayConfigurationPara = POINTER(TLIBFlexrayConfigurationPara)
526
+
497
527
  class TLIBEthernetMAX(Structure):
498
528
  _pack_ = 1
499
529
  _fields_ =[('FHeader',TLIBEthernetHeader),
@@ -877,7 +907,7 @@ Pts_timeval = POINTER(Tts_timeval)
877
907
 
878
908
  class Tts_fd_set(Structure):
879
909
  _pack_ = 1
880
- _fields_ =[('fd_bits',u8*2),
910
+ _fields_ =[('fd_bits',u8*32),
881
911
  ]
882
912
  Pts_fd_set = POINTER(Tts_fd_set)
883
913
 
@@ -893,8 +923,10 @@ class Tts_msghdr(Structure):
893
923
  _pack_ = 1
894
924
  _fields_ =[('msg_name',ps32),
895
925
  ('msg_namelen',u32),
926
+ ('reserved0',u32),
896
927
  ('msg_iov',Pts_iovec),
897
928
  ('msg_iovlen',s32),
929
+ ('reserved1',u32),
898
930
  ('msg_control',ps32),
899
931
  ('msg_controllen',u32),
900
932
  ('msg_flags',s32),
@@ -0,0 +1,2 @@
1
+ from .TSAPI import *
2
+ __version__ = 'v2025.5.28.1450'
@@ -1,8 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: TSMasterAPI
3
- Version: 2024.8.22.1171
3
+ Version: 2025.5.28.1450
4
4
  Summary: Use TSMaster hardware
5
- Home-page: UNKNOWN
6
5
  Author: seven
7
6
  Author-email: 865762826@qq.com
8
7
  License: Apache License
@@ -30,5 +29,3 @@ Can only be used by WIN32 Python
30
29
  [联系作者](865762826@qq.com)
31
30
 
32
31
  to write your content.
33
-
34
-
@@ -30,10 +30,10 @@ setup(name='TSMasterAPI', # 包名
30
30
  license='Apache License',
31
31
  packages=find_packages(),
32
32
  include_package_data=True,
33
- # data_files=[
34
- # ('./TSMasterAPI/windows/bin', ['./TSMasterAPI/windows/bin/TSMaster.dll']),
35
- # ('./TSMasterAPI/windows/bin64', ['./TSMasterAPI/windows/bin64/TSMaster.dll'])
36
- # ],
33
+ data_files=[
34
+ ('./TSMasterAPI/windows/bin', ['./TSMasterAPI/windows/bin/TSMaster.dll']),
35
+ ('./TSMasterAPI/windows/bin64', ['./TSMasterAPI/windows/bin64/TSMaster.dll'])
36
+ ],
37
37
  platforms=["WINDOWS"],
38
38
  classifiers=[
39
39
  'Intended Audience :: Developers',
@@ -1,2 +0,0 @@
1
- from .TSAPI import *
2
- __version__ = 'v2024.8.22.1171'