INDI Library v1.9.6 Released (21 May 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

INDI 1.9.1 getProperties hangs indefinitely on Ubuntu 20.04

  • Posts: 2
  • Thank you received: 0
Hi all,
I'm running INDI 1.9.1 on Ubuntu 20.04. I have not tested this on a different Ubuntu version.

I'm writing an indi driver in C and when running it with INDI 1.9.1 the <getProperties version='1.7'/> hangs indefinitely. The driver is not responding and the GUI interface does not populate. 

When I downgrade to INDI 1.8.2 and run my driver with indiserver, the driver responds. I am able to see the properties I have defined in the GUI interface. 

Has anything changed with the getProperties function? Below is an example of my ISGetProperties hook.

/* INDI hook: ISGetProperties() */
void ISGetProperties(const char *dev) {
  // Check device
  if (dev && strcmp(MYDEV, dev)) return;
  // Define widgets
  IDDefSwitch(&connectSP, NULL);
  IDDefSwitch(&actionsSP, NULL);
  IDDefLight(&stateLP, NULL);
  if (!initialized) {
    connectS[0].s = ISS_ON;
    connectS[1].s = ISS_OFF;
    IDSetSwitch(&connectSP, "Mirror cover is connected");

Last edit: 8 months 3 weeks ago by Dan Avner. Reason: code formatting
8 months 3 weeks ago #75078

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

Time to create page: 0.170 seconds