User's Manual

Elatec GmbH
Page 34 of 44
7.2.5.2 Functions for Host Communication
void HostSendVersion()
Send version information of the firmware to the host. This information is sent without a carriage return.
Therefore, it is possible to append some more information, i.e. the version of the script, which is
currently executed.
Parameter: None
Return: None.
Example:
HostSendVersion(); // Send the firmware version
HostSendChar(‘.’); // Send another separator
HostSendChar(‘0’); // Send version of this small example
HostSendChar(‘2’);
HostSendChar(‘\r’);
This will send following string to the host. The string may vary with the actual firmware of the
transponder reader.
ELA GM4.01.02
void HostSendChar(byte Char)
Send a single character to the host.
Parameter:
byte Char Char represents the ASCII value of the character to be sent to the host.
Return: None.