Arrow3-MBN-APP
 
Loading...
Searching...
No Matches
lvgl_gui.c File Reference

source that handles the screen and key press logic More...

#include <AppGlobal.h>
#include "../Header/API_Header/AppDataInterface.h"
Include dependency graph for lvgl_gui.c:

Enumerations

enum  WarningState { NO_WARNING , ISEM_WARNING , DIAG_WARNING , BOTH_WARNING }
 

Functions

void disp_mod_status_screen (int status_value, int indx)
 function to create the status screen
 
void disp_mod_qr_screen (int status_value)
 Function to display QR screen.
 
void disp_mod_pin_screen (int pin_buf[], int index)
 Function to display pin screen.
 
void disp_mod_pin_screen_wrap (int pin_buf[], int index)
 Function to display pin screen to wrap.
 
void pin_style ()
 Function to initialize pin screen styles.
 
void disp_pin_correct_details ()
 Function to print "PIN MATCHED".
 
void Incrementpin1 (int pin_buf[], int index)
 Function to display pin screen in caret mode.
 
void menu_style ()
 Function to initialize menu screen styles.
 
void disp_mod_menu_screen (int menu_index)
 Function to display menu screen.
 
void config_style ()
 Function to initialize config screen styles.
 
void config_upgrade_style ()
 Function to initialize config screen upgrade styles.
 
void disp_mod_config_screen (int config_index, int ip_buf1[], int ip_buf2[], int upgrade_index)
 Function to display config screen.
 
void disp_mod_upgrade_screen (int upgrade_index, int ip_buf1[], int ip_buf2[])
 Function to display upgrade screen inside config screen.
 
void Incrementip1 (int ip_buf1[], int octet1)
 Function to display caret on config screen -> IP Octet1.
 
void Incrementip2 (int ip_buf2[], int octet2)
 Function to display caret on config screen -> IP Octet2.
 
void disp_mod_about_screen (int about_index)
 Function to display about screen.
 
void disp_mod_extra_about_screen (int about_index)
 
void disp_mod_about_io_module_screen (int about_index)
 Function to display IO count about screen(DIO, DI, DO, AI, AIO, AO)
 
void about_style ()
 Function to initialize about screen style.
 
void about_style_IO_module ()
 Function to initialize IO about screen style.
 
void about_pressure_style ()
 Function to initialize about pressure screen style.
 
void about_pz_details_style ()
 Function to initialize about pressure screen details style.
 
void about_ext_pz_style ()
 Function to initialize about pressure screen style.
 
void disp_mod_about_pressure_zone_screen (int pz_index)
 function to create the pressure zone's number screen
 
void disp_mod_about_pz_details_screen (int pz_index)
 function to create the pressure zone details screen
 
void disp_mod_about_ext_pz_screen (int ext_pz_index)
 Function to display prop_zone count screen.
 
void disp_mod_module_screen (int module_index, int module_number)
 Function to display module information (identification parameters)
 
void module_style ()
 Function to initialize the module screen style.
 
void mac_style ()
 Function to initialize the mac screen style.
 
void disp_mod_mac_screen ()
 Function to display MAC screen.
 
void clear_screen_style ()
 function to initialize clear screen style
 
void disp_mod_clear_message_screen (int index)
 function to create clear messages screen
 
void disp_mod_clear_single_msgbox_screen ()
 function to create clear single message box
 
void disp_mod_clear_all_msgbox_screen ()
 function to create clear all message box
 
void disp_mod_about_standard_valve_screen (uint8_t pz_num)
 Function to display standard about screen.
 
void standart_valve_style ()
 Function to initialize standard about screen style.
 
void disp_mod_about_diag_valve_screen (int diag_index, int pz_num, int station_num)
 
void about_diag_style ()
 Function to initialize about pressure screen style.
 
void my_perror (const char *__s)
 function that displays the initializations error
 
void handle_display (SCREEN_NAME_T CURRENT_SCREEN, KEY_PRESSED_VAL_T KEY_PRESS_VAL)
 Function that handles the display logic.
 
void copy_members ()
 
int getModuleNumber (int index)
 
int getindexvalue (int index)
 
int getstatuschangeval (int index)
 
void stop_timer ()
 Function to stop the inactivity timer.
 
void reset_timer ()
 Function to reset the inactivity timer after 30sec.
 
