need to return something as well
This commit is contained in:
parent
5713bf0806
commit
25f8543a8d
@ -28,7 +28,7 @@ def handle_user_hk_packet(object_id: bytes, set_id: int, hk_data: bytearray,
|
|||||||
else:
|
else:
|
||||||
LOGGER.info("Serive 3 TM: Syrlinks handler reply with unknown set id")
|
LOGGER.info("Serive 3 TM: Syrlinks handler reply with unknown set id")
|
||||||
return [], [], bytearray(), 0
|
return [], [], bytearray(), 0
|
||||||
elif object_id == GPS_HANDLER_0_ID or object_id == GPS_HANDLER_1_ID
|
elif object_id == GPS_HANDLER_0_ID or object_id == GPS_HANDLER_1_ID:
|
||||||
return handle_gps_data(hk_data=hk_data)
|
return handle_gps_data(hk_data=hk_data)
|
||||||
else:
|
else:
|
||||||
LOGGER.info("Service 3 TM: Parsing for this SID has not been implemented.")
|
LOGGER.info("Service 3 TM: Parsing for this SID has not been implemented.")
|
||||||
@ -141,5 +141,6 @@ def handle_self_test_data(hk_data: bytearray) -> Tuple[list, list, bytearray, in
|
|||||||
return hk_header, hk_content, validity_buffer, len(hk_header)
|
return hk_header, hk_content, validity_buffer, len(hk_header)
|
||||||
|
|
||||||
|
|
||||||
def handle_gps_data(hk_data: bytearray):
|
def handle_gps_data(hk_data: bytearray) -> Tuple[list, list, bytearray, int]:
|
||||||
LOGGER.info('Received GPS data')
|
LOGGER.info('Received GPS data')
|
||||||
|
return [], [], bytearray(), 0
|
||||||
|
2
tmtccmd
2
tmtccmd
@ -1 +1 @@
|
|||||||
Subproject commit 51619f4724b443a1ce0b5949dd1c1eb9c9eaead0
|
Subproject commit 87af3df9fb9860bf12b70bf2eff503a468a893de
|
Loading…
Reference in New Issue
Block a user