return NULL;
}
-void gui_vfo_move_to(gpointer data) {
- long long freq = *(long long *) data;
- fprintf(stderr,"GUI: %11lld\n",freq);
- return;
- //vfo_move_to(freq);
-}
-
// This looks up the frequency of the Active receiver with
// protection for 1 versus 2 receivers
long long rigctl_getFrequency() {
#endif
send_resp(client_sock,msg);
} else {
+ int f;
// Try to set filters here!
// CW - legal values 50 80 100 150 200 300 400 500 600 1000 2000
// Pi HPSDR map 50 100 100 100 250 250 400 500 600 1000
void stemlab_discovery() {
- size_t len;
char txt[150];
CURL *curl_handle;
CURLcode curl_error;
- FILE *fpin;
- char *p;
- int i;
int app_list;
struct sockaddr_in ip_address;
struct sockaddr_in netmask;
}
app_list=0;
sprintf(txt,"http://%s",ipaddr_tcp);
- curl_error = curl_easy_setopt(curl_handle, CURLOPT_URL, txt);
- curl_error = curl_easy_setopt(curl_handle, CURLOPT_TIMEOUT, (long) 5);
- curl_error = curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, get_list_cb);
+ curl_easy_setopt(curl_handle, CURLOPT_URL, txt);
+ curl_easy_setopt(curl_handle, CURLOPT_TIMEOUT, (long) 5);
+ curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, get_list_cb);
curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, &app_list);
curl_error = curl_easy_perform(curl_handle);
curl_easy_cleanup(curl_handle);
return;
}
sprintf(txt,"http://%s/bazaar?apps=", ipaddr_tcp);
- curl_error = curl_easy_setopt(curl_handle, CURLOPT_URL, txt);
- curl_error = curl_easy_setopt(curl_handle, CURLOPT_TIMEOUT, (long) 20);
- curl_error = curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, app_list_cb);
+ curl_easy_setopt(curl_handle, CURLOPT_URL, txt);
+ curl_easy_setopt(curl_handle, CURLOPT_TIMEOUT, (long) 20);
+ curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, app_list_cb);
curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, &app_list);
curl_error = curl_easy_perform(curl_handle);
curl_easy_cleanup(curl_handle);