Instrument Neutral Distributed Interface INDI
2.0.2
|
Classes | |
class | Packet |
The Packet class handles low-level communication with the Celestron devices. More... | |
class | Communicator |
The Communicator class handles high-level communication with the Celestron devices. More... | |
Typedefs | |
typedef std::vector< uint8_t > | buffer |
Enumerations | |
enum | Command { MC_GET_POSITION = 0x01 , MC_GOTO_FAST = 0x02 , MC_SET_POSITION = 0x04 , MC_SET_POS_GUIDERATE = 0x06 , MC_SET_NEG_GUIDERATE = 0x07 , MC_LEVEL_START = 0x0b , MC_SET_POS_BACKLASH = 0x10 , MC_SET_NEG_BACKLASH = 0x11 , MC_SLEW_DONE = 0x13 , MC_GOTO_SLOW = 0x17 , MC_SEEK_INDEX = 0x19 , MC_MOVE_POS = 0x24 , MC_MOVE_NEG = 0x25 , MC_GET_POS_BACKLASH = 0x40 , MC_GET_NEG_BACKLASH = 0x41 , GET_VER = 0xfe , FOC_CALIB_ENABLE = 42 , FOC_CALIB_DONE = 43 , FOC_GET_HS_POSITIONS = 44 } |
The Command enum includes all the command types sent to the various devices (motor, focuser..etc) More... | |
enum | Target { ANY = 0x00 , MB = 0x01 , HC = 0x04 , HCP = 0x0d , AZM = 0x10 , ALT = 0x11 , FOCUSER = 0x12 , APP = 0x20 , NEX_REMOTE = 0x22 , GPS = 0xb0 , WiFi = 0xb5 , BAT = 0xb6 , CHG = 0xb7 , LIGHT = 0xbf } |
The Target enum Specifies the target device of the command. More... | |
Functions | |
char * | toHexStr (buffer data) |
Variables | |
char | debugStr [301] |
The Celestron Aux namespace contains classes required to communication with Celestron devices using the Auxiliary command set. This includes communicating with the mount motors in addition to any auxiliary devices such as focusers..etc.
typedef std::vector<uint8_t> Aux::buffer |
Definition at line 38 of file celestronauxpacket.h.
enum Aux::Command |
The Command enum includes all the command types sent to the various devices (motor, focuser..etc)
Enumerator | |
---|---|
MC_GET_POSITION | return 24 bit position |
MC_GOTO_FAST | send 24 bit target |
MC_SET_POSITION | send 24 bit new position |
MC_SET_POS_GUIDERATE | |
MC_SET_NEG_GUIDERATE | |
MC_LEVEL_START | |
MC_SET_POS_BACKLASH | 1 byte, 0-99 |
MC_SET_NEG_BACKLASH | 1 byte, 0-99 |
MC_SLEW_DONE | return 0xFF when move finished |
MC_GOTO_SLOW | send 24 bit target |
MC_SEEK_INDEX | |
MC_MOVE_POS | send move rate 0-9 |
MC_MOVE_NEG | send move rate 0-9 |
MC_GET_POS_BACKLASH | 1 byte, 0-99 |
MC_GET_NEG_BACKLASH | 1 byte, 0-99 |
GET_VER | return 2 or 4 bytes major.minor.build |
FOC_CALIB_ENABLE | send 0 to start or 1 to stop Focuser Commands |
FOC_CALIB_DONE | returns 2 bytes [0] done, [1] state 0-12 |
FOC_GET_HS_POSITIONS | returns 2 ints low and high limits |
Definition at line 43 of file celestronauxpacket.h.
enum Aux::Target |
The Target enum Specifies the target device of the command.
Enumerator | |
---|---|
ANY | |
MB | |
HC | Hand Controller. |
HCP | |
AZM | azimuth|hour angle axis motor |
ALT | altitude|declination axis motor |
FOCUSER | focuser motor |
APP | |
NEX_REMOTE | |
GPS | GPS Unit. |
WiFi | WiFi Board. |
BAT | |
CHG | |
LIGHT |
Definition at line 84 of file celestronauxpacket.h.
char* Aux::toHexStr | ( | buffer | data | ) |
Definition at line 39 of file celestronauxpacket.cpp.
char Aux::debugStr[301] |
Definition at line 36 of file celestronauxpacket.cpp.