TwiceAsNice
2019-02-18
|
#include "sbig_ccd.h"
#include <eventloop.h>
#include <math.h>
#include <unistd.h>
#include <arpa/inet.h>
#include <netinet/in.h>
Macros | |
#define | TEMPERATURE_POLL_MS 5000 /* Temperature Polling time (ms) */ |
#define | MAX_RESOLUTION 4096 /* Maximum resolutoin for secondary chip */ |
#define | MAX_DEVICES 20 /* Max device cameraCount */ |
#define | MAX_THREAD_RETRIES 3 |
#define | MAX_THREAD_WAIT 300000 |
Functions | |
static void | cleanup () |
void | ISInit () |
Send client definitions of all properties. More... | |
void | ISGetProperties (const char *dev) |
Get Device Properties. More... | |
void | ISNewSwitch (const char *dev, const char *name, ISState *states, char *names[], int num) |
Update the value of an existing switch vector property. More... | |
void | ISNewText (const char *dev, const char *name, char *texts[], char *names[], int num) |
Update the value of an existing text vector property. More... | |
void | ISNewNumber (const char *dev, const char *name, double values[], char *names[], int num) |
void | ISNewBLOB (const char *dev, const char *name, int sizes[], int blobsizes[], char *blobs[], char *formats[], char *names[], int n) |
Update data of an existing blob vector property. More... | |
void | ISSnoopDevice (XMLEle *root) |
Function defined by Drivers that is called when another Driver it is snooping (by having previously called IDSnoopDevice()) sent any INDI message. More... | |
Variables | |
static int | cameraCount |
static SBIGCCD * | cameras [MAX_DEVICES] |
pthread_mutex_t | sbigMutex = PTHREAD_MUTEX_INITIALIZER |
#define MAX_DEVICES 20 /* Max device cameraCount */ |
#define MAX_RESOLUTION 4096 /* Maximum resolutoin for secondary chip */ |
#define MAX_THREAD_RETRIES 3 |
#define MAX_THREAD_WAIT 300000 |
#define TEMPERATURE_POLL_MS 5000 /* Temperature Polling time (ms) */ |
|
static |
void ISInit | ( | void | ) |
Send client definitions of all properties.
|
static |
|
static |
pthread_mutex_t sbigMutex = PTHREAD_MUTEX_INITIALIZER |