TPI - Send keystrokes

Information and support for EnvisaLink modules.

Moderators: EyezOnRich, GrandWizard

Post Reply
cblackford
Posts: 12
Joined: Sat Jun 13, 2015 8:14 am

TPI - Send keystrokes

Post by cblackford »

Environment:
EvisaLink EVL3, TCP/IP connection with port 4025
Microsoft Visual Studio, C#
Vista 20P, single partition

I have been successful in getting a TCP/IP connection with a password <= 6 characters and have not had any problems with polling (command 00).

From the limited document, it would appear "%03,uuuu,1,#701" (u being the user access code)would enable relay #1 on the 4202. I have tried multiple iteration of sending each character individually (get a server closes the session) and full string. According to the documentation the format is "1,1". If I wish to send the command "%03,uuuu,1,#701", what is the correct sequence.

Thanks for any help.
K-Man
Posts: 145
Joined: Fri Jun 01, 2012 1:08 pm

Re: TPI - Send keystrokes

Post by K-Man »

Command 3 just sends a single keystroke to an arbitrary partition. The format being <partition>,<key>

If you wish to send a string of characters then use command #2 to change to that partition and then just send naked keystrokes. In your example, send..

uuuu1#701
cblackford
Posts: 12
Joined: Sat Jun 13, 2015 8:14 am

Re: TPI - Send keystrokes

Post by cblackford »

Thank you for your response. Based on your post "%02uuuu#701$'. Correct? No "," between segments?
cblackford
Posts: 12
Joined: Sat Jun 13, 2015 8:14 am

Re: TPI - Send keystrokes

Post by cblackford »

Sorry forget 1 for the partition.
%021uuuu#701$"
K-Man
Posts: 145
Joined: Fri Jun 01, 2012 1:08 pm

Re: TPI - Send keystrokes

Post by K-Man »

No, and sorry, it is command 1 to change partition

So to change to partition 1 you send

^01,1$

and after that you can just send naked keystrokes

uuuu#701
cblackford
Posts: 12
Joined: Sat Jun 13, 2015 8:14 am

Re: TPI - Send keystrokes

Post by cblackford »

To understand properly.
If partition 1 is the default partition, no need to change it?
Send:
"%uuuu#701$" (no hex command?)
According to the documentation, sentinels are required.
I apologize for the clarifying questions but the document isn't really detailed.
Thank you in advance.
K-Man
Posts: 145
Joined: Fri Jun 01, 2012 1:08 pm

Re: TPI - Send keystrokes

Post by K-Man »

Yes, you can ignore the partition change command if you only use partition 1.

From the manual....
When a character is transmitted outside of the ^$ sentinels, it will be interpreted as a keystroke if it is within the set
<0..9,#,*> and ignored otherwise.
Plus, the % sentinal indicates an Envisalink originate command, whereas ^ is used to send a command to the Envisalink.
cblackford
Posts: 12
Joined: Sat Jun 13, 2015 8:14 am

Re: TPI - Send keystrokes

Post by cblackford »

Thank you very much for clearing up some of the confusion and provide me with the information I need.
Regards,
Post Reply