Tsctl TCP API

From embeddedTS Manuals
Revision as of 21:59, 13 February 2013 by Mark (talk | contribs)

Overview

The tsctl server serves up a TCP api on port 5001. This includes all of the functionality available using the standard Tsctl API Reference.

Functions

ClassCount

See ClassCount API Reference.

TCP Request Packet TCP Reply Packet
Offset Bytes Field Value Offset Bytes Field Value
0 2 Class 0x0000 0 2 class 0x0000
2 1 Instance Instance 2 1 Command 0x00
3 1 Command 0x00 3 1 Tag 0x13
4 4 ClassCount ClassCount
8 1 tag 0x80

InstanceCount

See InstanceCount API Reference.

TCP Request Packet TCP Reply Packet
Offset Bytes Field Value Offset Bytes Field Value
0 2 class 0x0000 0 2 class 0x0000
2 1 instance instance 2 1 command 0x01
3 1 command 0x01 3 1 tag 0x13
4 4 ClassNumber ClassNumber 4 4 InstanceCount InstanceCount
8 1 tag 0x80

APICount

See APICount API Reference.

TCP Request Packet TCP Reply Packet
Offset Bytes Field Value Offset Bytes Field Value
0 2 class 0x0000 0 2 class 0x0000
2 1 instance instance 2 1 command 0x02
3 1 command 0x2 3 1 tag 0x13
4 4 ClassNumber ClassNumber 4 4 APICount APICount
8 1 tag 0x80