TPI question
Posted: Wed May 02, 2012 12:06 am
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
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