Source that handles the discovery part of all module details.
More...
#include "AppGlobal.h"
#include "../Header/API_Header/AppDataInterface.h"
|
void | retrieveAndCopyHandlers (uint16_t *(*getHandlerFunc)(void), uint16_t *destArray, const char *moduleName, uint16_t maxHandlers) |
| Helper function to retrieve and copy handlers.
|
|
void | retrieveAndCopyHandlersWithArg (uint16_t *(*getHandlerFunc)(uint16_t), uint16_t *destArray, const char *moduleName, uint16_t maxHandlers, uint16_t handler, uint16_t *count) |
| Helper function to retrieve and copy handlers with arguments.
|
|
int | start_discovery () |
| Function that processes the discovery details.
|
|
int | fetch_pressure_zone_handlers (uint8_t pz_count) |
| Function that fetches all the individual pressure zone handler details.
|
|
int | fetch_prop_zone_details (uint8_t prop_zone_count) |
| Function that fetches all the individual property zone details.
|
|
int | get_pin_details () |
|
Source that handles the discovery part of all module details.
◆ fetch_pressure_zone_handlers()
int fetch_pressure_zone_handlers |
( |
uint8_t | pz_count | ) |
|
Function that fetches all the individual pressure zone handler details.
- Parameters
-
pz_count | The number of pressure zones to fetch details for |
- Returns
- API_SUCCESS_test
◆ fetch_prop_zone_details()
int fetch_prop_zone_details |
( |
uint8_t | prop_zone_count | ) |
|
Function that fetches all the individual property zone details.
- Parameters
-
prop_zone_count | The number of property zones to fetch details for |
- Returns
- API_SUCCESS_test
◆ get_pin_details()
◆ retrieveAndCopyHandlers()
void retrieveAndCopyHandlers |
( |
uint16_t *(* | getHandlerFunc )(void), |
|
|
uint16_t * | destArray, |
|
|
const char * | moduleName, |
|
|
uint16_t | maxHandlers ) |
Helper function to retrieve and copy handlers.
◆ retrieveAndCopyHandlersWithArg()
void retrieveAndCopyHandlersWithArg |
( |
uint16_t *(* | getHandlerFunc )(uint16_t), |
|
|
uint16_t * | destArray, |
|
|
const char * | moduleName, |
|
|
uint16_t | maxHandlers, |
|
|
uint16_t | handler, |
|
|
uint16_t * | count ) |
Helper function to retrieve and copy handlers with arguments.
◆ start_discovery()
Function that processes the discovery details.
- Returns
- API_SUCCESS_test
◆ ai_handlers
uint16_t ai_handlers[MACRO_MAX_IO_HANDLERS] = {0} |
◆ aio_handlers
uint16_t aio_handlers[MACRO_MAX_IO_HANDLERS] = {0} |
◆ ao_handlers
uint16_t ao_handlers[MACRO_MAX_IO_HANDLERS] = {0} |
◆ di_handlers
uint16_t di_handlers[MACRO_MAX_IO_HANDLERS] = {0} |
◆ diag_handlers
uint16_t diag_handlers[MACRO_MAX_DIAG_VALVE_PER_PZZONE *MACRO_MAX_PRESSURE_ZONE] = {0} |
◆ dio_handlers
uint16_t dio_handlers[MACRO_MAX_IO_HANDLERS] = {0} |
◆ discover_details
s_discovery_details discover_details |
◆ do_handlers
uint16_t do_handlers[MACRO_MAX_IO_HANDLERS] = {0} |
◆ g_diagvalve_count
uint16_t g_diagvalve_count = 0 |
◆ g_isemdiag_count
uint16_t g_isemdiag_count = 0 |
◆ g_propstation_count
uint16_t g_propstation_count = 0 |
◆ g_standardvalve_count
uint16_t g_standardvalve_count = 0 |
◆ g_start_flag
◆ g_total_analog_count
uint8_t g_total_analog_count = 0 |
◆ g_total_count
uint8_t g_total_count = 0 |
◆ g_total_digital_count
uint8_t g_total_digital_count = 0 |
◆ g_total_io_count
uint8_t g_total_io_count = 0 |
◆ isemdiag_handlers
uint16_t isemdiag_handlers[MACRO_MAX_ISEM_PER_PZZONE *MACRO_MAX_PRESSURE_ZONE] = {0} |
◆ mbn_handler_linux
uint16_t mbn_handler_linux |
◆ prop_station_handlers
uint16_t prop_station_handlers[MACRO_MAX_PROP_STATION_PER_ZONE *MACRO_MAX_PRESSURE_ZONE] = {0} |
◆ prop_zone_handlers
uint16_t prop_zone_handlers[MACRO_MAX_PROP_ZONE_HANDLERS] = {0} |
◆ pz_count_details
s_prszone_device_count_details pz_count_details[MACRO_MAX_PRESSURE_ZONE] |
◆ pz_handlers
uint16_t pz_handlers[MACRO_MAX_PZ_HANDLERS] = {0} |
◆ standard_valve_handlers
uint16_t standard_valve_handlers[MACRO_MAX_STANDARD_VALVE_PER_PZZONE *MACRO_MAX_PRESSURE_ZONE] = {0} |