49 bool ISNewNumber(
const char *dev,
const char *name,
double values[],
char *names[],
int n)
override;
78 struct timeval IntStart;
79 float IntegrationRequest;
82 int32_t receiverIndex = { 0 };
85 pthread_t primary_thread;
88 bool sendTcpCommand(
int cmd,
int value);
92 CMD_SET_SAMPLE_RATE = 0x2,
93 CMD_SET_TUNER_GAIN_MODE = 0x3,
95 CMD_SET_FREQ_COR = 0x5,
96 CMD_SET_AGC_MODE = 0x8,
97 CMD_SET_TUNER_GAIN_INDEX = 0xd
Class to provide general functionality of Monodimensional Receiver.
bool AbortIntegration() override
Abort ongoing Integration.
bool StopStreaming() override
StopStreaming Stop live video streaming.
void TimerHit() override
Callback function to be called once SetTimer duration elapses.
bool Disconnect() override
Disconnect from device.
bool initProperties() override
Initilize properties initial state and value. The child class must implement this function.
void setupParams(float sr, float freq, float gain)
bool Connect() override
Connect to the device. INDI::DefaultDevice implementation connects to appropriate connection interfac...
const char * getDefaultName() override
bool ISNewNumber(const char *dev, const char *name, double values[], char *names[], int n) override
Process the client newNumber command.
bool Handshake() override
perform handshake with device to check communication
bool StartIntegration(double duration) override
Start integration from the Sensor device.
bool StartStreaming() override
StartStreaming Start live video streaming.
bool updateProperties() override
updateProperties is called whenever there is a change in the CONNECTION status of the driver....