25 #ifndef _LX200_CONNECTION_HPP_
26 #define _LX200_CONNECTION_HPP_
28 #include "SerialPort.hpp"
40 void sendGoto(
unsigned int ra_int,
int dec_int);
42 void setTimeBetweenCommands(
long long int micro_seconds)
44 time_between_commands = micro_seconds;
49 void dataReceived(
const char *&p,
const char *read_buff_end);
51 void sendPosition(
unsigned int ra_int,
int dec_int,
int status) {Q_UNUSED(ra_int); Q_UNUSED(dec_int); Q_UNUSED(status);}
52 void resetCommunication(
void);
53 void prepareSelectFds(fd_set &read_fds, fd_set &write_fds,
int &fd_max);
54 bool writeFrontCommandToBuffer(
void);
59 void flushCommandList(
void);
62 list<Lx200Command*> command_list;
63 long long int time_between_commands;
64 long long int next_send_time;
65 long long int read_timeout_endtime;
66 int goto_commands_queued;
69 #endif //_LX200_CONNECTION_HPP_
Base class for telescope server classes.
Serial port connection to a Meade LX200 or a compatible telescope.
Abstract base class for Meade LX200 (and compatible) commands.
Serial interface connection.