Skip to content

Response to Query/GET if data is not available #255

@tpaetz

Description

@tpaetz

According to the documentation, the following behavior has to be used if data for a response to a GET message is not available:

"GET_" query message is used to request for a single message with type . The receiver of "GET_" message must return a message with type and the same name as the query message. A "GET_" message without device name requests any available data. If data is not available, a returned message must be null body (data size = 0). A format of "GET_" may be defined per data type, if necessary.

How to interpret this with OpenIGTLink_HEADER_VERSION == 2, i.e. with extended header and meta data? Should this be done via a message that may carry meta data and the extended header but with a content size == 0? Or should a fallback to protocol version 1 without meta data and extended header be used in such a case? Is OpenIGTLink prepared to process messages without content?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions