Purpose of remote device cache
-
Hi again,
What is the remote device cache designed for? If I want to store a local representation of the state of a remote BACnet device that is on the network, is the remote device cache the built-in way to go about this?
Basically I'm thinking when I read from or write to the remote device, I would update the cache with the result, keeping a near up-to-date representation of the remote device on the local device. Is this the intended purpose of the cache?
Thanks,
Joshua -
Hi Joshua,
It should mostly be managed for you, but you'll probably not get a definite answer to this open-ended question, as the original author of BACnet4J hasn't posted on the forum in quite a while.
I know a significant part of its use it to ensure a device configured expecting to be able to find a remote device doesn't flood the network trying to discover it over and over again (assuming the remote device isn't responding).
But, you'd have to see how it's used to see the purpose of its design. I wouldn't expect a complete set of declarative sentences to avail itself.