Instrument Neutral Distributed Interface INDI  1.9.5
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Aux::Packet Class Reference

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 const uint8_t AUX_HDR = 0x3b
 

Detailed Description

The Packet class handles low-level communication with the Celestron devices.

Definition at line 105 of file celestronauxpacket.h.

Constructor & Destructor Documentation

◆ Packet() [1/3]

Aux::Packet::Packet ( )
inline

Definition at line 108 of file celestronauxpacket.h.

◆ Packet() [2/3]

Aux::Packet::Packet ( Target  source,
Target  destination,
Command  command,
buffer  data 
)

Definition at line 53 of file celestronauxpacket.cpp.

◆ Packet() [3/3]

Aux::Packet::Packet ( Target  source,
Target  destination,
Command  command 
)

Member Function Documentation

◆ FillBuffer()

void Aux::Packet::FillBuffer ( buffer buf)

Definition at line 62 of file celestronauxpacket.cpp.

◆ Parse()

bool Aux::Packet::Parse ( buffer  buf)

Definition at line 80 of file celestronauxpacket.cpp.

Member Data Documentation

◆ AUX_HDR

const uint8_t Aux::Packet::AUX_HDR = 0x3b
static

Definition at line 113 of file celestronauxpacket.h.

◆ command

Command Aux::Packet::command

Definition at line 117 of file celestronauxpacket.h.

◆ data

buffer Aux::Packet::data

Definition at line 118 of file celestronauxpacket.h.

◆ destination

Target Aux::Packet::destination

Definition at line 116 of file celestronauxpacket.h.

◆ length

uint32_t Aux::Packet::length

Definition at line 114 of file celestronauxpacket.h.

◆ source

Target Aux::Packet::source

Definition at line 115 of file celestronauxpacket.h.


The documentation for this class was generated from the following files: