Difference between revisions of "OpenIGTLink/ProtocolV2/Type/String"

From NAMIC Wiki
Jump to: navigation, search
Line 15: Line 15:
 
| align="left" | ENCODING
 
| align="left" | ENCODING
 
| align="left" | uint16
 
| align="left" | uint16
| align="left" | Encoding type (TBD)
+
| align="left" | Encoding type (Defined by IANA)
 
|-
 
|-
 
| align="left" | LENGTH
 
| align="left" | LENGTH
Line 27: Line 27:
 
|}
 
|}
  
 +
 +
For character encoding, please refer [http://www.iana.org/assignments/character-sets IANA Character Sets definition].
  
 
==GET_STRING==
 
==GET_STRING==

Revision as of 00:06, 30 November 2010

Home < OpenIGTLink < ProtocolV2 < Type < String

<< Version 2 Draft Page

Summary

STRING message type is used for transferring a character string. It supports character strings up to 65535 bytes.

Message Types

STRING

Data Type Description
ENCODING uint16 Encoding type (Defined by IANA)
LENGTH uint8 Length of string (bytes)
STRING uint8[LARRAY] Byte array of the string


For character encoding, please refer IANA Character Sets definition.

GET_STRING

Data Type Description


STT_STRING

N/A

STP_STRING

N/A


RTS_STRING

N/A

Implementations

The TDATA message type is implemented in the following source code.

Contributors

Junichi Tokuda

Comments