void callback (int signum)
 Function that calls after inactivity occured - First screen.
 
void start_timer ()
 Function to start the inactivity timer.
 
uint8_t calculate_about_max_index ()
 function that calculates the maximum index in about screen
 
uint8_t calculate_about_io_max_index ()
 function that calculates the maximum index in IO about screen
 
void calculate_pz_count ()
 function that calculates the maximum pressure zone count for about screen
 
void calculate_ex_pz_count ()
 function that calculates the maximum external pressure zone count for about screen
 
uint8_t calculate_pz_details_count (uint8_t pz_num)
 function that calculates the maximum pressure zone details count for about screen
 
void calculate_standard_valve_count ()
 function that copies the total standard valves count for about screen
 
void get_diag_valve_names_by_pz (uint8_t pz_num, s_about_diag_count diag_names[], int *count)
 
void sendIpAddress (int ip_buf1[3], int ip_buf2[3])
 
void convert_ip_to_array (uint32_t ip_address, int ip_buf1[3], int ip_buf2[3])
 
void initialize_ip_buffers (void)
 
void lvgl_gui (void)
 function that waits for key press events & calls handle_display function
 

Variables

pthread_mutex_t mutex
 
mac_screen m_mac_screen
 
module_screen m_module_screen
 
s_about_name s_about_screen_name [MACRO_MAX_ABOUT_NAMES] = {0}
 
s_about_io_name s_about_screen_io_name [MACRO_MAX_ABOUT_IO_NAMES] = {0}
 
s_about_pz_count s_about_pz_count_name [MACRO_MAX_PRESSURE_ZONE] = {0}
 
s_about_prop_count s_about_prop_count_name [MACRO_MAX_PROP_ZONE] = {0}
 
s_about_pz_details_count s_about_pz_details_name [MACRO_MAX_PRESSURE_ZONE] = {0}
 
s_about_pz_standard_count s_about_pz_standard_count_value [MACRO_MAX_PRESSURE_ZONE] = {0}
 
s_about_diag_count s_about_diag_count_value [MACRO_MAX_STATION_PER_SYSTEM] = {0}
 
status_screen_struct screen_status_value [MACRO_MAX_MESSAGE_QUEUE_SIZE] = {0}
 
module_num_array_struct module_num_array [MACRO_MAX_MESSAGE_QUEUE_SIZE] = {0}
 
uint8_t cur_disp_scr_index = 1
 
uint8_t cur_key_index
 
uint8_t sub_index = 0
 
uint8_t no_of_modules = 5
 
int G_KEY_PRESSED_EVENT
 
int G_POP_EVENT
 
uint8_t g_total_io_count
 
uint32_t g_pin_val
 
int prop_station_indices [MACRO_MAX_PRESSURE_ZONE]
 
s_discovery_details discover_details
 
s_prszone_device_count_details pz_count_details [MACRO_MAX_PRESSURE_ZONE]
 
ModuleDetails modulesdetails [MACRO_MAX_MODULES_DETAILS]
 
PZoneDetails pzonemodulesdetails [MACRO_MAX_MODULES_DETAILS]
 
uint8_t prev_indx_value = -1
 
uint8_t prev_mod_value = -1
 
uint16_t di_handlers [MACRO_MAX_IO_HANDLERS]
 
uint16_t do_handlers [MACRO_MAX_IO_HANDLERS]
 
uint16_t dio_handlers [MACRO_MAX_IO_HANDLERS]
 
uint16_t ai_handlers [MACRO_MAX_IO_HANDLERS]
 
uint16_t ao_handlers [MACRO_MAX_IO_HANDLERS]
 
uint16_t aio_handlers [MACRO_MAX_IO_HANDLERS]
 
uint16_t prop_zone_handlers [MACRO_MAX_PROP_ZONE_HANDLERS]
 
int g_status_value = 0
 
int checkpop = 0
 
int pin_buf [4] = {0, 0, 0, 0}
 
int pin_temp = 0
 
int pin_index = 0
 
int pinval
 
int menu_index = 1
 
int about_index = 1
 
int about_io_index = 1
 
int about_pz_count_index = 1
 
int about_pz_details_index = 1
 
int about_ext_pz_index = 1
 
int about_diag_index = 1
 
int module_index = 1
 
int config_index = 1
 
int flagip1
 
int flagip2
 
