×

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

Bi-monthly release with minor bug fixes and improvements

Run Dome without a connected device

  • Posts: 40
  • Thank you received: 7
My Dome driver has its own integrated hardware interface operating directly through RPi GPIO pins. Seems my decision to do this is at odds with the recent encapsulation of serial/tcp connection logic. At the moment I get, as expected: Failed to connect to port (/dev/ttyUSB0). Error: Port failure Error: No such file or directory. Check if device is connected to this port.

I have tried a few things, unsuccessfully to inhibit the connection logic. I am not very confident I have source that matches the current RPi build.

Is there a way I can override the connection logic?
6 years 7 months ago #18332

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

In your constructor: setDomeConnection(CONNECTION_NONE)
6 years 7 months ago #18334

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

  • Posts: 40
  • Thank you received: 7
Ah. Sorry to bother you. I had done that but was testing an old copy in /usr/local/bin. It now works as desired.

Thanks for the reassurance.
6 years 7 months ago #18345

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

Time to create page: 0.232 seconds