Menu

#379 tau_tti: tau_getOwnIds return TRDP_NO_ERR even if not found in cst info

3.0.0.0
closed
2311 (3)
2024-02-05
2021-10-06
No

If the own IP isn't defined in the train cst info (NNE config) the tau_getOwnIds function will anyway not return any error.

There is no error message if there is no match with any index i this loop
/ we traverse the consist info's functions /
for (index = 0; index < appHandle->pTTDB->cstInfo[0]->fctCnt; index++)

Is that correct?

Discussion

  • Armin-Hagen Weiss

    • status: open --> accepted
    • assigned_to: Armin-Hagen Weiss
    • Milestone: 2.1.0.0 --> 2.2.0.0
     
  • Armin-Hagen Weiss

    • labels: --> 2311
    • status: accepted --> pending
    • assigned_to: Armin-Hagen Weiss --> Anders Öberg
     
  • Armin-Hagen Weiss

    Now devId, vehId and cstId have to be retrieved (ptr !=NULL) and TRDP_NO_ERR is returned only if IDs found. To be tested.

     
  • Armin-Hagen Weiss

    • summary: tau_getOwnIds return TRDP_NO_ERR even if not found in cst info --> tau_tti: tau_getOwnIds return TRDP_NO_ERR even if not found in cst info
     
  • Anders Öberg

    Anders Öberg - 2021-10-11
     
  • Anders Öberg

    Anders Öberg - 2021-10-11

    Tested OK

     
  • Armin-Hagen Weiss

    • status: pending --> closed
     
  • Armin-Hagen Weiss

    • Milestone: 3.0.0.0 --> 2.0.3.0
     
  • Armin-Hagen Weiss

    • Milestone: 2.0.3.0 --> 3.0.0.0
     

Log in to post a comment.

MongoDB Logo MongoDB