int clear_index = 1
 
int upgrade_index = 1
 
uint8_t io_module_status = 0
 
int ip_buf1 [3] = {2, 5, 5}
 
int ip_buf2 [3] = {2, 5, 5}
 
int octet1 = 0
 
int octet2 = 0
 
uint8_t g_module_details_count
 
uint8_t g_pzone_details_count
 
uint16_t g_isemdiag_count
 
uint16_t diag_handlers [MAX_DIAG_VALVE_PER_PZZONE]
 
uint8_t g_about_index_max
 
uint8_t g_about_io_index_max
 
uint8_t g_about_pz_details_index_max
 
struct itimerval timer
 
int tmp
 
int inx
 
int tmp1
 
int res
 
int module_number_io = 0
 
int module_number_prop = 0
 
int module_number_diag = 0
 
int module_number_isem = 0
 
int module_number_prop_zone = 0
 
uint8_t curr_war_index = 0
 
uint8_t prev_war_index = 0
 
uint8_t normal_index = 1
 
uint8_t fault_index = 0
 
uint8_t curr_fault_index =0
 
uint8_t prev_fault_index =0
 
uint8_t curr_war_list [MACRO_MAX_MESSAGE_QUEUE_SIZE] = {0}
 
uint8_t prev_war_list [MACRO_MAX_MESSAGE_QUEUE_SIZE] = {0}
 
uint8_t normal_list [MACRO_MAX_MESSAGE_QUEUE_SIZE] = {0}
 
uint8_t curr_fault_list [MACRO_MAX_MESSAGE_QUEUE_SIZE] = {0}
 
uint8_t prev_fault_list [MACRO_MAX_MESSAGE_QUEUE_SIZE] = {0}
 
uint8_t ordered_arrays [4][MACRO_MAX_MESSAGE_QUEUE_SIZE]
 
int scroll
 
int scroll_fault
 
uint8_t g_status_index
 
bool all_modules_normal
 
uint8_t isem_pop_flag
 
uint8_t stat_pop_flag
 
uint8_t isem_present
 
uint8_t diag_present
 
uint8_t previous_pop_status
 
uint8_t current_pop_status
 

Detailed Description

source that handles the screen and key press logic

Enumeration Type Documentation

◆ WarningState

Enumerator
NO_WARNING 
ISEM_WARNING 
DIAG_WARNING 
BOTH_WARNING 

Function Documentation

◆ about_diag_style()

void about_diag_style ( void )
extern

Function to initialize about pressure screen style.

Parameters
None
Here is the caller graph for this function:

◆ about_ext_pz_style()

void about_ext_pz_style ( void )
extern

Function to initialize about pressure screen style.

Parameters
None
Here is the caller graph for this function:

◆ about_pressure_style()

void about_pressure_style ( void )
extern

Function to initialize about pressure screen style.

Parameters
None
Here is the caller graph for this function:

◆ about_pz_details_style()

void about_pz_details_style ( void )
extern

Function to initialize about pressure screen details style.

Parameters
None
Here is the caller graph for this function:

◆ about_style()

void about_style ( )
extern

Function to initialize about screen style.

Parameters
None
Here is the caller graph for this function:

◆ about_style_IO_module()

void about_style_IO_module ( )
extern

Function to initialize IO about screen style.

Parameters
None
Here is the caller graph for this function:

◆ calculate_about_io_max_index()

uint8_t calculate_about_io_max_index ( )

function that calculates the maximum index in IO about screen

Parameters
void
Return values
returnsthe max index value for IO about screen
Here is the call graph for this function:
Here is the caller graph for this function:

◆ calculate_about_max_index()

uint8_t calculate_about_max_index ( )

function that calculates the maximum index in about screen

Parameters
void
Return values
returnsthe max index value for about screen
Here is the caller graph for this function:

◆ calculate_ex_pz_count()

void calculate_ex_pz_count ( )

function that calculates the maximum external pressure zone count for about screen

Parameters
void
Here is the call graph for this function:
Here is the caller graph for this function:

◆ calculate_pz_count()

void calculate_pz_count ( )

function that calculates the maximum pressure zone count for about screen

Parameters
void
Here is the caller graph for this function:

◆ calculate_pz_details_count()

uint8_t calculate_pz_details_count ( uint8_t pz_num)

function that calculates the maximum pressure zone details count for about screen

