×
INDI Library v1.8.1 Released (09 Sep 2019)

Monthly maintenance release INDI v1.8.1

TeenAstro driver for INDI

1 month 1 week ago
kbahey
Gold Boarder
Gold Boarder
Posts: 201
Karma: 2
More
TeenAstro driver for INDI #44281

fdesvallees wrote: I found out the problem was in the board which would close the connection after 2 seconds.


TeenAstro is based on OnStep. What I am going to say applies to OnStep, and probably to TeenAstro as well.

OnStep does not keep the TCP connection open for subsequent communications. As a result, each command has to establish communication as if it is a new connection.

I wrote a Python API for OnStep , and I had to connect on every call, when using TCP.
The following user(s) said Thank You knro

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

1 month 1 week ago
fdesvallees
Fresh Boarder
Fresh Boarder
Posts: 2
More
TeenAstro driver for INDI #44284
Thanks Khalid, this explains it.

But I don't understand how we can make Ekos work: eithee we keep the connection open all the time, like a serial port, or for every command issued (and this can be one per second or more when polling the mount), the driver needs to open the connection, issue the command, then close the connection (not nice). What do you think?

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

1 month 1 week ago
kbahey
Gold Boarder
Gold Boarder
Posts: 201
Karma: 2
More
TeenAstro driver for INDI #44285
I don't have a solution.
But if I am not mistaken, James Lancaster, a maintainer of OnStep INDI was looking into it a couple of months ago.
No word so far.

By the way, this file has the code that handles WiFi for OnStep (TeenAstro would be similar), and there is 2000L on line 394. Also see line 388.

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

1 month 1 week ago
kbahey
Gold Boarder
Gold Boarder
Posts: 201
Karma: 2
More
TeenAstro driver for INDI #44290
I posted a description of a possible solution here .
Someone needs to implement and test it.

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

Time to create page: 0.869 seconds