Adds initial intermediate qt6 porting state

This commit is contained in:
torsten committed 2026-08-17 17:54:56 +02:00
1 parent 99136e9460
commit d176b5e0d7
11247 files changed
+1891537

No files matched your search

@@ -0,0 +1,39 @@
#!/usr/bin/python
import websocket
import json
import time
server_port = 33997
bsm_id = 11001
originator_id = 4711
tas_code = 1
number_of_flashes = 1
pause_flash = 1
ws = websocket.create_connection("ws://127.0.0.1:%s" % server_port)
ws.recv()
ws.recv()
tele = { 'type' : 'BsmTriggerFlashlight', 'data': {'sensorId': bsm_id, 'numberOfFlashes': number_of_flashes, 'pauseBetweenFlashesSec': pause_flash} }
ws.send(json.dumps(tele))
tele = { 'type' : 'GetBsmConfiguration', 'data': {'sensorId': bsm_id} }
ws.send(json.dumps(tele))
tele = { 'type' : 'GetBsmBitTimeout', 'data': {'sensorId': bsm_id} }
ws.send(json.dumps(tele))
tele = { 'type' : 'GetBsmTechnicalStatus', 'data': {'sensorId': bsm_id} }
ws.send(json.dumps(tele))
tele = { 'type' : 'DebugSimulateBSMHit', 'data': {'effectTime': 0, 'sensorId': bsm_id, 'originatorId': originator_id, 'tasCodeDirect': tas_code, 'deposition1': 0, 'deposition2': 0} }
ws.send(json.dumps(tele))
ws.close()