The user authorization at connection to Telnet looks as follows:
Connecting to 192.168.10.10 ...
Connected to 192.168.10.10
Welcome to TELNET.
In the dialog window for connection login and password are sent in the open format. The login should be sent after receiving the "Username:" string, the password – after receiving the "Password:" string.
To perform the Telnet authorization in iRidium you should use the AV & Custom Systems (TCP) driver for which we create the following script:
IR.AddListener(IR.EVENT_RECEIVE_TEXT, IR.GetDevice('AV_Driver'), function(text)
IR.Log("text = "+text);
if (text.indexOf('Username') != -1)
} else if (text.indexOf('Password') != -1)
- 'AV_Driver' – the name of the AV & Custom Systems (TCP) driver in the project device tree.
- Send(['Login',13,10]) - Login – the user name
- Send(['Password',13,10]) - Password – the password for the indicated user.
The script performs authorization after which (Welcome to TELNET.) you can send commands to equipment and receive feedback from it via Telnet.
PS: Your equipment might have a slightly different authorization dialog window. In this case modify the script so it could identify the strings after which you need to enter the login and password correctly. It will be enough for the correct work of the script.
Сервис поддержки клиентов работает на платформе UserEcho