syntax for specifying driver serial port (not USB)

  • Posts: 2
  • Thank you received: 0
I interfaced a Raspberry Pi GPIO serial port with an Autostar/ETX using a custom made cable with the necessary voltage level shifting (3.3V TTL <-> RS-232), and can communicate with the telescope using a Python script that opens the port at /dev/ttyAMA0. I would like to run the INDI server and driver on the RPi, but I have not been able to figure out how to specify the serial port address on the command line; I assume that I would enter something like:
indiserver indi_lx200autostar -P /dev/ttyAMA0 &
but I haven't found any documentation about this; I just make up the "-P" part.

Could this alternatively be accomplished using a configuration file? Again, I haven't found any documentation on this subject either.

Any suggestions would be appreciated.
Thank you.
8 years 2 weeks ago #10044

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


×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

  • Posts: 173
  • Thank you received: 19

Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

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


Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

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

  • Posts: 2
  • Thank you received: 0
Thanks for the suggestions. I found that this worked:
indi_setprop -v -x indi_lx200autostar.DEVICE_PORT.PORT=/dev/ttyAMA0
but as I learn more about how INDI works, I now realize that I can accomplish the same thing from inside a client app such as xephem.

Clear Skies!
8 years 2 weeks ago #10057

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

Time to create page: 0.333 seconds