RPi Locator and Display Services
|
#include "skn_network_helpers.h"
Go to the source code of this file.
Functions | |
long | getCpuTemps (PCpuTemps temps) |
int | generate_cpu_temps_info (char *msg) |
int | main (int argc, char *argv[]) |
int generate_cpu_temps_info | ( | char * | msg | ) |
DO NOT USE THIS IN MODULES THAT HANDLE A I2C Based LCD RPi cannot handle I2C and GetCpuTemp() without locking the process in an uniterrupted sleep; forcing a power cycle.
Definition at line 49 of file lcd_display_client.c.
Referenced by main().
long getCpuTemps | ( | PCpuTemps | temps | ) |
cmdline: ./udp_locator_client -m "<request-message-string>" DO NOT USE THIS IN MODULES THAT HANDLE A I2C Based LCD RPi cannot handle I2C and GetCpuTemp() without locking the process in an uniterrupted sleep; forcing a power cycle.
Definition at line 16 of file lcd_display_client.c.
References _temps::c, _temps::cbName, _temps::f, _temps::raw, and SD_WARNING.
Referenced by generate_cpu_temps_info().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 64 of file lcd_display_client.c.
References gd_i_socket, gd_i_update, gd_pch_message, gd_pch_service_name, generate_cpu_temps_info(), generate_datetime_info(), generate_loadavg_info(), generate_uname_info(), gi_exit_flag, _serviceEntry::ip, _serviceEntry::name, _serviceEntry::port, _serviceRequest::request, SD_DEBUG, SD_NOTICE, SD_WARNING, service_registry_destroy(), service_registry_entry_count(), service_registry_find_entry(), service_registry_get_via_udp_broadcast(), signals_cleanup(), signals_init(), skn_get_number_of_cpu_cores(), skn_handle_locator_command_line(), skn_program_name_and_description_set(), SKN_RUN_MODE_RUN, skn_service_request_create(), skn_udp_host_create_broadcast_socket(), skn_udp_host_create_regular_socket(), skn_udp_service_request(), SZ_CHAR_BUFF, and SZ_INFO_BUFF.