stefanz created a new topic ' General driver naming issues' in the forum. 6 years ago

Hi,

I'm currently setting up my observatory using INDI and recognized a few trivial issues which limit usability of INDI:

  1. Avoid whitespaces in driver names. These cause a lot of trouble in shell scripts (using indi_setprop and indi_setprop) and even make certain things impossible.
  2. Try to make driver names unique, i.e. include a unique identifier whenever it is available, (serial number of the USB protocol or another identifier). Imagine a setup where you have two filter wheels of the same kind connected to one PC. Even the USB bus number would be more helpful then a count (I found one in the ASI filter wheel driver).

For example Moravian cameras have a unique number. Please replace
snprintf(name, MAXINDINAME, "MI CCD %s", sp);
by
snprintf(name, MAXINDINAME, "MI_CCD_%s-%d", sp, cameraId);
in line 202 of mi_ccd.cpp

Read More...