Currently. md replies don't contain a sourceURI. According to the standard it should be set through a parameter of the service primitive call MD.reply. Simply using the destinationURI of the request may lead to a wrong URI being sent back.
To be able to pass a conformance test, a compile-time switch CONFORMANCE_API will be introduced in 2.0.3. If CONFORMANCE_API is set, tlm_Reply and tlm_ReplyQuery will accept an additional parameter 'const TRDP_URI_USER_T srcURI' to satisfy the standard's requirement. In version 2.1, this flag will be removed, i.e. the API change will become permanent. This way we stay compatible with 2.0.x but allow full conformance testing.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
To be able to pass a conformance test, a compile-time switch CONFORMANCE_API will be introduced in 2.0.3. If CONFORMANCE_API is set, tlm_Reply and tlm_ReplyQuery will accept an additional parameter 'const TRDP_URI_USER_T srcURI' to satisfy the standard's requirement. In version 2.1, this flag will be removed, i.e. the API change will become permanent. This way we stay compatible with 2.0.x but allow full conformance testing.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
API change needed, see pg. 150. Refer to Ticket # 261, as well, for parameter change.
API change needed, see pg. 150. Refer to Ticket # 261, as well, for parameter change.
API change needed, see pg. 150. Refer to Ticket # 261, as well, for parameter change.
Update: Changed MS to 2.1 because of API change.
To be able to pass a conformance test, a compile-time switch CONFORMANCE_API will be introduced in 2.0.3. If CONFORMANCE_API is set, tlm_Reply and tlm_ReplyQuery will accept an additional parameter 'const TRDP_URI_USER_T srcURI' to satisfy the standard's requirement. In version 2.1, this flag will be removed, i.e. the API change will become permanent. This way we stay compatible with 2.0.x but allow full conformance testing.
To be able to pass a conformance test, a compile-time switch CONFORMANCE_API will be introduced in 2.0.3. If CONFORMANCE_API is set, tlm_Reply and tlm_ReplyQuery will accept an additional parameter 'const TRDP_URI_USER_T srcURI' to satisfy the standard's requirement. In version 2.1, this flag will be removed, i.e. the API change will become permanent. This way we stay compatible with 2.0.x but allow full conformance testing.