Skip to content

Commit

Permalink
[nos3#202] Add additional prints for scid and vcid on error;
Browse files Browse the repository at this point in the history
  • Loading branch information
jlucas9 committed Apr 2, 2024
1 parent 92cf7e1 commit f9c841b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fsw/src/services/tm_sdlp.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ int32 TM_SDLP_InitChannel(TM_SDLP_FrameInfo_t *pFrameInfo,

if (iStatus != CRYPTO_LIB_SUCCESS)
{
printf(KRED "Error retrieving operational SA. Error code %d\n" RESET, iStatus);
printf(KRED "Error retrieving operational SA. Error code %d. scId = %d, vcId = %d \n" RESET, iStatus, pGlobalConfig->scId, pChannelConfig->vcId);
goto end_of_function;
}
}
Expand Down Expand Up @@ -205,7 +205,7 @@ int32 TM_SDLP_InitChannel(TM_SDLP_FrameInfo_t *pFrameInfo,
printf("\t Data field offset: \t%d\n", dataFieldOffset);
printf("\t Data field length: \t%d\n", dataFieldLength);
printf("\t Security trailer length: \t%d\n", sdlsSecurityTrailerLength);
printf("\t OCF Length: \t%d HARCODED - to be changed\n", TMTF_OCF_LENGTH); // Todo, currently hardcoded
printf("\t OCF Length: \t%d HARDCODED - to be changed\n", TMTF_OCF_LENGTH); // Todo, currently hardcoded
printf("\t FECF length: \t%d HARDCODED - to be changed\n", TMTF_ERR_CTRL_FIELD_LENGTH); //Todo, currently hardcoded
#endif

Expand Down

0 comments on commit f9c841b

Please sign in to comment.