Serial Port Level Slink-e Communications

These documents are not for the faint-at-heart. The contain detailed information about how to communicate with the Slink-e at the binary level. Most users will talk to the Slink-e using the SlinkX ActiveX control or Win32 high level C++ classes which don't require them to know any actual Slink-e commands. For those who want low level control or to use the Slink-e on a different OS, the following describes how to talk to the Slink-e. It is still recommended that user examine the C++ code to see a proper implementation of Slink-e communications. Slink-e communications can be broken down into two basic parts: commands sent from the host to the Slink-e and responses sent from the Slink-e to the host. Commands either modify Slink-e settings or send data to Slink-e ports. Responses report Slink-e settings, data received on Slink-e ports, or error messages.

Commands

Port Send
Port Send End
Port Send Message

All Ports

Disable port
Enable port

S-Link Ports

Send S-Link bit mode

IR Ports

Set IR sampling period
Get IR sampling period
Set IR carrier period
Get IR carrier period
Set IR timeout period
Get IR timeout period
Set IR minimum message length
Get IR minimum message length
Set IR transmit ports
Get IR transmit ports
Set IR receive ports
Get IR receive ports
Set IR receive port polarities
Get IR receive port polarities
Set IR routing table
Get IR routing table

Parallel Port

Set Handshaking Mode
Get Handshaking Mode
Set Direction Configuration
Get Direction Configuration
Sample Port

Serial Port

Set Baud Rate
Get Baud Rate

System

Get Version
Save defaults
Load Defaults
Get Serial Number
Resume
Reset.

Responses

Port Receive
Port Receive End
Port Receive Message

All Ports

Port disabled
Port enabled
Transmission timeout
Illegal command

S-Link Ports

Receive error

IR Ports

Sampling period equals
Carrier period equals
Timeout period equals.
Minimum message length equals
Transmit ports equals
Receive ports equals
Last receive port equals
Receive port polarities equal
Routing table equals
Invalid sample period

Parallel Port

Handshaking mode equals
Direction configuration equals

Serial Port

Baud Rate Equals
Serial Port Receive Buffer Overflow
Serial Port Receive Buffer Overrun
Serial Port Receive Framing error
Baud Rate Illegal

System

Version Equals
Defaults Loaded
Defaults Saved
Serial Number Equals
SEEPROM Write Error