Parameters
pz_num- pressure zone number
Here is the call graph for this function:
Here is the caller graph for this function:

◆ calculate_standard_valve_count()

void calculate_standard_valve_count ( )

function that copies the total standard valves count for about screen

Here is the caller graph for this function:

◆ callback()

void callback ( int signum)

Function that calls after inactivity occured - First screen.

Parameters
None
Here is the call graph for this function:
Here is the caller graph for this function:

◆ clear_screen_style()

void clear_screen_style ( )
extern

function to initialize clear screen style

Parameters
none
Here is the caller graph for this function:

◆ config_style()

void config_style ( )
extern

Function to initialize config screen styles.

Parameters
None
Here is the caller graph for this function:

◆ config_upgrade_style()

void config_upgrade_style ( )
extern

Function to initialize config screen upgrade styles.

Parameters
None
Here is the caller graph for this function:

◆ convert_ip_to_array()

void convert_ip_to_array ( uint32_t ip_address,
int ip_buf1[3],
int ip_buf2[3] )
Here is the caller graph for this function:

◆ copy_members()

void copy_members ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ disp_mod_about_diag_valve_screen()

void disp_mod_about_diag_valve_screen ( int diag_index,
int pz_num,
int station_num )
extern
Here is the call graph for this function:
Here is the caller graph for this function:

◆ disp_mod_about_ext_pz_screen()

void disp_mod_about_ext_pz_screen ( int ext_pz_index)
extern

Function to display prop_zone count screen.

Parameters
ext_pz_index- cursor
Here is the call graph for this function:
Here is the caller graph for this function:

◆ disp_mod_about_io_module_screen()

void disp_mod_about_io_module_screen ( int about_index)
extern

Function to display IO count about screen(DIO, DI, DO, AI, AIO, AO)

Parameters
about_index- cursor
Here is the call graph for this function:
Here is the caller graph for this function:

◆ disp_mod_about_pressure_zone_screen()

void disp_mod_about_pressure_zone_screen ( int pz_index)
extern

function to create the pressure zone's number screen

Parameters
pz_index- indicates the pressure zone's number cursor
Here is the call graph for this function:
Here is the caller graph for this function:

◆ disp_mod_about_pz_details_screen()

void disp_mod_about_pz_details_screen ( int pz_index)
extern

function to create the pressure zone details screen

Parameters
pz_index- indicates the pressure zone details cursor
Here is the call graph for this function:
Here is the caller graph for this function:

◆ disp_mod_about_screen()

void disp_mod_about_screen ( int about_index)
extern

Function to display about screen.

Parameters
about_index: represents line number inside the extra about screen
Here is the call graph for this function:
Here is the caller graph for this function:

◆ disp_mod_about_standard_valve_screen()

void disp_mod_about_standard_valve_screen ( uint8_t pz_num)
extern

Function to display standard about screen.

Parameters
pz_num: represents corresponding pressure zone number's standard valve's count to display
Here is the call graph for this function:
Here is the caller graph for this function:

◆ disp_mod_clear_all_msgbox_screen()

void disp_mod_clear_all_msgbox_screen ( )
extern

function to create clear all message box

Parameters
none
Here is the caller graph for this function:

◆ disp_mod_clear_message_screen()

void disp_mod_clear_message_screen ( int index)
extern

function to create clear messages screen

Parameters
index- cursor
Here is the call graph for this function:
Here is the caller graph for this function:

◆ disp_mod_clear_single_msgbox_screen()

void disp_mod_clear_single_msgbox_screen ( )
extern

function to create clear single message box

Parameters
none
Here is the caller graph for this function:

◆ disp_mod_config_screen()

void disp_mod_config_screen ( int config_index,
int ip_buf1[],
int ip_buf2[],
int upgrade_index )
extern

Function to display config screen.

Parameters
config_index: represents line number, ip_buf1[] : IP Octet1 default values(255), ip_buf2[] : IP Octet2 default values(255)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ disp_mod_extra_about_screen()

void disp_mod_extra_about_screen ( int about_index)
extern
Here is the call graph for this function:
Here is the caller graph for this function:

◆ disp_mod_mac_screen()

void disp_mod_mac_screen ( )
extern

Function to display MAC screen.

Parameters
None
Here is the call graph for this function:
Here is the caller graph for this function:

