×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Driver mark connection as disconnected

  • Posts: 10
  • Thank you received: 0
Hi all

I'm working on a driver for my own auxiliary device. It is connected via I2C. Sometimes there are connection issues and I would like to disconnect after detection. The connection button of the aux device in the INDI Client should switch to disconnect and I would like to set IPS_ALERT. I couldn't find any examples. Is there a method I can use for this? Since ConnectionS in the DefaultDevice is a private member I can't manipulate it in my extended driver class.

Thank you!
3 years 10 months ago #54389

Please Log in or Create an account to join the conversation.

Time to create page: 0.341 seconds