beautypg.com

Direct tcp/telnet control – Dataprobe iBoot-Hub Operation Manual User Manual

Page 14

background image

140926E

iBoot-HUB

Page 14

8.5.

Direct TCP/Telnet Control

For application developers, iBoot also supports control via direct TCP communications. To control iBoot in this
manner requires opening a socket to iBoot and sending specific commands. Dataprobe can provide Perl scripts
and other programmer resources to assist in integration of iBoot into any system.

The iBoot uses the TCP (Transport Communication Protocol) to communicate with the client system. To
communicate with iBoot, establish a TCP connection using the Port as assigned in iBoot Setup. Once connected
use the Send() function to send the commands to the iBoot and the Recv() function to receive the response. After
sending a response iBoot will close the connection. The following outlines the commands and their responses.
Command Format
All of iBoot's commands follow the following format:

ASCII Escape character. 1b hex or 27 decimal

The 1 to 10 character Power Control (not Setup)
Password.

The following actions are valid for iBoot. These
actions are case sensitive:

n

Turn Power ON

f

Turn Power OFF

c

Cycle Power. Cycle time is determined by Setup

q

Query.

ASCII Carriage Return character. 0d hex or 13
decimal ( /r )


Response Format
iBoot will return the following command with one of the following

ON

Power is ON

OFF

Power is OFF

CYCLE

Cycle Command Received

BUSY

iBoot is being controlled by another device

This manual is related to the following products: