Hi,
I didn't find any rust-API for indi. I need functionality to control the camera (cooling and shooting) and I'm looking for advice on using indi from Rust. I have several ways to do this.
First, I can connect to indi via tcp and send XMLs. Second, I can write wrappers to c API. What way is easier?
I haven't used Rust, but I wrote some libraries in Go to interface with indi. I haven't updated them in a while, but they should still be good. Might be a good way to at least see it implemented in another language other than C++.
Thanks for source code examples! I will try to write pure-rust API. Is it possible to see real XML data sent between EKos and Indi? I think examples of XML will make it easier to understand how Indi works
Run "indiserver -v indi_simulator_ccd indi_simulator_telescope" set new profile in ekos with remote address 127.0.0.5 and then run wireshark on localhost to snoop any messages.
Don't leave localhost in as address because then it seems use socket pipe and wireshark doesn't capture it.
I've been working on a rust api for indi, and just published the first version of it. Feel free to check it out, and I'd be happy to help if you run into any troubles or simply get confused. Feedback would be great too; I'm new to rust, and now's the time to get the rust api settled.
The crate is called indi (NOT indi_client), and you can see it on cargo here: crates.io/crates/indi.
The following user(s) said Thank You: Jasem Mutlaq