Instrument Neutral Distributed Interface INDI  0.9
Functions
tutorial_one.c File Reference

Construct a basic INDI driver with only one property. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <unistd.h>
#include "indidevapi.h"
#include "eventloop.h"
#include "indicom.h"

Go to the source code of this file.

Functions

void ISGetProperties (const char *dev)
 Get Device Properties.
void ISNewSwitch (const char *dev, const char *name, ISState *states, char *names[], int n)
 Update the value of an existing switch vector property.
void ISNewText (const char *dev, const char *name, char *texts[], char *names[], int n)
 Update the value of an existing text vector property.
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.
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.

Detailed Description

Construct a basic INDI driver with only one property.

Author:
Jasem Mutlaq

Definition in file tutorial_one.c.