started event reading
This commit is contained in:
@ -65,6 +65,7 @@ from pus_tm.factory_hook import ccsds_tm_handler
|
||||
|
||||
|
||||
def main():
|
||||
from pus_tm.event_handler import handle_event_packet
|
||||
hook_obj = EiveHookObject()
|
||||
print(f"-- eive tmtc version {__version__} --")
|
||||
print(f"-- spacepackets version {spacepackets.__version__} --")
|
||||
@ -74,6 +75,7 @@ def main():
|
||||
ccsds_handler.add_tm_handler(
|
||||
apid=PUS_APID, pus_tm_handler=ccsds_tm_handler, max_queue_len=50
|
||||
)
|
||||
handle_event_packet(object_id=bytes([0x00, 0x00, 0x00, 0x00]), event_id=0, param_1=0, param_2=0)
|
||||
add_ccsds_handler(ccsds_handler)
|
||||
run_tmtc_commander(False)
|
||||
|
||||
|
Reference in New Issue
Block a user