Skip to content

Data Types

Each RSCP data item carries a 1-byte type identifier that determines how the value field is interpreted.

Type Table

HexNameSize (bytes).NET TypeNotes
0x00None0Request tag, no value
0x01Bool1bool0 = false, non-zero = true
0x02Char81sbyteSigned 8-bit
0x03UChar81byteUnsigned 8-bit
0x04Int162shortLittle-endian
0x05UInt162ushortLittle-endian
0x06Int324intLittle-endian
0x07UInt324uintLittle-endian
0x08Int648longLittle-endian
0x09UInt648ulongLittle-endian
0x0AFloat324floatIEEE 754
0x0BDouble648doubleIEEE 754
0x0CBitfield1byteBit flags
0x0DCStringVariablestringUTF-8 encoded
0x0EContainerVariableRscpDataItem[]Nested data items
0x0FTimestamp12DateTimeOffsetSee below
0x10ByteArrayVariablebyte[]Raw binary
0xFFErrorVariableError response

Special Types

Container (0x0E)

A container's value field holds one or more nested data items, each with their own Tag-Type-Length-Value header. Containers are used for grouping related tags (e.g., authentication request contains user + password).

Timestamp (0x0F)

12 bytes total:

  • Bytes 0-7: Unix seconds since epoch (int64 LE)
  • Bytes 8-11: Nanoseconds within the second (int32 LE)

Error (0xFF)

Returned when a tag request fails. Known error codes:

ValueMeaning
0x01NOT_HANDLED
0x02ACCESS_DENIED
0x03FORMAT
0x04AGAIN
0x05OUT_OF_BOUNDS
0x06NOT_AVAILABLE
0x07UNKNOWN_TAG
0x08ALREADY_IN_USE

E3DC S10 Pro RSCP Client Library