ADP service implementation.
Copyright (c) 2015-2018 Microchip Technology Inc. and its subsidiaries.
Functions | |
static void | adp_window_add_dashboard_control (void) |
Add a dashboard and add all elements to the dashboard. More... | |
static void | adp_window_add_dashboard_light_sensor (void) |
Add a dashboard light sensor and add all elements to the dashboard. More... | |
static void | adp_window_add_element_strem_to_control_dashboard (void) |
Add all labels to the dashboard control. More... | |
static void | adp_window_add_element_strem_to_light_sensor_dashboard (void) |
Add all elements to the dashboard ligth sensor. More... | |
static void | adp_window_add_label_to_control_dashboard (void) |
Add all labels to the dashboard control. More... | |
static void | adp_window_add_label_to_light_sensor_dashboard (void) |
Add all labels to the dashboard light sensor. More... | |
static void | adp_window_add_terminal (void) |
Config and add all new streams. More... | |
void | adp_window_init (void) |
Variables | |
struct adp_msg_conf_terminal | terminal_config |
|
static |
Add a dashboard and add all elements to the dashboard.
References adp_window_add_element_strem_to_control_dashboard(), adp_window_add_label_to_control_dashboard(), DASHBOARD_CON_LABEL, and DASHBOARD_ID_CONTROL.
Referenced by adp_window_init().
|
static |
Add a dashboard light sensor and add all elements to the dashboard.
References adp_window_add_element_strem_to_light_sensor_dashboard(), adp_window_add_label_to_light_sensor_dashboard(), DASHBOARD_DIS_LABEL, and DASHBOARD_ID_LIGHT_SENSOR.
Referenced by adp_window_init().
|
static |
Add all labels to the dashboard control.
References DASHBOARD_ID_CONTROL, ELEMENT_ID_SEGMENT, ELEMENT_ID_SLIDER_HIGH, ELEMENT_ID_SLIDER_LOW, STREAM_ID_HYST_HIGH, STREAM_ID_HYST_LOW, and STREAM_ID_LIGHT_SENSOR_ADC.
Referenced by adp_window_add_dashboard_control().
|
static |
Add all elements to the dashboard ligth sensor.
References DASHBOARD_ID_LIGHT_SENSOR, ELEMENT_ID_BAR, ELEMENT_ID_BUTTON, ELEMENT_ID_GRAPH, ELEMENT_ID_SIGNAL, STREAM_ID_LED_TOGGLE, STREAM_ID_LIGHT_SENSOR, and STREAM_ID_NIGHT_MODE.
Referenced by adp_window_add_dashboard_light_sensor().
|
static |
Add all labels to the dashboard control.
References DASHBOARD_ID_CONTROL, ELEMENT_ID_LABEL_HIGH, ELEMENT_ID_LABEL_HYSTERESIS, ELEMENT_ID_LABEL_LOW, and ELEMENT_ID_LABEL_VALUE_ADC.
Referenced by adp_window_add_dashboard_control().
|
static |
Add all labels to the dashboard light sensor.
References DASHBOARD_ID_LIGHT_SENSOR, ELEMENT_ID_LABEL_LED_CONTROL, ELEMENT_ID_LABEL_NIGHT_LIGHT, ELEMENT_ID_LABEL_TITEL, and ELEMENT_ID_LABEL_VALUE_VOL.
Referenced by adp_window_add_dashboard_light_sensor().
|
static |
Config and add all new streams.
References STREAM_ID_STATUS_MESSAGE, terminal_config, and TERMINAL_LABEL.
Referenced by adp_window_init().
void adp_window_init | ( | void | ) |
References adp_window_add_dashboard_control(), adp_window_add_dashboard_light_sensor(), and adp_window_add_terminal().
Referenced by adp_example_init().
struct adp_msg_conf_terminal terminal_config |
Referenced by adp_window_add_terminal(), and transceive_data().