kstars
lx200gps.cpp File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "lx200gps.h"
#include "lx200driver.h"

Go to the source code of this file.
Defines | |
#define | GPSGroup "Extended GPS Features" |
Functions | |
void | changeLX200GPSDeviceName (const char *newName) |
void | updateTemp (void *) |
Variables | |
static ISwitch | AltDecBackSlashS [] = {{ "Activate", "", ISS_OFF, 0, 0}} |
static ISwitchVectorProperty | AltDecBackSlashSw = { mydev, "Alt/Dec Anti-backslash", "", GPSGroup, IP_RW, ISR_1OFMANY, 0, IPS_IDLE, AltDecBackSlashS, NARRAY(AltDecBackSlashS), "", 0} |
static ISwitch | AltDecPecS [] = {{ "Enable", "", ISS_OFF, 0 ,0}, {"Disable", "", ISS_OFF, 0 ,0}} |
static ISwitchVectorProperty | AltDecPecSw = { mydev, "Alt/Dec PEC", "", GPSGroup, IP_RW, ISR_1OFMANY, 0, IPS_IDLE, AltDecPecS, NARRAY(AltDecPecS), "", 0} |
static ISwitch | AzRaBackSlashS [] = {{ "Activate", "", ISS_OFF, 0, 0}} |
static ISwitchVectorProperty | AzRaBackSlashSw = { mydev, "Az/Ra Anti-backslash", "", GPSGroup, IP_RW, ISR_1OFMANY, 0, IPS_IDLE, AzRaBackSlashS, NARRAY(AzRaBackSlashS), "", 0} |
static ISwitch | AzRaPecS [] = {{ "Enable", "", ISS_OFF, 0, 0}, {"Disable", "", ISS_OFF, 0 ,0}} |
static ISwitchVectorProperty | AzRaPecSw = { mydev, "Az/Ra PEC", "", GPSGroup, IP_RW, ISR_1OFMANY, 0, IPS_IDLE, AzRaPecS, NARRAY(AzRaPecS), "", 0} |
static ISwitch | GPSPowerS [] = {{ "On", "", ISS_OFF, 0, 0}, {"Off", "", ISS_ON, 0, 0}} |
static ISwitchVectorProperty | GPSPowerSw = { mydev, "GPS Power", "", GPSGroup, IP_RW, ISR_1OFMANY, 0 , IPS_IDLE, GPSPowerS, NARRAY(GPSPowerS), "", 0} |
static ISwitch | GPSStatusS [] = {{ "Sleep", "", ISS_OFF, 0, 0}, {"Wake up", "", ISS_OFF, 0 ,0}, {"Restart", "", ISS_OFF, 0, 0}} |
static ISwitchVectorProperty | GPSStatusSw = { mydev, "GPS Status", "", GPSGroup, IP_RW, ISR_1OFMANY, 0, IPS_IDLE, GPSStatusS, NARRAY(GPSStatusS), "", 0} |
static ISwitch | GPSUpdateS [] = { {"Update", "", ISS_OFF, 0, 0}} |
static ISwitchVectorProperty | GPSUpdateSw = { mydev, "GPS System", "", GPSGroup, IP_RW, ISR_1OFMANY, 0, IPS_IDLE, GPSUpdateS, NARRAY(GPSUpdateS), "", 0} |
int | MaxReticleFlashRate |
static INumberVectorProperty | OTATemp = { mydev, "OTA Temperature (C)", "", GPSGroup, IP_RO, 0, IPS_IDLE, Temp, NARRAY(Temp), "", 0} |
static ISwitch | OTAUpdateS [] = {{ "Update", "", ISS_OFF, 0, 0}} |
static ISwitchVectorProperty | OTAUpdateSw = { mydev, "OTA Update", "", GPSGroup, IP_RW, ISR_1OFMANY, 0, IPS_IDLE, OTAUpdateS, NARRAY(OTAUpdateS), "", 0} |
static ISwitch | SelenSyncS [] = {{ "Sync", "", ISS_OFF, 0, 0}} |
static ISwitchVectorProperty | SelenSyncSw = { mydev, "Selenographic Sync", "", GPSGroup, IP_RW, ISR_1OFMANY, 0, IPS_IDLE, SelenSyncS, NARRAY(SelenSyncS), "", 0} |
LX200Generic * | telescope |
static INumber | Temp [] = { {"Temp.", "", "%g", -200., 500., 0., 0., 0, 0, 0 } } |
Define Documentation
#define GPSGroup "Extended GPS Features" |
Definition at line 29 of file lx200gps.cpp.
Function Documentation
void changeLX200GPSDeviceName | ( | const char * | newName | ) |
Definition at line 59 of file lx200gps.cpp.
void updateTemp | ( | void * | ) |
Definition at line 309 of file lx200gps.cpp.
Variable Documentation
ISwitch AltDecBackSlashS[] = {{ "Activate", "", ISS_OFF, 0, 0}} [static] |
Definition at line 40 of file lx200gps.cpp.
ISwitchVectorProperty AltDecBackSlashSw = { mydev, "Alt/Dec Anti-backslash", "", GPSGroup, IP_RW, ISR_1OFMANY, 0, IPS_IDLE, AltDecBackSlashS, NARRAY(AltDecBackSlashS), "", 0} [static] |
Definition at line 50 of file lx200gps.cpp.
ISwitch AltDecPecS[] = {{ "Enable", "", ISS_OFF, 0 ,0}, {"Disable", "", ISS_OFF, 0 ,0}} [static] |
Definition at line 37 of file lx200gps.cpp.
ISwitchVectorProperty AltDecPecSw = { mydev, "Alt/Dec PEC", "", GPSGroup, IP_RW, ISR_1OFMANY, 0, IPS_IDLE, AltDecPecS, NARRAY(AltDecPecS), "", 0} [static] |
Definition at line 47 of file lx200gps.cpp.
ISwitch AzRaBackSlashS[] = {{ "Activate", "", ISS_OFF, 0, 0}} [static] |
Definition at line 41 of file lx200gps.cpp.
ISwitchVectorProperty AzRaBackSlashSw = { mydev, "Az/Ra Anti-backslash", "", GPSGroup, IP_RW, ISR_1OFMANY, 0, IPS_IDLE, AzRaBackSlashS, NARRAY(AzRaBackSlashS), "", 0} [static] |
Definition at line 51 of file lx200gps.cpp.
Definition at line 38 of file lx200gps.cpp.
ISwitchVectorProperty AzRaPecSw = { mydev, "Az/Ra PEC", "", GPSGroup, IP_RW, ISR_1OFMANY, 0, IPS_IDLE, AzRaPecS, NARRAY(AzRaPecS), "", 0} [static] |
Definition at line 48 of file lx200gps.cpp.
Definition at line 34 of file lx200gps.cpp.
ISwitchVectorProperty GPSPowerSw = { mydev, "GPS Power", "", GPSGroup, IP_RW, ISR_1OFMANY, 0 , IPS_IDLE, GPSPowerS, NARRAY(GPSPowerS), "", 0} [static] |
Definition at line 44 of file lx200gps.cpp.
ISwitch GPSStatusS[] = {{ "Sleep", "", ISS_OFF, 0, 0}, {"Wake up", "", ISS_OFF, 0 ,0}, {"Restart", "", ISS_OFF, 0, 0}} [static] |
Definition at line 35 of file lx200gps.cpp.
ISwitchVectorProperty GPSStatusSw = { mydev, "GPS Status", "", GPSGroup, IP_RW, ISR_1OFMANY, 0, IPS_IDLE, GPSStatusS, NARRAY(GPSStatusS), "", 0} [static] |
Definition at line 45 of file lx200gps.cpp.
ISwitch GPSUpdateS[] = { {"Update", "", ISS_OFF, 0, 0}} [static] |
Definition at line 36 of file lx200gps.cpp.
ISwitchVectorProperty GPSUpdateSw = { mydev, "GPS System", "", GPSGroup, IP_RW, ISR_1OFMANY, 0, IPS_IDLE, GPSUpdateS, NARRAY(GPSUpdateS), "", 0} [static] |
Definition at line 46 of file lx200gps.cpp.
Definition at line 66 of file apmount.cpp.
INumberVectorProperty OTATemp = { mydev, "OTA Temperature (C)", "", GPSGroup, IP_RO, 0, IPS_IDLE, Temp, NARRAY(Temp), "", 0} [static] |
Definition at line 55 of file lx200gps.cpp.
ISwitch OTAUpdateS[] = {{ "Update", "", ISS_OFF, 0, 0}} [static] |
Definition at line 42 of file lx200gps.cpp.
ISwitchVectorProperty OTAUpdateSw = { mydev, "OTA Update", "", GPSGroup, IP_RW, ISR_1OFMANY, 0, IPS_IDLE, OTAUpdateS, NARRAY(OTAUpdateS), "", 0} [static] |
Definition at line 52 of file lx200gps.cpp.
ISwitch SelenSyncS[] = {{ "Sync", "", ISS_OFF, 0, 0}} [static] |
Definition at line 39 of file lx200gps.cpp.
ISwitchVectorProperty SelenSyncSw = { mydev, "Selenographic Sync", "", GPSGroup, IP_RW, ISR_1OFMANY, 0, IPS_IDLE, SelenSyncS, NARRAY(SelenSyncS), "", 0} [static] |
Definition at line 49 of file lx200gps.cpp.
Definition at line 65 of file apmount.cpp.
Definition at line 54 of file lx200gps.cpp.