EasyManua.ls Logo

Gideon ULTIMATE - 64 elite - Page 32

Default Icon
35 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
32
Examples:
Destination string
Meaning
192.168.0.119:11000
unicast address on the local network, port number 11000
myserver.com
unicast address, using DNS and default port number
myserver.com:4567
unicast address, using DNS and specific port number
239.0.1.64
multicast address, using default port number
239.0.2.77:64738
multicast address with port number specified
Using the TCP command interface
Using the TCP socket ‘64’, the following commands have been added to start and stop streams.
Enable output stream: FF2n
Disable output stream: FF3n
whereby ‘n’ is the stream number (see below)
The generic command structure is:
<command word, little endian>
<command parameter length, little endian>
<command parameters>.
The Disable command does not take any parameters. The enable command can have two
parameters; neither of them are required.
Parameter 1: Duration of the stream enable (0 = forever)
Parameter 2: Destination (string).
The duration is given in system ticks, which come at an interval of 5 ms.
So to elaborate on the commands:
To enable stream 0 for one second (200 ticks), to the pre-configured destination address, the bytes
sent over the TCP control port are:
20 FF 02 00 00 C8
To enable stream 0 indefinitely to ‘192.168.0.119’, you’d send:
20 FF 0F 00 00 00 192.168.0.119 (the latter part being ASCII)
-> Command length = string length + 2 bytes.
To disable stream 0, you send:
30 FF 00 00 (length of parameters is 0)

Related product manuals