![background image](http://html.mh-extra.com/html/irtrans/wifi/wifi_manual_2092034013.webp)
IRTrans Manual Hardware/Setup WiFi Version 1.01
13
3. Now the learned remote controls can be selected and transferred to the WiFi device.
This is also done using the IRTrans GUI Client.
Now all IRTrans clients can connect directly to the IRTrans WiFi module using the
hostname or IP address of the WiFi module. When starting the IRTrans GUI client
(irremote.exe) the IP address can be used as a parameter (e.g. “irremote 192.168.0.32“).
Up to 4 clients can connect to a single IRTrans module. In addition multiple servers can use
a single IRTrans WiFi module.
Please consider that these functions are only available on WiFi modules with
integrated IR database !
Using the WiFi module through different applications
Different APIs are available for clients:
1.
IRTrans TCP/IP Interface.
The TCP/IP Interface uses TCP Port 21000 for
communication. This TCP/IP interface is the standard interface that is also used by all
IRTrans clients. This includes the GUI Client, the ASCII Client, Girder and all plugins
for own applications (Active-X, DLL, .NET).
This same interface is also integrated in the IRTrans server (irserver).
2.
IRTrans UDP Interface.
The UDP Interface uses ASCII strings to communicate.
These strings are exchanged via UDP port 21000. This interface is also supported by
the IRTrans server.
This is the syntax of the UDP commands:
snd <remote>,<command>,[l<led>],[p<port>]
sndr <remote>,<command>,[l<led>],[p<port>]
<remote> and <command> are the names of the remote control and command.
sndccf <ccf hexstring>,[l<led>],[p<port>]
sndccrf <ccf hexstring>,[l<led>],[p<port>]
<ccf hexstring> CCF Hexstring in form of an ASCII String
<led> allows to select the internal (i), external (e) or both (b) IR LEDs.
1 or 2 select a specific IR output (only devices with optional 2
nd
output)
<port> UDP port used to send an ACK („OK“ or „ERR“) to. Default is 21000.
The r-versions (sndr, sndccfr) send the repeat codes (if available).