TPI question

Information and support for EnvisaLink modules.

Moderators: EyezOnRich, GrandWizard

Post Reply
danderson
Posts: 2
Joined: Tue May 01, 2012 11:59 pm

TPI question

Post by danderson »

I have written some code using the TPI guide and it is all working. I can login, arm, get status etc.

For arming I can get command 030 (arm) and 031 (arm stay) to work, but I cannot get 032 (arm with zero entry) to work. It replies with a 900 (enter code) and then I send 200 and my code (with checksum and CR LF) but it gives back a 501 (bad checksum) error, but my checksum is good !

Similarly for disarm (040) when I send 040 + partion + code + checksum + CR +LF, i get the 501 back checksum, when again my checksum is good.

Is there a different checksum algorithm for commands that include a code to be sent ?

Could you post an example of using a 032 and 040 command please.

Thanks

Dave
GrandWizard
Posts: 2355
Joined: Tue Nov 16, 2010 4:08 pm

Re: TPI question

Post by GrandWizard »

I asked the developer at Envisacor about this and he says no, it is the same checksum calculation for all commands. He sent the following output from his test application for zero-entry-delay arming.

0321C6
5000322A
90099
51080FE
8411CE
20012345C
50020027
danderson
Posts: 2
Joined: Tue May 01, 2012 11:59 pm

Re: TPI question

Post by danderson »

Thanks that helped ! My issue was caps. The Hex digits in the checksum needed to be in Caps, whereas I had them in lower case so the 2DS was rejecting the checksum.

A note in the TPI doc would be good to clarify.

Thanks

Dave
Post Reply