as I started to program a little bit on INDI, I wonder if it is possible to increase the repeat rate of subscribed messages like 'CCD_EXPOSURE', 'CCD_EXPOSURE_VALUE' to get it more often. Actually I see the message come in over IP at every 1-3 second. I would like to show the Exposure timer count down to know how long the exposure will take.
Second question: Is there any chance to get the status of the camera (IDLE, EXPOSING, DOWNLOADING etc.) like it is possible with most ASCOM drivers ?
CCD_EXPOSURE value frequency depends primarily on the driver and to a second degree to network speed and congestion, so you cannot change that from the client side.
Regarding the 2nd question, not directly, but you can infer it from CCD_EXPOSURE state:
IPS_IDLE: Idle
IPS_OK: Download completed successfully and camera is now idle.
IPS_BUSY: If CCD_EXPOSURE value = 0, then it is DOWNLOADING, otherwise, it is exposing.
IPS_ALERT: Exposure failed.
still have some troubles I only see CCD_EXPOSURE in the received XML, no IPS_IDLE or the other states. Is this related to the CCD Simulator only. Where should I look for this states. Sorry I might be a little bit stupid.
But in any case: Even if it's a setup for the driver, it's really hard not to get the states of a device as a must.