Menu

#347 Allow dynamic sized arrays for PD

2.1.0.0
closed
None
2021-08-11
2020-11-02
No

Allow dynamic sized arrays for PD like always possible for MD.

Discussion

  • Bernd Löhr

    Bernd Löhr - 2020-11-03
    • status: open --> accepted
     
  • Bernd Löhr

    Bernd Löhr - 2020-11-03
    • status: accepted --> pending
     
  • Bernd Löhr

    Bernd Löhr - 2020-11-03

    Ticket #207 undone; memory allocation, if data size increases

     
  • Iris Bosse

    Iris Bosse - 2021-05-21

    In ticket #207 dynamic sized arrays were removed, because they are not allowed according to the standard. Now, it was decided to allow them nevertheless because they are needed for the integration of TRDP into AUTOSAR/AP.

     
  • Anders Öberg

    Anders Öberg - 2021-05-21

    Here is some more background to the decision:
    The dynamic size arrays in PD are not introduced due to a need in AUTOSAR/AP. They are introduced to support the design of FOC (Function Open Coupling) interfaces. They are needed to save band with so not all consist has to send status telegrams with fixed size arrays of the works case size. For example a train can be 1 cst with 20 doors or 32 cst with 4 doors. With static arrays the worst case size 20 of the status array most always be used.

     
  • Stefan Bender

    Stefan Bender - 2021-08-11
    • status: pending --> closed
     
  • Stefan Bender

    Stefan Bender - 2021-08-11

    Tested in api_test_4.c test5

     

Log in to post a comment.

MongoDB Logo MongoDB