◆ disp_mod_menu_screen()

void disp_mod_menu_screen ( int menu_index)
extern

Function to display menu screen.

Parameters
menu_index: represents line number in the menu screen
Here is the call graph for this function:
Here is the caller graph for this function:

◆ disp_mod_module_screen()

void disp_mod_module_screen ( int module_index,
int module_number )
extern

Function to display module information (identification parameters)

Parameters
module_index: represents the line number inside the module screen
module_number: represents the module number info to be displayed
io_module_status: represents the current module type being displayed
Here is the call graph for this function:
Here is the caller graph for this function:

◆ disp_mod_pin_screen()

void disp_mod_pin_screen ( int pin_buf[],
int index )
extern

Function to display pin screen.

Parameters
pin_buf[]: default pin values, index : pin_index value
Here is the call graph for this function:
Here is the caller graph for this function:

◆ disp_mod_pin_screen_wrap()

void disp_mod_pin_screen_wrap ( int pin_buf[],
int index )
extern

Function to display pin screen to wrap.

Parameters
pin_buf[]: default pin values, index : pin_index value
Here is the call graph for this function:
Here is the caller graph for this function:

◆ disp_mod_qr_screen()

void disp_mod_qr_screen ( int status_value)
extern

Function to display QR screen.

Parameters
status_value: represents the status screen number
Here is the call graph for this function:
Here is the caller graph for this function:

◆ disp_mod_status_screen()

void disp_mod_status_screen ( int status_value,
int indx )
extern

function to create the status screen

Parameters
status_value- (0 - normal, 1 - warning, 2 - fault)
Here is the caller graph for this function:

◆ disp_mod_upgrade_screen()

void disp_mod_upgrade_screen ( int upgrade_index,
int ip_buf1[],
int ip_buf2[] )
extern

Function to display upgrade screen inside config screen.

Parameters
upgrade_index- indicates ON or OFF
ip_buf1[]: IP Octet1 default values
ip_buf2[]- IP Octet2 default values
Here is the call graph for this function:
Here is the caller graph for this function:

◆ disp_pin_correct_details()

void disp_pin_correct_details ( )
extern

Function to print "PIN MATCHED".

Parameters
None
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_diag_valve_names_by_pz()

void get_diag_valve_names_by_pz ( uint8_t pz_num,
s_about_diag_count diag_names[],
int * count )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getindexvalue()

int getindexvalue ( int index)
Here is the caller graph for this function:

◆ getModuleNumber()

int getModuleNumber ( int index)
Here is the caller graph for this function:

◆ getstatuschangeval()

int getstatuschangeval ( int index)

◆ handle_display()

void handle_display ( SCREEN_NAME_T CURRENT_SCREEN,
KEY_PRESSED_VAL_T KEY_PRESS_VAL )

Function that handles the display logic.

Parameters
CURRENT_SCREEN: represents the current screen name
KEY_PRESS_VAL: represents the key press value (KEY_PRESSED_DOWN, KEY_PRESSED_UP, KEY_PRESSED_SELECT, KEY_PRESSED_LONG_PRESS)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Incrementip1()

void Incrementip1 ( int ip_buf1[],
int octet1 )
extern

Function to display caret on config screen -> IP Octet1.

Parameters
ip_buf1[]: IP Octet1 default values
octet1: index value of IP Octet1
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Incrementip2()

void Incrementip2 ( int ip_buf2[],
int octet2 )
extern

Function to display caret on config screen -> IP Octet2.

Parameters
ip_buf2[]: IP Octet2 default values
octet2: index value of IP Octet2
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Incrementpin1()

void Incrementpin1 ( int pin_buf[],
int index )
extern

Function to display pin screen in caret mode.

Parameters
pin_buf[]: default pin values, index : pin_index value
Here is the call graph for this function:
Here is the caller graph for this function:

◆ initialize_ip_buffers()

void initialize_ip_buffers ( void )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ lvgl_gui()

void lvgl_gui ( void )

function that waits for key press events & calls handle_display function

Parameters
None
Here is the call graph for this function:
Here is the caller graph for this function:

◆ mac_style()

void mac_style ( )
extern

Function to initialize the mac screen style.

Parameters
None
Here is the caller graph for this function:

◆ menu_style()

void menu_style ( )
extern

Function to initialize menu screen styles.

