nasa / bplib

Apache License 2.0
27 stars 13 forks source link

Bundle acknowledgement doesn't check CID #24

Closed jpswinski closed 4 years ago

jpswinski commented 4 years ago

The code that acknowledges the bundles currently only checks if the SID is populated in the active table. It needs to expand that check to include whether or not the CID matches the stored bundle.

jpswinski commented 4 years ago

Implemented fix in 9333a44acd81972c832fdf6f7a7992563000cbe1

Intermittent failure of ut_high_loss.lua


Running Test Script: ut_high_loss.lua

FILE/ut_high_loss.lua: Test 1 - higher input rate 2019:273:19:11:19:CommandProcessor.cpp:491:INFO: Received command: WAIT 2 @lua_cmd_status 2019:273:19:11:21:CommandProcessor.cpp:570:CRITICAL: command WAIT 2 successfully executed. 2019:273:19:11:21:CommandProcessor.cpp:491:INFO: Received command: WAIT 2 @lua_cmd_status 2019:273:19:11:23:CommandProcessor.cpp:570:CRITICAL: command WAIT 2 successfully executed. 2019:273:19:11:23:CommandProcessor.cpp:491:INFO: Received command: WAIT 2 @lua_cmd_status 2019:273:19:11:25:CommandProcessor.cpp:570:CRITICAL: command WAIT 2 successfully executed. 2019:273:19:11:26:CommandProcessor.cpp:491:INFO: Received command: WAIT 2 @lua_cmd_status 2019:273:19:11:28:CommandProcessor.cpp:570:CRITICAL: command WAIT 2 successfully executed. Loop 1: 16512.0/1 dacs.c:159:-9:Flags raised during processing of DACS (00000100) Loop 16385: 128.0/16385 Loop 16514: 0.0/16513 Error - bundles was 0, expecting 16384 Stored: 32896, Acknowledged: 16512.0

jpswinski commented 4 years ago

OBE