I just started to send and receive messages, I have some more questions about the server response, not sure if this is the right place or not.
I ask for all devices properties sending a <getProperties version=1.9 /> to the server and I poll my socket to see if there is any data, I read the data and I get back some XML that looks like this gist.github.com/MattBlack85/d44f658a933cce4e15461b3b9f689ed9
Since I am polling the socket I get often a bunch of messages together and that's the reason why i see a lot of deleteProperty ? every time the server fetches new properties froma device it sends back a deleteProperty of the given device plus the properties fetched until that moment?
I don't understand well why (what I think) is the final response with all the properties contains duplicate properties like