Parameters
None
Here is the caller graph for this function:

◆ module_style()

void module_style ( )
extern

Function to initialize the module screen style.

Parameters
None
Here is the caller graph for this function:

◆ my_perror()

void my_perror ( const char * __s)
extern

function that displays the initializations error

Parameters
s- string message
Here is the caller graph for this function:

◆ pin_style()

void pin_style ( )
extern

Function to initialize pin screen styles.

Parameters
None
Here is the caller graph for this function:

◆ reset_timer()

void reset_timer ( )

Function to reset the inactivity timer after 30sec.

Parameters
None

◆ sendIpAddress()

void sendIpAddress ( int ip_buf1[3],
int ip_buf2[3] )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ standart_valve_style()

void standart_valve_style ( )
extern

Function to initialize standard about screen style.

Parameters
None
Here is the caller graph for this function:

◆ start_timer()

void start_timer ( )

Function to start the inactivity timer.

Parameters
None
Here is the call graph for this function:
Here is the caller graph for this function:

◆ stop_timer()

void stop_timer ( )

Function to stop the inactivity timer.

Parameters
None
Here is the caller graph for this function:

Variable Documentation

◆ about_diag_index

int about_diag_index = 1

◆ about_ext_pz_index

int about_ext_pz_index = 1

◆ about_index

int about_index = 1

◆ about_io_index

int about_io_index = 1

◆ about_pz_count_index

int about_pz_count_index = 1

◆ about_pz_details_index

int about_pz_details_index = 1

◆ ai_handlers

uint16_t ai_handlers[MACRO_MAX_IO_HANDLERS]
extern

◆ aio_handlers

uint16_t aio_handlers[MACRO_MAX_IO_HANDLERS]
extern

◆ all_modules_normal

bool all_modules_normal
extern

◆ ao_handlers

uint16_t ao_handlers[MACRO_MAX_IO_HANDLERS]
extern

◆ checkpop

int checkpop = 0

◆ clear_index

int clear_index = 1

◆ config_index

int config_index = 1

◆ cur_disp_scr_index

uint8_t cur_disp_scr_index = 1

◆ cur_key_index

uint8_t cur_key_index

◆ curr_fault_index

uint8_t curr_fault_index =0

◆ curr_fault_list

uint8_t curr_fault_list[MACRO_MAX_MESSAGE_QUEUE_SIZE] = {0}

◆ curr_war_index

uint8_t curr_war_index = 0

◆ curr_war_list

uint8_t curr_war_list[MACRO_MAX_MESSAGE_QUEUE_SIZE] = {0}

◆ current_pop_status

uint8_t current_pop_status

◆ di_handlers

uint16_t di_handlers[MACRO_MAX_IO_HANDLERS]
extern

◆ diag_handlers

uint16_t diag_handlers[MAX_DIAG_VALVE_PER_PZZONE]
extern

◆ diag_present

uint8_t diag_present

◆ dio_handlers

uint16_t dio_handlers[MACRO_MAX_IO_HANDLERS]
extern

◆ discover_details

s_discovery_details discover_details
extern

◆ do_handlers

uint16_t do_handlers[MACRO_MAX_IO_HANDLERS]
extern

◆ fault_index

uint8_t fault_index = 0

◆ flagip1

int flagip1

◆ flagip2

int flagip2

◆ g_about_index_max

uint8_t g_about_index_max

◆ g_about_io_index_max

uint8_t g_about_io_index_max

◆ g_about_pz_details_index_max

uint8_t g_about_pz_details_index_max

◆ g_isemdiag_count

uint16_t g_isemdiag_count
extern

◆ G_KEY_PRESSED_EVENT

int G_KEY_PRESSED_EVENT
extern

◆ g_module_details_count

uint8_t g_module_details_count
extern

◆ g_pin_val

uint32_t g_pin_val
extern

◆ G_POP_EVENT

int G_POP_EVENT

◆ g_pzone_details_count

uint8_t g_pzone_details_count

◆ g_status_index

uint8_t g_status_index
extern

◆ g_status_value

int g_status_value = 0

◆ g_total_io_count

uint8_t g_total_io_count
extern

◆ inx

int inx

◆ io_module_status

uint8_t io_module_status = 0

◆ ip_buf1

int ip_buf1[3] = {2, 5, 5}

◆ ip_buf2

