Instrument Neutral Distributed Interface INDI  1.9.5
Macros | Functions
vantage.cpp File Reference
#include "vantage.h"
#include "indicom.h"
#include "connectionplugins/connectionserial.h"
#include <memory>
#include <cstring>
#include <termios.h>

Go to the source code of this file.

Macros

#define VANTAGE_CMD   8
 
#define VANTAGE_RES   128
 
#define VANTAGE_TIMEOUT   2
 

Functions

uint16_t crc16 (const void *c_ptr, size_t len)
 
std::unique_ptr< Vantagevantage (new Vantage())
 

Macro Definition Documentation

◆ VANTAGE_CMD

#define VANTAGE_CMD   8

Definition at line 34 of file vantage.cpp.

◆ VANTAGE_RES

#define VANTAGE_RES   128

Definition at line 35 of file vantage.cpp.

◆ VANTAGE_TIMEOUT

#define VANTAGE_TIMEOUT   2

Definition at line 36 of file vantage.cpp.

Function Documentation

◆ crc16()

uint16_t crc16 ( const void *  c_ptr,
size_t  len 
)

Definition at line 60 of file vantage.cpp.

◆ vantage()

std::unique_ptr<Vantage> vantage ( new   Vantage())