Adam,
I was under the impression the DNP3 Specification said the connection should be dropped on link status request timeout, but I can no longer find it (at least, not in the latest specification: it's in an earlier one, so maybe they dropped this requirement?)
Under what circumstances does OnStateChange(RESET) occur, as I've never seen it?
I've also been doing some testing with link status requests and
the timeout doesn't seem to always correspond to the frequency of
the requests - for example, with a 30s timeout, I'm seeing link
status requests every 60-90s. I've confirmed with tcpdump that
there's no other DNP3 traffic, so it's not that the timeout is
being reset by normal traffic (indeed, does opendnp3 do this
anyway?)
Nick
Nicholas
Lee
|
Embedded Software Engineer
Office
: +44
(0)8700 111992
Email/Lync
: nick...@nortechonline.co.uk
Nortech
Management Ltd
Unit 2, Deer Park Business Centre, Woollas Hill, Eckington,
Pershore, WR10 3DN, United Kingdom
Company
website: www.nortechonline.co.uk
Registered
in England no: 2777816 VAT No: GB606132871