TwiceAsNice  2019-02-18
Macros | Functions | Variables
NexStarAUXScope.cpp File Reference
#include "NexStarAUXScope.h"
#include <inditelescope.h>
#include <algorithm>
#include <math.h>
#include <queue>
#include <string.h>
#include <unistd.h>
#include <arpa/inet.h>
Include dependency graph for NexStarAUXScope.cpp:

Macros

#define BUFFER_SIZE   10240
 

Functions

void msleep (unsigned ms)
 
void prnBytes (unsigned char *b, int n)
 
void dumpMsg (buffer buf)
 
int sendBuffer (int sock, buffer buf, long tout_msec)
 

Variables

int MAX_CMD_LEN = 32
 
bool DEBUG = false
 
const long STEPS_PER_REVOLUTION = 16777216
 
const double STEPS_PER_DEGREE = STEPS_PER_REVOLUTION / 360.0
 
int debug_timeout = 30
 

Macro Definition Documentation

◆ BUFFER_SIZE

#define BUFFER_SIZE   10240

Function Documentation

◆ dumpMsg()

void dumpMsg ( buffer  buf)

◆ msleep()

void msleep ( unsigned  ms)

◆ prnBytes()

void prnBytes ( unsigned char *  b,
int  n 
)

◆ sendBuffer()

int sendBuffer ( int  sock,
buffer  buf,
long  tout_msec 
)

Variable Documentation

◆ DEBUG

bool DEBUG = false

◆ debug_timeout

int debug_timeout = 30

◆ MAX_CMD_LEN

int MAX_CMD_LEN = 32

◆ STEPS_PER_DEGREE

const double STEPS_PER_DEGREE = STEPS_PER_REVOLUTION / 360.0

◆ STEPS_PER_REVOLUTION

const long STEPS_PER_REVOLUTION = 16777216