Page 1 of 1

Powermax log request hang

Posted: Sat May 09, 2015 11:25 am
by jonbanjo
This may turn out to be an error in my code or perhaps some peculiarity with my connection but having spent a day scratching my head, I thought I'd ask here in case there is a problem with the panel itself.

I have a Visonic PowerMax Complete with the RS232 interface fitted and I am playing with the protocol as described in another thread here. The interface is connected to a NetCom 413 serial ethernet device. I'm using the port as a TCP raw server and working using sockets in Java.

The Visonic commands I have so far are: "Start conversation", Arm/Disarm, Request Status and Request Log. Everything works fine until I request the log. I get all the rows of responses but I usually can't do anything after that. Sometimes it is OK after but say 9/10 times It sort of behaves as if I've missed to send an ack but attempting to send an additional ack or to restart the conversation does not work. The only resolution I've found is to reset the TCP connection in Java. As far as my program is concerned, the only difference between the status and log requests should be a different set of bytes sent.

So my question is: Does anyone know of this sort of issue with this panel/rs232 interface?

Re: Powermax log request hang

Posted: Wed May 20, 2015 6:13 am
by jonbanjo
I've only just got back to looking at this one. The hang seems to have happen if I send the wrong pin codes when starting a conversation. (0xAB 0x0A 0x00 0x00 <pin1> <pin2> 0x00 0x00 0x00 0x00 0x00 0x43).

It seems a bit bizarre to me that I can arm/disarm, etc. when starting with the wrong pin and only hit a problem after receiving the log but that seems to be how it works on my PowerMax Complete.