Thanks! I have already written the rust INDI API and am making a program that uses it. This is not a separate crate, but a simple indi_api.rs module. I will look you code any way
Hm... Have no idea how to set gain for CCD properly.
For CCD simulator gain is stored in "CCD_GAIN / GAIN" property. For Toupcam camera there is no "CCD_GAIN / GAIN" property and gain is stored in "CCD_CONTROLS / Gain"
What is rule to find property where gain is stored?
> Thanks! I have already written the rust INDI API and am making a program that uses it. This is not a separate crate, but a simple indi_api.rs module. I will look you code any way
Cool, glad you've got something working. I'd be interested in seeing your implementation if you're comfortable showing it.
> What is rule to find property where gain is stored?
I have no idea. I haven't been able to find any documentation of what each class of device's (CCD, focuser, mount, etc)
properties mean or do. I hope there is some kind of standard, but I fear that each device implementation has s different set of properties.
I haven't published my sources on github yet because the program is not complete.This is simple application for live stacking for weak computers (like Raspberry Pi or Orange Pi). When I publish it I will write in this thread
I bad already written stuff for live stacking before I asked about rust API. That's why I'm making more progress.
Now I struggle with INDI server and GTK )) Possible I will publish my sources at end of month
What is a reliable way to determine that the driver has crashed? indi_toupcam_ccd for arm64 crashes randomly. I want to make recovery from ccd driver crash.
If the device was removed (via the xml protocol), and then added again, then it most likely crashed?
Btw `delProperty` command contains `message` attribute where INDI server may put information about device crashing