Hi everyone, I am trying to learn a bit more about the indi protocol and trying to build my own client to let it talk to the indiserver so I can get a better grasp on how the entire communication works.
The only official protocol document I find is still for the version 1.7, is there any place where I can found an updated document of the protocol?
That is the last one released as far as the wire protocol is concerned. There is one minor adjustment that I don't believe made it to the protocol regarding IDSetBLOB having a len attribute.. that's pretty much it. Nothing changed since then.
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 from a 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