int ip_buf2[3] = {2, 5, 5}

◆ isem_pop_flag

uint8_t isem_pop_flag
extern

◆ isem_present

uint8_t isem_present
extern

◆ m_mac_screen

mac_screen m_mac_screen

◆ m_module_screen

module_screen m_module_screen

◆ menu_index

int menu_index = 1

◆ module_index

int module_index = 1

◆ module_num_array

module_num_array_struct module_num_array[MACRO_MAX_MESSAGE_QUEUE_SIZE] = {0}

◆ module_number_diag

int module_number_diag = 0

◆ module_number_io

int module_number_io = 0

◆ module_number_isem

int module_number_isem = 0

◆ module_number_prop

int module_number_prop = 0

◆ module_number_prop_zone

int module_number_prop_zone = 0

◆ modulesdetails

ModuleDetails modulesdetails[MACRO_MAX_MODULES_DETAILS]
extern

◆ mutex

pthread_mutex_t mutex
extern

◆ no_of_modules

uint8_t no_of_modules = 5

◆ normal_index

uint8_t normal_index = 1

◆ normal_list

uint8_t normal_list[MACRO_MAX_MESSAGE_QUEUE_SIZE] = {0}

◆ octet1

int octet1 = 0

◆ octet2

int octet2 = 0

◆ ordered_arrays

uint8_t ordered_arrays[4][MACRO_MAX_MESSAGE_QUEUE_SIZE]

◆ pin_buf

int pin_buf[4] = {0, 0, 0, 0}

◆ pin_index

int pin_index = 0

◆ pin_temp

int pin_temp = 0

◆ pinval

int pinval

◆ prev_fault_index

uint8_t prev_fault_index =0

◆ prev_fault_list

uint8_t prev_fault_list[MACRO_MAX_MESSAGE_QUEUE_SIZE] = {0}

◆ prev_indx_value

uint8_t prev_indx_value = -1

◆ prev_mod_value

uint8_t prev_mod_value = -1

◆ prev_war_index

uint8_t prev_war_index = 0

◆ prev_war_list

uint8_t prev_war_list[MACRO_MAX_MESSAGE_QUEUE_SIZE] = {0}

◆ previous_pop_status

uint8_t previous_pop_status

◆ prop_station_indices

int prop_station_indices[MACRO_MAX_PRESSURE_ZONE]
extern

◆ prop_zone_handlers

uint16_t prop_zone_handlers[MACRO_MAX_PROP_ZONE_HANDLERS]
extern

◆ pz_count_details

s_prszone_device_count_details pz_count_details[MACRO_MAX_PRESSURE_ZONE]
extern

◆ pzonemodulesdetails

PZoneDetails pzonemodulesdetails[MACRO_MAX_MODULES_DETAILS]
extern

◆ res

int res

◆ s_about_diag_count_value

s_about_diag_count s_about_diag_count_value[MACRO_MAX_STATION_PER_SYSTEM] = {0}

◆ s_about_prop_count_name

s_about_prop_count s_about_prop_count_name[MACRO_MAX_PROP_ZONE] = {0}

◆ s_about_pz_count_name

s_about_pz_count s_about_pz_count_name[MACRO_MAX_PRESSURE_ZONE] = {0}

◆ s_about_pz_details_name

s_about_pz_details_count s_about_pz_details_name[MACRO_MAX_PRESSURE_ZONE] = {0}

◆ s_about_pz_standard_count_value

s_about_pz_standard_count s_about_pz_standard_count_value[MACRO_MAX_PRESSURE_ZONE] = {0}

◆ s_about_screen_io_name

s_about_io_name s_about_screen_io_name[MACRO_MAX_ABOUT_IO_NAMES] = {0}

◆ s_about_screen_name

s_about_name s_about_screen_name[MACRO_MAX_ABOUT_NAMES] = {0}

◆ screen_status_value

status_screen_struct screen_status_value[MACRO_MAX_MESSAGE_QUEUE_SIZE] = {0}

◆ scroll

int scroll

◆ scroll_fault

int scroll_fault

◆ stat_pop_flag

uint8_t stat_pop_flag
extern

◆ sub_index

uint8_t sub_index = 0

◆ timer

struct itimerval timer

◆ tmp

int tmp

◆ tmp1

int tmp1

◆ upgrade_index

int upgrade_index = 1