|
Instrument Neutral Distributed Interface INDI 2.2.5
|
The Packet class handles low-level communication with the Celestron devices. More...
#include <celestronauxpacket.h>
Public Member Functions | |
| Packet () | |
| Packet (Target source, Target destination, Command command, buffer data) | |
| Packet (Target source, Target destination, Command command) | |
| void | FillBuffer (buffer &buf) |
| bool | Parse (buffer buf) |
Public Attributes | |
| uint32_t | length |
| Target | source |
| Target | destination |
| Command | command |
| buffer | data |
Static Public Attributes | |
| static constexpr uint8_t | AUX_HDR = 0x3b |
The Packet class handles low-level communication with the Celestron devices.
Definition at line 105 of file celestronauxpacket.h.
|
inline |
Definition at line 108 of file celestronauxpacket.h.
Definition at line 53 of file celestronauxpacket.cpp.
| void Aux::Packet::FillBuffer | ( | buffer & | buf | ) |
Definition at line 62 of file celestronauxpacket.cpp.
| bool Aux::Packet::Parse | ( | buffer | buf | ) |
Definition at line 80 of file celestronauxpacket.cpp.
|
staticconstexpr |
Definition at line 113 of file celestronauxpacket.h.
| Command Aux::Packet::command |
Definition at line 117 of file celestronauxpacket.h.
| buffer Aux::Packet::data |
Definition at line 118 of file celestronauxpacket.h.
| Target Aux::Packet::destination |
Definition at line 116 of file celestronauxpacket.h.
| uint32_t Aux::Packet::length |
Definition at line 114 of file celestronauxpacket.h.
| Target Aux::Packet::source |
Definition at line 115 of file celestronauxpacket.h.