Menu

#101 Optional callback function on PD send

1.4.0.0
closed
None
2018-03-06
2015-10-19
Bernd Löhr
No

To optimize and ease the use of the TRDP stack on separate communication processors (usually via DPRAM), a callback to update send data just before the data is pushed is needed.
The tlp_publish function should take two additional parameters (function pointer and refCon), which would be stored in PD_ELE_T and would be called each time just before the PD is sent. PD_ELE_T does not need to be enlarged.
The callback could be used to get new data from a co-processor interface...

Discussion

  • Bernd Löhr

    Bernd Löhr - 2015-12-14
    • assigned_to: Holger Waldmann
     
  • Bernd Löhr

    Bernd Löhr - 2016-03-10
    • Milestone: 1.3.0.0 --> 1.4.0.0
     
  • Bernd Löhr

    Bernd Löhr - 2016-03-10

    Postponed for next major release.

     
  • Bernd Löhr

    Bernd Löhr - 2018-03-06
    • status: open --> accepted
     
  • Bernd Löhr

    Bernd Löhr - 2018-03-06

    Finally we came across some tool requirements which would need this feature, too!
    But: Usage of this pre-sending callback should not delay sending of the telegram, as this might increase latency and jitter!

     
  • Bernd Löhr

    Bernd Löhr - 2018-03-06
    • status: accepted --> pending
     
  • Bernd Löhr

    Bernd Löhr - 2018-03-06
    • status: pending --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB