Zigbee Protocol Controller 1.6.0
zigpc_config.h
Go to the documentation of this file.
1/******************************************************************************
2 * # License
3 * <b>Copyright 2020 Silicon Laboratories Inc. www.silabs.com</b>
4 ******************************************************************************
5 * The licensor of this software is Silicon Laboratories Inc. Your use of this
6 * software is governed by the terms of Silicon Labs Master Software License
7 * Agreement (MSLA) available at
8 * www.silabs.com/about-us/legal/master-software-license-agreement. This
9 * software is distributed to you in Source Code format and is governed by the
10 * sections of the MSLA applicable to Source Code.
11 *
12 *****************************************************************************/
13
27#if !defined(ZIGPC_CONFIG_H)
28#define ZIGPC_CONFIG_H
29
30#include <stdbool.h>
31#include <stdint.h>
32
33#ifdef __cplusplus
34extern "C" {
35#endif
36
41typedef struct {
42 const char *mqtt_host;
44 const char *serial_port;
45 const char *datastore_file;
49
53
54 const char *ota_path;
55
60
62
68
77
78#ifdef __cplusplus
79}
80#endif
81
84#endif // ZIGPC_CONFIG_H
const zigpc_config_t * zigpc_get_config(void)
Get the current configuration. This must only be called after zigpc_config_init.
Definition: zigpc_config.c:196
int zigpc_config_init()
Initialize the configuration module.
Definition: zigpc_config.c:54
Reference to options used by ZigPC.
Definition: zigpc_config.h:41
const char * ota_path
Definition: zigpc_config.h:54
const char * datastore_file
Definition: zigpc_config.h:45
bool ncp_update_firmware_flag
Definition: zigpc_config.h:51
bool use_network_args
Definition: zigpc_config.h:56
const char * ncp_update_firmware_path
Definition: zigpc_config.h:52
const char * serial_port
Definition: zigpc_config.h:44
int mqtt_port
Definition: zigpc_config.h:43
uint8_t network_channel
Definition: zigpc_config.h:59
bool tc_use_well_known_key
Definition: zigpc_config.h:46
int attr_polling_rate_ms
Definition: zigpc_config.h:48
const char * mqtt_host
Definition: zigpc_config.h:42
int8_t network_radio_power
Definition: zigpc_config.h:58
uint16_t network_pan_id
Definition: zigpc_config.h:57
bool poll_attr_only
Definition: zigpc_config.h:50