Menu

#53 Interface clean-up

1.2.0.0
closed
1291 (1)
2014-08-26
2014-07-24
No

Interfaces should be cleaned up like in 61375-2-3:

tlm_reply/tlm_replyQuery/tlm_replyErr:
• Remove etbTopoCnt, opTrnTopoCnt, DestinationURI, DestinationIpAddress, SourceIPAddress • All those parameters shall be supplied by the stack using data from the session.
• Topocounters – shall be constant for session duration, otherwise IP addresses may have changed.

tlm_confirm:
• Only SessionId, ReplyStatus shall be provided by the application
• All other parameters shall be supplied by the stack using data from the session.
• ComId – should be always set to 0 since there is no dataset.
• Topocounters – shall be constant for session duration, otherwise IP addresses may have changed.

Additionally to be discussed:

tlm_notify:
. userRef useful ?

tlm_reply/tlm_replyQuery:
. specific userRef not necessary, the one from md_addListener shall be used

tlm_confirm:
. specific userRef not necessary, the one from md_request shall be used

tlm_request:
. optional a specific call back function shall be given

tlm_addListener:
. optional a specific call back function shall be given

tlp_subscribe:
. optional a specific call back function shall be given

Discussion

  • Armin-Hagen Weiss

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,10 +1,33 @@
     Interfaces should be cleaned up like in 61375-2-3:
    
     tlm_reply/tlm_replyQuery/tlm_replyErr:
    -•  Remove etbTopoCnt, opTrnTopoCnt, DestinationURI, DestinationIpAddress, SourceIPAddress – should be supplied by the stack.
    +•  Remove etbTopoCnt, opTrnTopoCnt, DestinationURI, DestinationIpAddress, SourceIPAddress •    All those parameters shall be supplied by the stack using data from the session.
    +•  Topocounters – shall be constant for session duration, otherwise IP addresses may have changed.
    
    -tlm_mdConfirm:
    +tlm_confirm:
     •  Only SessionId, ReplyStatus shall be provided by the application
    -•  All remaining parameters shall be supplied by the stack using data from the session.
    -•  ComId – should be set to 0 since there is no dataset.
    -•  Topocounters – should be constant for session duration, otherwise IP addresses may have changed.
    +•  All other parameters shall be supplied by the stack using data from the session.
    +•  ComId – should be always set to 0 since there is no dataset.
    +•  Topocounters – shall be constant for session duration, otherwise IP addresses may have changed.
    +
    +Additionally to be discussed:
    +
    +tlm_notify:
    +. userRef useful ?
    +
    +tlm_reply/tlm_replyQuery:
    +. specific userRef not necessary, the one from md_addListener shall be used
    +
    +tlm_confirm:
    +. specific userRef not necessary, the one from md_request shall be used
    +
    +tlm_request:
    +. optional a specific call back function shall be given
    +
    +tlm_addListener:
    +. optional a specific call back function shall be given
    +
    +tlp_subscribe:
    +. optional a specific call back function shall be given
    +
    +
    
     
  • Armin-Hagen Weiss

    • status: open --> pending
    • assigned_to: Armin-Hagen Weiss
     
  • Armin-Hagen Weiss

    • labels: --> 1291
    • status: pending --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB