Update PLOC SUPV TMTC handling #107

Merged
muellerr merged 24 commits from mueller/update-ploc-supv-cmds into main 2022-08-24 16:44:58 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit b3f0c08bd7 - Show all commits

View File

@ -433,7 +433,7 @@ def pack_ploc_supv_commands(p: ServiceProviderParams):
custom_data = bytearray()
memory_id = int(input("Specify memory ID: "))
start_address = int(input("Specify start address: 0x"), 16)
check_size = int(input("Specify check size: 0x"))
check_size = int(input("Specify check size: "))
custom_data.extend(struct.pack("!B", memory_id))
custom_data.extend(struct.pack("!I", start_address))
custom_data.extend(struct.pack("!I", check_size))