新增:添加 Wi-Fi 和 MQTT 连接状态变量,并更新 UI

- 引入了新的全局变量,用于跟踪 Wi-Fi 和 MQTT 连接状态。
- 实现了 Wi-Fi 和 MQTT 连接状态的 getter 和 setter 函数。
- 增加了管理网络信息和时间同步的功能。
- 更新了主应用程序逻辑,以反映 UI 中的当前连接状态。
- 改进了 Wi-Fi 连接处理,以定期发布网络信息。
-土壤湿度和空气温度的综合阈值变量被整合到 UI 中。
This commit is contained in:
Wang Beihong
2026-03-14 18:10:43 +08:00
parent bec31c01ce
commit ce2cf9a9ee
18 changed files with 1109 additions and 43 deletions

View File

@@ -16,7 +16,11 @@
"ui_image_humi.c",
"ui_image_light.c",
"ui_image_mois.c",
"ui_image_mqtt_connected.c",
"ui_image_mqtt_disconnected.c",
"ui_image_temp.c",
"ui_image_wifi_connect.c",
"ui_image_wifi_disconnect.c",
"vars.h"
]
}

View File

@@ -1,8 +1,12 @@
#include "images.h"
const ext_img_desc_t images[4] = {
const ext_img_desc_t images[8] = {
{ "temp", &img_temp },
{ "humi", &img_humi },
{ "mois", &img_mois },
{ "light", &img_light },
{ "wifi_connect", &img_wifi_connect },
{ "wifi_disconnect", &img_wifi_disconnect },
{ "mqtt_connected", &img_mqtt_connected },
{ "mqtt_disconnected", &img_mqtt_disconnected },
};

View File

@@ -11,6 +11,10 @@ extern const lv_img_dsc_t img_temp;
extern const lv_img_dsc_t img_humi;
extern const lv_img_dsc_t img_mois;
extern const lv_img_dsc_t img_light;
extern const lv_img_dsc_t img_wifi_connect;
extern const lv_img_dsc_t img_wifi_disconnect;
extern const lv_img_dsc_t img_mqtt_connected;
extern const lv_img_dsc_t img_mqtt_disconnected;
#ifndef EXT_IMG_DESC_T
#define EXT_IMG_DESC_T
@@ -20,7 +24,7 @@ typedef struct _ext_img_desc_t {
} ext_img_desc_t;
#endif
extern const ext_img_desc_t images[4];
extern const ext_img_desc_t images[8];
#ifdef __cplusplus
}

View File

@@ -33,7 +33,7 @@ void create_screen_main() {
{
lv_obj_t *obj = lv_label_create(parent_obj);
objects.obj0 = obj;
lv_obj_set_pos(obj, 16, 0);
lv_obj_set_pos(obj, 16, 53);
lv_obj_set_size(obj, LV_SIZE_CONTENT, LV_SIZE_CONTENT);
lv_obj_set_style_text_font(obj, &ui_font_source_han_sans_sc_medium_22, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_color(obj, lv_color_hex(0xffffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
@@ -42,7 +42,7 @@ void create_screen_main() {
{
lv_obj_t *obj = lv_label_create(parent_obj);
objects.obj1 = obj;
lv_obj_set_pos(obj, 129, 2);
lv_obj_set_pos(obj, 129, 55);
lv_obj_set_size(obj, LV_SIZE_CONTENT, LV_SIZE_CONTENT);
lv_obj_set_style_text_font(obj, &ui_font_source_han_sans_sc_medium_22, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_color(obj, lv_color_hex(0xffffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
@@ -51,7 +51,7 @@ void create_screen_main() {
{
lv_obj_t *obj = lv_label_create(parent_obj);
objects.obj2 = obj;
lv_obj_set_pos(obj, 16, 77);
lv_obj_set_pos(obj, 16, 128);
lv_obj_set_size(obj, LV_SIZE_CONTENT, LV_SIZE_CONTENT);
lv_obj_set_style_text_font(obj, &ui_font_source_han_sans_sc_medium_22, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_color(obj, lv_color_hex(0xffffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
@@ -60,7 +60,7 @@ void create_screen_main() {
{
lv_obj_t *obj = lv_label_create(parent_obj);
objects.obj3 = obj;
lv_obj_set_pos(obj, 129, 79);
lv_obj_set_pos(obj, 129, 130);
lv_obj_set_size(obj, LV_SIZE_CONTENT, LV_SIZE_CONTENT);
lv_obj_set_style_text_font(obj, &ui_font_source_han_sans_sc_medium_22, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_color(obj, lv_color_hex(0xffffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
@@ -69,67 +69,67 @@ void create_screen_main() {
{
lv_obj_t *obj = lv_label_create(parent_obj);
objects.obj4 = obj;
lv_obj_set_pos(obj, 16, 38);
lv_obj_set_pos(obj, 4, 88);
lv_obj_set_size(obj, LV_SIZE_CONTENT, LV_SIZE_CONTENT);
lv_obj_set_style_text_font(obj, &ui_font_source_han_sans_sc_medium_22, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_color(obj, lv_color_hex(0xffffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_font(obj, &lv_font_montserrat_26, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_color(obj, lv_color_hex(0xff1afa29), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_label_set_text(obj, "");
}
{
lv_obj_t *obj = lv_label_create(parent_obj);
objects.obj5 = obj;
lv_obj_set_pos(obj, 129, 38);
lv_obj_set_pos(obj, 127, 86);
lv_obj_set_size(obj, LV_SIZE_CONTENT, LV_SIZE_CONTENT);
lv_obj_set_style_text_font(obj, &ui_font_source_han_sans_sc_medium_22, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_color(obj, lv_color_hex(0xffffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_font(obj, &lv_font_montserrat_26, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_color(obj, lv_color_hex(0xffd81e06), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_label_set_text(obj, "");
}
{
lv_obj_t *obj = lv_label_create(parent_obj);
objects.obj6 = obj;
lv_obj_set_pos(obj, 16, 116);
lv_obj_set_pos(obj, 4, 163);
lv_obj_set_size(obj, LV_SIZE_CONTENT, LV_SIZE_CONTENT);
lv_obj_set_style_text_font(obj, &ui_font_source_han_sans_sc_medium_22, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_color(obj, lv_color_hex(0xffffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_font(obj, &lv_font_montserrat_26, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_color(obj, lv_color_hex(0xff1296db), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_label_set_text(obj, "");
}
{
lv_obj_t *obj = lv_label_create(parent_obj);
objects.obj7 = obj;
lv_obj_set_pos(obj, 129, 116);
lv_obj_set_pos(obj, 127, 163);
lv_obj_set_size(obj, LV_SIZE_CONTENT, LV_SIZE_CONTENT);
lv_obj_set_style_text_font(obj, &ui_font_source_han_sans_sc_medium_22, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_color(obj, lv_color_hex(0xffffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_font(obj, &lv_font_montserrat_26, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_color(obj, lv_color_hex(0xff13227a), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_label_set_text(obj, "");
}
{
lv_obj_t *obj = lv_image_create(parent_obj);
lv_obj_set_pos(obj, 72, 27);
lv_obj_set_pos(obj, 72, 78);
lv_obj_set_size(obj, LV_SIZE_CONTENT, LV_SIZE_CONTENT);
lv_image_set_src(obj, &img_temp);
}
{
lv_obj_t *obj = lv_image_create(parent_obj);
lv_obj_set_pos(obj, 192, 27);
lv_obj_set_pos(obj, 192, 78);
lv_obj_set_size(obj, LV_SIZE_CONTENT, LV_SIZE_CONTENT);
lv_image_set_src(obj, &img_humi);
}
{
lv_obj_t *obj = lv_image_create(parent_obj);
lv_obj_set_pos(obj, 72, 105);
lv_obj_set_pos(obj, 72, 156);
lv_obj_set_size(obj, LV_SIZE_CONTENT, LV_SIZE_CONTENT);
lv_image_set_src(obj, &img_mois);
}
{
lv_obj_t *obj = lv_image_create(parent_obj);
lv_obj_set_pos(obj, 192, 105);
lv_obj_set_pos(obj, 192, 156);
lv_obj_set_size(obj, LV_SIZE_CONTENT, LV_SIZE_CONTENT);
lv_image_set_src(obj, &img_light);
}
{
lv_obj_t *obj = lv_line_create(parent_obj);
objects.obj8 = obj;
lv_obj_set_pos(obj, 0, 75);
lv_obj_set_pos(obj, 0, 126);
lv_obj_set_size(obj, LV_SIZE_CONTENT, LV_SIZE_CONTENT);
static lv_point_precise_t line_points[] = {
{ 0, 0 },
@@ -141,7 +141,7 @@ void create_screen_main() {
{
lv_obj_t *obj = lv_line_create(parent_obj);
objects.obj9 = obj;
lv_obj_set_pos(obj, 0, 160);
lv_obj_set_pos(obj, 0, 51);
lv_obj_set_size(obj, LV_SIZE_CONTENT, LV_SIZE_CONTENT);
static lv_point_precise_t line_points[] = {
{ 0, 0 },
@@ -153,15 +153,100 @@ void create_screen_main() {
{
lv_obj_t *obj = lv_line_create(parent_obj);
objects.obj10 = obj;
lv_obj_set_pos(obj, 120, 0);
lv_obj_set_pos(obj, 122, 51);
lv_obj_set_size(obj, LV_SIZE_CONTENT, LV_SIZE_CONTENT);
static lv_point_precise_t line_points[] = {
{ 0, 0 },
{ 0, 160 }
{ 0, 154 }
};
lv_line_set_points(obj, line_points, 2);
lv_obj_set_style_line_color(obj, lv_color_hex(0xffffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
}
{
lv_obj_t *obj = lv_image_create(parent_obj);
objects.obj17 = obj;
lv_obj_set_pos(obj, 0, 19);
lv_obj_set_size(obj, LV_SIZE_CONTENT, LV_SIZE_CONTENT);
lv_image_set_src(obj, &img_wifi_connect);
}
{
lv_obj_t *obj = lv_image_create(parent_obj);
objects.obj18 = obj;
lv_obj_set_pos(obj, 0, 19);
lv_obj_set_size(obj, LV_SIZE_CONTENT, LV_SIZE_CONTENT);
lv_image_set_src(obj, &img_wifi_disconnect);
}
{
lv_obj_t *obj = lv_image_create(parent_obj);
objects.obj19 = obj;
lv_obj_set_pos(obj, 33, 19);
lv_obj_set_size(obj, LV_SIZE_CONTENT, LV_SIZE_CONTENT);
lv_image_set_src(obj, &img_mqtt_disconnected);
}
{
lv_obj_t *obj = lv_image_create(parent_obj);
objects.obj20 = obj;
lv_obj_set_pos(obj, 33, 19);
lv_obj_set_size(obj, LV_SIZE_CONTENT, LV_SIZE_CONTENT);
lv_image_set_src(obj, &img_mqtt_connected);
}
{
lv_obj_t *obj = lv_label_create(parent_obj);
objects.obj11 = obj;
lv_obj_set_pos(obj, 0, 3);
lv_obj_set_size(obj, LV_SIZE_CONTENT, LV_SIZE_CONTENT);
lv_obj_set_style_text_color(obj, lv_color_hex(0xfff8f8f8), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_font(obj, &lv_font_montserrat_14, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_label_set_text(obj, "");
}
{
lv_obj_t *obj = lv_label_create(parent_obj);
objects.obj12 = obj;
lv_obj_set_pos(obj, 64, 25);
lv_obj_set_size(obj, LV_SIZE_CONTENT, LV_SIZE_CONTENT);
lv_obj_set_style_text_font(obj, &lv_font_montserrat_18, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_color(obj, lv_color_hex(0xffffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_label_set_text(obj, "");
}
{
lv_obj_t *obj = lv_line_create(parent_obj);
objects.obj13 = obj;
lv_obj_set_pos(obj, 0, 204);
lv_obj_set_size(obj, LV_SIZE_CONTENT, LV_SIZE_CONTENT);
static lv_point_precise_t line_points[] = {
{ 0, 0 },
{ 240, 0 }
};
lv_line_set_points(obj, line_points, 2);
lv_obj_set_style_line_color(obj, lv_color_hex(0xffffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
}
{
lv_obj_t *obj = lv_label_create(parent_obj);
objects.obj14 = obj;
lv_obj_set_pos(obj, 0, 209);
lv_obj_set_size(obj, LV_SIZE_CONTENT, LV_SIZE_CONTENT);
lv_obj_set_style_text_font(obj, &ui_font_source_han_sans_sc_medium_22, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_color(obj, lv_color_hex(0xffffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_label_set_text(obj, "阈值(土/光)");
}
{
lv_obj_t *obj = lv_label_create(parent_obj);
objects.obj15 = obj;
lv_obj_set_pos(obj, 120, 222);
lv_obj_set_size(obj, LV_SIZE_CONTENT, LV_SIZE_CONTENT);
lv_obj_set_style_text_color(obj, lv_color_hex(0xff1afa29), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_font(obj, &lv_font_montserrat_14, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_label_set_text(obj, "");
}
{
lv_obj_t *obj = lv_label_create(parent_obj);
objects.obj16 = obj;
lv_obj_set_pos(obj, 120, 206);
lv_obj_set_size(obj, LV_SIZE_CONTENT, LV_SIZE_CONTENT);
lv_obj_set_style_text_color(obj, lv_color_hex(0xff1296db), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_font(obj, &lv_font_montserrat_14, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_label_set_text(obj, "");
}
}
tick_screen_main();
@@ -204,6 +289,94 @@ void tick_screen_main() {
tick_value_change_obj = NULL;
}
}
{
bool new_val = get_var_wifi_disconnected();
bool cur_val = lv_obj_has_flag(objects.obj17, LV_OBJ_FLAG_HIDDEN);
if (new_val != cur_val) {
tick_value_change_obj = objects.obj17;
if (new_val) {
lv_obj_add_flag(objects.obj17, LV_OBJ_FLAG_HIDDEN);
} else {
lv_obj_remove_flag(objects.obj17, LV_OBJ_FLAG_HIDDEN);
}
tick_value_change_obj = NULL;
}
}
{
bool new_val = get_var_wifi_connected();
bool cur_val = lv_obj_has_flag(objects.obj18, LV_OBJ_FLAG_HIDDEN);
if (new_val != cur_val) {
tick_value_change_obj = objects.obj18;
if (new_val) {
lv_obj_add_flag(objects.obj18, LV_OBJ_FLAG_HIDDEN);
} else {
lv_obj_remove_flag(objects.obj18, LV_OBJ_FLAG_HIDDEN);
}
tick_value_change_obj = NULL;
}
}
{
bool new_val = get_var_mqtt_connected();
bool cur_val = lv_obj_has_flag(objects.obj19, LV_OBJ_FLAG_HIDDEN);
if (new_val != cur_val) {
tick_value_change_obj = objects.obj19;
if (new_val) {
lv_obj_add_flag(objects.obj19, LV_OBJ_FLAG_HIDDEN);
} else {
lv_obj_remove_flag(objects.obj19, LV_OBJ_FLAG_HIDDEN);
}
tick_value_change_obj = NULL;
}
}
{
bool new_val = get_var_mqtt_disconnected();
bool cur_val = lv_obj_has_flag(objects.obj20, LV_OBJ_FLAG_HIDDEN);
if (new_val != cur_val) {
tick_value_change_obj = objects.obj20;
if (new_val) {
lv_obj_add_flag(objects.obj20, LV_OBJ_FLAG_HIDDEN);
} else {
lv_obj_remove_flag(objects.obj20, LV_OBJ_FLAG_HIDDEN);
}
tick_value_change_obj = NULL;
}
}
{
const char *new_val = get_var_iot_net_info();
const char *cur_val = lv_label_get_text(objects.obj11);
if (strcmp(new_val, cur_val) != 0) {
tick_value_change_obj = objects.obj11;
lv_label_set_text(objects.obj11, new_val);
tick_value_change_obj = NULL;
}
}
{
const char *new_val = get_var_sntp_time();
const char *cur_val = lv_label_get_text(objects.obj12);
if (strcmp(new_val, cur_val) != 0) {
tick_value_change_obj = objects.obj12;
lv_label_set_text(objects.obj12, new_val);
tick_value_change_obj = NULL;
}
}
{
const char *new_val = get_var_air_temp_num();
const char *cur_val = lv_label_get_text(objects.obj15);
if (strcmp(new_val, cur_val) != 0) {
tick_value_change_obj = objects.obj15;
lv_label_set_text(objects.obj15, new_val);
tick_value_change_obj = NULL;
}
}
{
const char *new_val = get_var_soil_mois_num();
const char *cur_val = lv_label_get_text(objects.obj16);
if (strcmp(new_val, cur_val) != 0) {
tick_value_change_obj = objects.obj16;
lv_label_set_text(objects.obj16, new_val);
tick_value_change_obj = NULL;
}
}
}
typedef void (*tick_screen_func_t)();

View File

@@ -28,6 +28,16 @@ typedef struct _objects_t {
lv_obj_t *obj8;
lv_obj_t *obj9;
lv_obj_t *obj10;
lv_obj_t *obj11;
lv_obj_t *obj12;
lv_obj_t *obj13;
lv_obj_t *obj14;
lv_obj_t *obj15;
lv_obj_t *obj16;
lv_obj_t *obj17;
lv_obj_t *obj18;
lv_obj_t *obj19;
lv_obj_t *obj20;
} objects_t;
extern objects_t objects;

View File

@@ -1,7 +1,7 @@
/*******************************************************************************
* Size: 22 px
* Bpp: 8
* Opts: --bpp 8 --size 22 --no-compress --font ..\09_SourceHanSansSC\OTF\SimplifiedChinese\SourceHanSansSC-Medium.otf --symbols 温湿度光照土壤空气强 --range 32-127 --format lvgl
* Opts: --bpp 8 --size 22 --no-compress --font ..\09_SourceHanSansSC\OTF\SimplifiedChinese\SourceHanSansSC-Medium.otf --symbols 温湿度光照土壤空气强阈值 --range 32-127 --format lvgl
******************************************************************************/
#ifdef __has_include
@@ -2278,6 +2278,66 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0xfe, 0xff, 0xee, 0x24, 0x0, 0xb, 0x24, 0x0,
0x0, 0x0, 0x4b, 0xc7, 0xf4, 0xbc, 0x29, 0x0,
/* U+503C "值" */
0x0, 0x0, 0x0, 0x0, 0x0, 0x86, 0x66, 0xd,
0x0, 0x0, 0x0, 0x0, 0x1d, 0xbb, 0xae, 0x6,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x2b, 0xff, 0xf2, 0xe, 0x0, 0x0,
0x0, 0x0, 0x40, 0xff, 0xdf, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x9c, 0xff, 0x8f, 0x8d, 0xa7, 0xa7, 0xa7, 0xa7,
0xc4, 0xff, 0xe9, 0xa7, 0xa7, 0xa7, 0xa7, 0xa7,
0x49, 0x0, 0x0, 0x0, 0x0, 0x16, 0xf8, 0xfd,
0x21, 0xd7, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x6f, 0x0,
0x0, 0x0, 0x0, 0x80, 0xff, 0x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ff, 0xeb, 0x0,
0x39, 0xe, 0x0, 0x0, 0x1a, 0xf1, 0xfc, 0x4b,
0xc, 0xc8, 0xff, 0xb6, 0x0, 0xeb, 0xff, 0x27,
0x23, 0xff, 0xeb, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x98, 0x6e, 0x0, 0x0, 0x0, 0x27, 0x8,
0x0, 0xef, 0xff, 0x24, 0x23, 0xff, 0xeb, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x4, 0x0, 0x0,
0x0, 0x3e, 0xd0, 0xcb, 0xd6, 0xff, 0xf9, 0x5,
0x23, 0xff, 0xeb, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x5, 0xe9, 0xf8,
0xee, 0xc2, 0x4e, 0x0
};
/*---------------------
@@ -2967,16 +3082,18 @@ static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = {
{.bitmap_index = 15885, .adv_w = 99, .box_w = 2, .box_h = 26, .ofs_x = 2, .ofs_y = -6},
{.bitmap_index = 15937, .adv_w = 125, .box_w = 7, .box_h = 23, .ofs_x = 0, .ofs_y = -5},
{.bitmap_index = 16098, .adv_w = 201, .box_w = 12, .box_h = 4, .ofs_x = 0, .ofs_y = 7},
{.bitmap_index = 16146, .adv_w = 352, .box_w = 22, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 16630, .adv_w = 352, .box_w = 20, .box_h = 20, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 17030, .adv_w = 352, .box_w = 22, .box_h = 21, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 16146, .adv_w = 352, .box_w = 22, .box_h = 21, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 16608, .adv_w = 352, .box_w = 22, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 17092, .adv_w = 352, .box_w = 20, .box_h = 20, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 17492, .adv_w = 352, .box_w = 22, .box_h = 21, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 17954, .adv_w = 352, .box_w = 22, .box_h = 21, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 18416, .adv_w = 352, .box_w = 22, .box_h = 21, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 17954, .adv_w = 352, .box_w = 22, .box_h = 21, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 18416, .adv_w = 352, .box_w = 22, .box_h = 21, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 18878, .adv_w = 352, .box_w = 22, .box_h = 21, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 19340, .adv_w = 352, .box_w = 22, .box_h = 21, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 19802, .adv_w = 352, .box_w = 22, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 20242, .adv_w = 352, .box_w = 20, .box_h = 21, .ofs_x = 1, .ofs_y = -2}
{.bitmap_index = 19802, .adv_w = 352, .box_w = 22, .box_h = 21, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 20264, .adv_w = 352, .box_w = 22, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 20704, .adv_w = 352, .box_w = 20, .box_h = 21, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 21124, .adv_w = 352, .box_w = 20, .box_h = 21, .ofs_x = 1, .ofs_y = -2}
};
/*---------------------
@@ -2984,8 +3101,8 @@ static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = {
*--------------------*/
static const uint16_t unicode_list_1[] = {
0x0, 0x5d6, 0x79b, 0xd5d, 0xdf1, 0x1acb, 0x1ce0, 0x1d36,
0x201e, 0x2931
0x0, 0x10d, 0x6e3, 0x8a8, 0xe6a, 0xefe, 0x1bd8, 0x1ded,
0x1e43, 0x212b, 0x2a3e, 0x45cc
};
/*Collect the unicode lists and glyph_id offsets*/
@@ -2996,8 +3113,8 @@ static const lv_font_fmt_txt_cmap_t cmaps[] =
.unicode_list = NULL, .glyph_id_ofs_list = NULL, .list_length = 0, .type = LV_FONT_FMT_TXT_CMAP_FORMAT0_TINY
},
{
.range_start = 20809, .range_length = 10546, .glyph_id_start = 96,
.unicode_list = unicode_list_1, .glyph_id_ofs_list = NULL, .list_length = 10, .type = LV_FONT_FMT_TXT_CMAP_SPARSE_TINY
.range_start = 20540, .range_length = 17869, .glyph_id_start = 96,
.unicode_list = unicode_list_1, .glyph_id_ofs_list = NULL, .list_length = 12, .type = LV_FONT_FMT_TXT_CMAP_SPARSE_TINY
}
};
@@ -3021,7 +3138,7 @@ static const uint8_t kern_left_class_mapping[] =
29, 29, 37, 38, 39, 40, 37, 41,
42, 43, 44, 45, 2, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0
0, 0, 0, 0
};
/*Map glyph_ids to kern right classes*/
@@ -3040,7 +3157,7 @@ static const uint8_t kern_right_class_mapping[] =
25, 30, 25, 30, 31, 32, 33, 34,
35, 36, 37, 38, 0, 0, 3, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0
0, 0, 0, 0
};
/*Kern values between classes*/

View File

@@ -0,0 +1,79 @@
#ifdef __has_include
#if __has_include("lvgl.h")
#ifndef LV_LVGL_H_INCLUDE_SIMPLE
#define LV_LVGL_H_INCLUDE_SIMPLE
#endif
#endif
#endif
#if defined(LV_LVGL_H_INCLUDE_SIMPLE)
#include "lvgl.h"
#elif defined(LV_LVGL_H_INCLUDE_SYSTEM)
#include <lvgl.h>
#elif defined(LV_BUILD_TEST)
#include "../lvgl.h"
#else
#include "lvgl/lvgl.h"
#endif
#ifndef LV_ATTRIBUTE_MEM_ALIGN
#define LV_ATTRIBUTE_MEM_ALIGN
#endif
#ifndef LV_ATTRIBUTE_IMG_MQTT_CONNECTED
#define LV_ATTRIBUTE_IMG_MQTT_CONNECTED
#endif
static const
LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_MQTT_CONNECTED
uint8_t img_mqtt_connected_map[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xf1,0x0a,0x17,0x0c,0x17,0x0c,0x17,0x0c,0x17,0x0c,0x17,0x0c,0x17,0x0c,0x17,0x0c,0x17,0x0c,0x17,0x0c,0x17,0x0c,0x74,0x0b,0x4d,0x0a,0x83,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x4d,0x0a,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x4d,0x0a,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x83,0x00,0x83,0x00,0x83,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x83,0x00,0x83,0x00,0x83,0x00,0x83,0x00,0x83,0x00,0x83,0x00,0x00,0x00,0x00,0x00,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x17,0x0c,0x17,0x0c,0x17,0x0c,0x17,0x0c,0x17,0x0c,0x17,0x0c,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x74,0x0b,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x00,0x00,0x4d,0x0a,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x74,0x0b,0x00,0x00,0x00,0x00,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xaa,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x26,0x01,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x4d,0x0a,0x17,0x0c,0x17,0x0c,0xf1,0x0a,0x00,0x00,0x83,0x00,0x17,0x0c,0x17,0x0c,0x17,0x0c,0x17,0x0c,0x17,0x0c,0x17,0x0c,0x4d,0x0a,0x00,0x00,0x00,0x00,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x4d,0x0a,0x83,0x00,0x83,0x00,0x83,0x00,0x83,0x00,0x83,0x00,0xf1,0x0a,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x26,0x01,0xaa,0x01,0xaa,0x01,0xaa,0x01,0xaa,0x01,0xaa,0x01,0x26,0x01,0x83,0x00,0x00,0x00,0x26,0x01,0xaa,0x01,0xaa,0x01,0x83,0x00,0x00,0x00,0x00,0x00,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x17,0x0c,0xf1,0x0a,0xf1,0x0a,0xf1,0x0a,0xf1,0x0a,0xf1,0x0a,0x17,0x0c,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x17,0x0c,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xaa,0x01,0x83,0x00,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x74,0x0b,0x00,0x00,0x00,0x00,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x26,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x26,0x01,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0xaa,0x01,0xf1,0x0a,0xf1,0x0a,0xf1,0x0a,0xf1,0x0a,0xf1,0x0a,0xf1,0x0a,0x83,0x00,0x00,0x00,0x4d,0x0a,0xf1,0x0a,0xf1,0x0a,0x26,0x01,0x00,0x00,0x00,0x00,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xf1,0x0a,0xaa,0x01,0xaa,0x01,0xaa,0x01,0xaa,0x01,0xaa,0x01,0x74,0x0b,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xf1,0x0a,0xf1,0x0a,0xf1,0x0a,0xf1,0x0a,0x74,0x0b,0x17,0x0c,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x26,0x01,0xf1,0x0a,0xf1,0x0a,0xaa,0x01,0x00,0x00,0x83,0x00,0xf1,0x0a,0xf1,0x0a,0xf1,0x0a,0xf1,0x0a,0xf1,0x0a,0xf1,0x0a,0xaa,0x01,0x00,0x00,0x00,0x00,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x26,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x26,0x01,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x17,0x0c,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x00,0x00,0xaa,0x01,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x17,0x0c,0x00,0x00,0x00,0x00,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xf1,0x0a,0x26,0x01,0x26,0x01,0x26,0x01,0x26,0x01,0x26,0x01,0x74,0x0b,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x26,0x01,0xaa,0x01,0xaa,0x01,0x26,0x01,0x00,0x00,0x00,0x00,0x26,0x01,0xaa,0x01,0xaa,0x01,0xaa,0x01,0xaa,0x01,0xaa,0x01,0x83,0x00,0x00,0x00,0x00,0x00,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x26,0x01,0x4d,0x0a,0x4d,0x0a,0x4d,0x0a,0x4d,0x0a,0x4d,0x0a,0x4d,0x0a,0x83,0x00,0x00,0x00,0x26,0x01,0x4d,0x0a,0x4d,0x0a,0x26,0x01,0x00,0x00,0x00,0x00,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x74,0x0b,0x4d,0x0a,0x4d,0x0a,0x4d,0x0a,0x4d,0x0a,0x4d,0x0a,0x74,0x0b,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x17,0x0c,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xaa,0x01,0x00,0x00,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x17,0x0c,0x00,0x00,0x00,0x00,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x83,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x26,0x01,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x26,0x01,0x4d,0x0a,0x4d,0x0a,0x4d,0x0a,0x4d,0x0a,0x4d,0x0a,0xaa,0x01,0x00,0x00,0x00,0x00,0x26,0x01,0x4d,0x0a,0x4d,0x0a,0x26,0x01,0x00,0x00,0x00,0x00,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x74,0x0b,0x4d,0x0a,0x4d,0x0a,0x4d,0x0a,0x4d,0x0a,0x4d,0x0a,0x74,0x0b,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x17,0x0c,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x17,0x0c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x4d,0x0a,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0xbb,0x14,0x4d,0x0a,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xf1,0x0a,0x17,0x0c,0x17,0x0c,0x17,0x0c,0x17,0x0c,0x17,0x0c,0x17,0x0c,0x17,0x0c,0x17,0x0c,0x17,0x0c,0x17,0x0c,0x17,0x0c,0xf1,0x0a,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
};
const lv_image_dsc_t img_mqtt_connected = {
.header = {
.magic = LV_IMAGE_HEADER_MAGIC,
.cf = LV_COLOR_FORMAT_RGB565,
.flags = 0,
.w = 32,
.h = 32,
.stride = 70,
.reserved_2 = 0,
},
.data_size = sizeof(img_mqtt_connected_map),
.data = img_mqtt_connected_map,
.reserved = NULL,
};

View File

@@ -0,0 +1,79 @@
#ifdef __has_include
#if __has_include("lvgl.h")
#ifndef LV_LVGL_H_INCLUDE_SIMPLE
#define LV_LVGL_H_INCLUDE_SIMPLE
#endif
#endif
#endif
#if defined(LV_LVGL_H_INCLUDE_SIMPLE)
#include "lvgl.h"
#elif defined(LV_LVGL_H_INCLUDE_SYSTEM)
#include <lvgl.h>
#elif defined(LV_BUILD_TEST)
#include "../lvgl.h"
#else
#include "lvgl/lvgl.h"
#endif
#ifndef LV_ATTRIBUTE_MEM_ALIGN
#define LV_ATTRIBUTE_MEM_ALIGN
#endif
#ifndef LV_ATTRIBUTE_IMG_MQTT_DISCONNECTED
#define LV_ATTRIBUTE_IMG_MQTT_DISCONNECTED
#endif
static const
LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_MQTT_DISCONNECTED
uint8_t img_mqtt_disconnected_map[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0xc0,0xb8,0xc0,0xb8,0xc0,0xb8,0xc0,0xb8,0xc0,0xb8,0xc0,0xb8,0xc0,0xb8,0xc0,0xb8,0xc0,0xb8,0xc0,0xb8,0xa0,0xa0,0x60,0x68,0x20,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x68,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0x60,0x68,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x20,0x18,0x20,0x18,0x20,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x18,0x20,0x18,0x20,0x18,0x20,0x18,0x20,0x18,0x20,0x18,0x00,0x00,0x00,0x00,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xc0,0xb8,0xc0,0xb8,0xc0,0xb8,0xc0,0xb8,0xc0,0xb8,0xc0,0xb8,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0xa0,0xa0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0x00,0x00,0x60,0x68,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xa0,0xa0,0x00,0x00,0x00,0x00,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0x40,0x50,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x30,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x60,0x68,0xc0,0xb8,0xc0,0xb8,0x80,0x80,0x00,0x00,0x20,0x18,0xc0,0xb8,0xc0,0xb8,0xc0,0xb8,0xc0,0xb8,0xc0,0xb8,0xc0,0xb8,0x60,0x68,0x00,0x00,0x00,0x00,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0x60,0x68,0x20,0x18,0x20,0x18,0x20,0x18,0x20,0x18,0x20,0x18,0x80,0x80,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x20,0x30,0x40,0x50,0x40,0x50,0x40,0x50,0x40,0x50,0x40,0x50,0x20,0x30,0x20,0x18,0x00,0x00,0x20,0x30,0x40,0x50,0x40,0x50,0x20,0x18,0x00,0x00,0x00,0x00,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xc0,0xb8,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0xc0,0xb8,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0xc0,0xb8,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0x40,0x50,0x20,0x18,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xa0,0xa0,0x00,0x00,0x00,0x00,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0x20,0x30,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x30,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x40,0x50,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x20,0x18,0x00,0x00,0x60,0x68,0x80,0x80,0x80,0x80,0x20,0x30,0x00,0x00,0x00,0x00,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0x80,0x80,0x40,0x50,0x40,0x50,0x40,0x50,0x40,0x50,0x40,0x50,0xa0,0xa0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0xa0,0xa0,0xc0,0xb8,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x20,0x30,0x80,0x80,0x80,0x80,0x40,0x50,0x00,0x00,0x20,0x18,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x40,0x50,0x00,0x00,0x00,0x00,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0x20,0x30,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x30,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0xc0,0xb8,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0x00,0x00,0x40,0x50,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xc0,0xb8,0x00,0x00,0x00,0x00,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0x80,0x80,0x20,0x30,0x20,0x30,0x20,0x30,0x20,0x30,0x20,0x30,0xa0,0xa0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x20,0x30,0x40,0x50,0x40,0x50,0x20,0x30,0x00,0x00,0x00,0x00,0x20,0x30,0x40,0x50,0x40,0x50,0x40,0x50,0x40,0x50,0x40,0x50,0x20,0x18,0x00,0x00,0x00,0x00,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x20,0x30,0x60,0x68,0x60,0x68,0x60,0x68,0x60,0x68,0x60,0x68,0x60,0x68,0x20,0x18,0x00,0x00,0x20,0x30,0x60,0x68,0x60,0x68,0x20,0x30,0x00,0x00,0x00,0x00,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xa0,0xa0,0x60,0x68,0x60,0x68,0x60,0x68,0x60,0x68,0x60,0x68,0xa0,0xa0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0xc0,0xb8,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0x40,0x50,0x00,0x00,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xc0,0xb8,0x00,0x00,0x00,0x00,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0x20,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x30,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x20,0x30,0x60,0x68,0x60,0x68,0x60,0x68,0x60,0x68,0x60,0x68,0x40,0x50,0x00,0x00,0x00,0x00,0x20,0x30,0x60,0x68,0x60,0x68,0x20,0x30,0x00,0x00,0x00,0x00,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xa0,0xa0,0x60,0x68,0x60,0x68,0x60,0x68,0x60,0x68,0x60,0x68,0xa0,0xa0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc0,0xb8,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xc0,0xb8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x68,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0xe0,0xd0,0x60,0x68,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0xc0,0xb8,0xc0,0xb8,0xc0,0xb8,0xc0,0xb8,0xc0,0xb8,0xc0,0xb8,0xc0,0xb8,0xc0,0xb8,0xc0,0xb8,0xc0,0xb8,0xc0,0xb8,0x80,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
};
const lv_image_dsc_t img_mqtt_disconnected = {
.header = {
.magic = LV_IMAGE_HEADER_MAGIC,
.cf = LV_COLOR_FORMAT_RGB565,
.flags = 0,
.w = 32,
.h = 32,
.stride = 70,
.reserved_2 = 0,
},
.data_size = sizeof(img_mqtt_disconnected_map),
.data = img_mqtt_disconnected_map,
.reserved = NULL,
};

View File

@@ -0,0 +1,79 @@
#ifdef __has_include
#if __has_include("lvgl.h")
#ifndef LV_LVGL_H_INCLUDE_SIMPLE
#define LV_LVGL_H_INCLUDE_SIMPLE
#endif
#endif
#endif
#if defined(LV_LVGL_H_INCLUDE_SIMPLE)
#include "lvgl.h"
#elif defined(LV_LVGL_H_INCLUDE_SYSTEM)
#include <lvgl.h>
#elif defined(LV_BUILD_TEST)
#include "../lvgl.h"
#else
#include "lvgl/lvgl.h"
#endif
#ifndef LV_ATTRIBUTE_MEM_ALIGN
#define LV_ATTRIBUTE_MEM_ALIGN
#endif
#ifndef LV_ATTRIBUTE_IMG_WIFI_CONNECT
#define LV_ATTRIBUTE_IMG_WIFI_CONNECT
#endif
static const
LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_WIFI_CONNECT
uint8_t img_wifi_connect_map[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc2,0x18,0x08,0x73,0xca,0x93,0x8c,0xb4,0x4f,0xd5,0x4f,0xd5,0x4f,0xd5,0xca,0x93,0x46,0x5a,0xc2,0x18,0x00,0x00,0x83,0x10,0x07,0x21,0x48,0x29,0x48,0x29,0x48,0x29,0x41,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc2,0x18,0x08,0x73,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x8d,0x5a,0x68,0x31,0x00,0x00,0x41,0x08,0x41,0x08,0x83,0x10,0x8a,0x39,0x07,0x21,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x73,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x90,0xdd,0x90,0xdd,0x0e,0x9c,0x2d,0x52,0x48,0x29,0x8a,0x39,0x8a,0x39,0x63,0x10,0x83,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x8c,0xb4,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x0f,0x9c,0x11,0xee,0x2c,0x7b,0x41,0x08,0x41,0x08,0xc5,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x8c,0xb4,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x90,0xb4,0x90,0xb4,0xac,0x62,0x83,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x73,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x8f,0x83,0x11,0xbd,0x08,0x73,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc2,0x18,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x90,0xb4,0xb6,0x63,0x71,0x7b,0x4f,0xd5,0x84,0x39,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xca,0x93,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x90,0xb4,0x18,0x6c,0xf0,0x62,0x11,0xee,0xca,0x93,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x90,0xb4,0x18,0x6c,0xf0,0x62,0x11,0xee,0x11,0xee,0x84,0x39,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x46,0x5a,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x90,0xb4,0x18,0x6c,0xf0,0x62,0x11,0xee,0x11,0xee,0x46,0x5a,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0xca,0x93,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x90,0xb4,0x18,0x6c,0xf0,0x62,0x11,0xee,0x11,0xee,0x8c,0xb4,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x4f,0xd5,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x90,0xb4,0x18,0x6c,0xf0,0x62,0x11,0xee,0x11,0xee,0x8c,0xb4,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x4f,0xd5,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x90,0xb4,0x18,0x6c,0xf0,0x62,0x11,0xee,0x11,0xee,0x4f,0xd5,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0xee,0xc4,0x90,0xdd,0x90,0xdd,0x90,0xdd,0x90,0xdd,0x90,0xdd,0x90,0xdd,0x90,0xdd,0x90,0xdd,0x90,0xdd,0x90,0xdd,0x90,0xdd,0x90,0xdd,0x90,0xdd,0x90,0xdd,0x90,0xdd,0x90,0xdd,0x90,0xdd,0x90,0xdd,0x90,0xdd,0x4f,0xa4,0xd6,0x63,0x6f,0x52,0x90,0xdd,0x90,0xdd,0xee,0xc4,0x41,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x41,0x08,0x4d,0x4a,0x71,0x6b,0xb2,0x7b,0xf2,0x83,0xf2,0x83,0xf2,0x83,0xf2,0x83,0xf2,0x83,0xf2,0x83,0xf2,0x83,0xf2,0x83,0xf2,0x83,0xf2,0x83,0xf2,0x83,0xf2,0x83,0xf2,0x83,0xf2,0x83,0xf2,0x83,0xf2,0x83,0xf2,0x83,0xf2,0x83,0xf2,0x83,0xb2,0x7b,0xb0,0x5a,0xb0,0x5a,0xf2,0x83,0xf2,0x83,0xb3,0x73,0x31,0x63,0xcf,0x52,0x41,0x08,0x00,0x00,0x00,0x00,0x00,0x00,
0x4c,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x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0x11,0xee,0xca,0x93,0x2e,0x4a,0xfc,0x74,0x5e,0x7d,0x5e,0x7d,0x54,0x5b,0x83,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xcb,0x39,0x2e,0x42,0x2e,0x42,0x0c,0x3a,0x83,0x10,0x00,0x00,0xc2,0x18,0x46,0x5a,0xca,0x93,0x8c,0xb4,0x4f,0xd5,0x4f,0xd5,0x4f,0xd5,0x8c,0xb4,0x08,0x73,0x00,0x00,0x00,0x00,0x83,0x10,0x0d,0x42,0x2e,0x42,0x2e,0x42,0xcb,0x39,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
};
const lv_image_dsc_t img_wifi_connect = {
.header = {
.magic = LV_IMAGE_HEADER_MAGIC,
.cf = LV_COLOR_FORMAT_RGB565,
.flags = 0,
.w = 32,
.h = 32,
.stride = 70,
.reserved_2 = 0,
},
.data_size = sizeof(img_wifi_connect_map),
.data = img_wifi_connect_map,
.reserved = NULL,
};

View File

@@ -0,0 +1,79 @@
#ifdef __has_include
#if __has_include("lvgl.h")
#ifndef LV_LVGL_H_INCLUDE_SIMPLE
#define LV_LVGL_H_INCLUDE_SIMPLE
#endif
#endif
#endif
#if defined(LV_LVGL_H_INCLUDE_SIMPLE)
#include "lvgl.h"
#elif defined(LV_LVGL_H_INCLUDE_SYSTEM)
#include <lvgl.h>
#elif defined(LV_BUILD_TEST)
#include "../lvgl.h"
#else
#include "lvgl/lvgl.h"
#endif
#ifndef LV_ATTRIBUTE_MEM_ALIGN
#define LV_ATTRIBUTE_MEM_ALIGN
#endif
#ifndef LV_ATTRIBUTE_IMG_WIFI_DISCONNECT
#define LV_ATTRIBUTE_IMG_WIFI_DISCONNECT
#endif
static const
LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_WIFI_DISCONNECT
uint8_t img_wifi_disconnect_map[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xa2,0x10,0x65,0x29,0x65,0x29,0xa2,0x10,0xa2,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x42,0xae,0x73,0x34,0xa5,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0x71,0x8c,0xeb,0x5a,0x65,0x29,0xa2,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x65,0x29,0xae,0x73,0x34,0xa5,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0x34,0xa5,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0x71,0x8c,0xa2,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xa2,0x10,0xae,0x73,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0xae,0x73,0x28,0x42,0x65,0x29,0xa2,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xa2,0x10,0x65,0x29,0xeb,0x5a,0x71,0x8c,0x34,0xa5,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0xae,0x73,0xa2,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0xeb,0x5a,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0x71,0x8c,0x28,0x42,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x65,0x29,0x71,0x8c,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0xeb,0x5a,0xa2,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x71,0x8c,0xf7,0xbd,0xf7,0xbd,0x34,0xa5,0x65,0x29,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x65,0x29,0x34,0xa5,0xf7,0xbd,0xf7,0xbd,0x71,0x8c,0xa2,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0xa2,0x10,0x71,0x8c,0xf7,0xbd,0xf7,0xbd,0xeb,0x5a,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xa2,0x10,0xa2,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xeb,0x5a,0x34,0xa5,0xf7,0xbd,0x34,0xa5,0xa2,0x10,0x00,0x00,0x00,0x00,0x00,0x00,
0x34,0xa5,0xf7,0xbd,0xf7,0xbd,0x65,0x29,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xa2,0x10,0x28,0x42,0x34,0xa5,0x34,0xa5,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0x34,0xa5,0x71,0x8c,0xeb,0x5a,0xa2,0x10,0x00,0x08,0x00,0x38,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x65,0x29,0x34,0xa5,0xf7,0xbd,0x71,0x8c,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x71,0x8c,0x65,0x29,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x65,0x29,0x71,0x8c,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0x11,0xd4,0xc9,0xe9,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x01,0x80,0x00,0x10,0x00,0x00,0xa2,0x10,0xae,0x73,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xa2,0x10,0x71,0x8c,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0x71,0x8c,0xeb,0x5a,0x65,0x29,0xa2,0x10,0xa2,0x10,0x00,0x00,0x65,0x29,0x45,0x49,0xc5,0xd0,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x01,0x68,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x65,0x29,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0xae,0x73,0xa2,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x23,0xc8,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x01,0x50,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x42,0xf7,0xbd,0xf7,0xbd,0x34,0xa5,0x65,0x29,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x68,0x23,0xf8,0x07,0xf9,0xfc,0xfe,0x11,0xfc,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x07,0xf9,0xf8,0xfd,0xf8,0xfd,0x23,0xf8,0x23,0xf8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x34,0xa5,0x71,0x8c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x23,0xd0,0x23,0xf8,0x07,0xf9,0xfc,0xfe,0xff,0xff,0x11,0xfc,0x23,0xf8,0x07,0xf9,0xf8,0xfd,0xff,0xff,0x0e,0xfb,0x23,0xf8,0x23,0xf8,0x01,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x65,0x29,0x28,0x42,0x4a,0x82,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x07,0xf9,0xfc,0xfe,0xff,0xff,0x11,0xfc,0xf8,0xfd,0xff,0xff,0x0e,0xfb,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x02,0xa8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x28,0x42,0x34,0xa5,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0x6f,0xdb,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x07,0xf9,0xfc,0xfe,0xff,0xff,0xff,0xff,0x0e,0xfb,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x23,0xe0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xa2,0x10,0x71,0x8c,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0x71,0x8c,0x8b,0xba,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x07,0xf9,0xf8,0xfd,0xff,0xff,0xff,0xff,0x11,0xfc,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x23,0xe0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xa2,0x10,0x34,0xa5,0xf7,0xbd,0xf7,0xbd,0xeb,0x5a,0xa2,0x10,0x00,0x00,0x00,0x00,0x00,0x30,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x07,0xf9,0xf8,0xfd,0xff,0xff,0x11,0xfc,0xfc,0xfe,0xff,0xff,0x11,0xfc,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x02,0xa0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xeb,0x5a,0x71,0x8c,0x65,0x29,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x23,0xd0,0x23,0xf8,0x23,0xf8,0xf8,0xfd,0xff,0xff,0x0e,0xfb,0x23,0xf8,0x07,0xf9,0xfc,0xfe,0xff,0xff,0x11,0xfc,0x23,0xf8,0x23,0xf8,0x01,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x68,0x23,0xf8,0x0a,0xfa,0xff,0xff,0x0e,0xfb,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x07,0xf9,0xfc,0xfe,0x15,0xfd,0x23,0xf8,0x23,0xf0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xae,0x73,0x71,0x8c,0x71,0x8c,0x28,0x42,0x43,0xc8,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x07,0xf9,0x23,0xf8,0x23,0xf8,0x01,0x50,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x71,0x8c,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0xf7,0xbd,0x4d,0x83,0x02,0xa8,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x01,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x34,0xa5,0xf7,0xbd,0xf7,0xbd,0x71,0x8c,0x00,0x00,0x00,0x00,0x01,0x48,0x02,0xa8,0x23,0xf8,0x23,0xf8,0x23,0xf8,0x23,0xf0,0x01,0x78,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x34,0xa5,0x71,0x8c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x00,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
};
const lv_image_dsc_t img_wifi_disconnect = {
.header = {
.magic = LV_IMAGE_HEADER_MAGIC,
.cf = LV_COLOR_FORMAT_RGB565,
.flags = 0,
.w = 32,
.h = 32,
.stride = 70,
.reserved_2 = 0,
},
.data_size = sizeof(img_wifi_disconnect_map),
.data = img_wifi_disconnect_map,
.reserved = NULL,
};

View File

@@ -46,3 +46,91 @@ void set_var_light_intensity(const char *value) {
light_intensity[sizeof(light_intensity) / sizeof(char) - 1] = 0;
}
bool wifi_disconnected;
bool get_var_wifi_disconnected() {
return wifi_disconnected;
}
void set_var_wifi_disconnected(bool value) {
wifi_disconnected = value;
}
bool wifi_connected;
bool get_var_wifi_connected() {
return wifi_connected;
}
void set_var_wifi_connected(bool value) {
wifi_connected = value;
}
bool mqtt_connected;
bool get_var_mqtt_connected() {
return mqtt_connected;
}
void set_var_mqtt_connected(bool value) {
mqtt_connected = value;
}
bool mqtt_disconnected;
bool get_var_mqtt_disconnected() {
return mqtt_disconnected;
}
void set_var_mqtt_disconnected(bool value) {
mqtt_disconnected = value;
}
char iot_net_info[100] = { 0 };
const char *get_var_iot_net_info() {
return iot_net_info;
}
void set_var_iot_net_info(const char *value) {
strncpy(iot_net_info, value, sizeof(iot_net_info) / sizeof(char));
iot_net_info[sizeof(iot_net_info) / sizeof(char) - 1] = 0;
}
char sntp_time[100] = { 0 };
const char *get_var_sntp_time() {
return sntp_time;
}
void set_var_sntp_time(const char *value) {
strncpy(sntp_time, value, sizeof(sntp_time) / sizeof(char));
sntp_time[sizeof(sntp_time) / sizeof(char) - 1] = 0;
}
char air_temp_num[100] = { 0 };
const char *get_var_air_temp_num() {
return air_temp_num;
}
void set_var_air_temp_num(const char *value) {
strncpy(air_temp_num, value, sizeof(air_temp_num) / sizeof(char));
air_temp_num[sizeof(air_temp_num) / sizeof(char) - 1] = 0;
}
char soil_mois_num[100] = { 0 };
const char *get_var_soil_mois_num() {
return soil_mois_num;
}
void set_var_soil_mois_num(const char *value) {
strncpy(soil_mois_num, value, sizeof(soil_mois_num) / sizeof(char));
soil_mois_num[sizeof(soil_mois_num) / sizeof(char) - 1] = 0;
}

View File

@@ -16,7 +16,15 @@ enum FlowGlobalVariables {
FLOW_GLOBAL_VARIABLE_AIR_TEMPERATURE = 0,
FLOW_GLOBAL_VARIABLE_AIR_HUMIDITY = 1,
FLOW_GLOBAL_VARIABLE_SOIL_MOISTURE = 2,
FLOW_GLOBAL_VARIABLE_LIGHT_INTENSITY = 3
FLOW_GLOBAL_VARIABLE_LIGHT_INTENSITY = 3,
FLOW_GLOBAL_VARIABLE_WIFI_DISCONNECTED = 4,
FLOW_GLOBAL_VARIABLE_WIFI_CONNECTED = 5,
FLOW_GLOBAL_VARIABLE_MQTT_DISCONNECTED = 6,
FLOW_GLOBAL_VARIABLE_MQTT_CONNECTED = 7,
FLOW_GLOBAL_VARIABLE_IOT_NET_INFO = 8,
FLOW_GLOBAL_VARIABLE_SNTP_TIME = 9,
FLOW_GLOBAL_VARIABLE_AIR_TEMP_NUM = 10,
FLOW_GLOBAL_VARIABLE_SOIL_MOIS_NUM = 11
};
// Native global variables
@@ -29,6 +37,22 @@ extern const char *get_var_soil_moisture();
extern void set_var_soil_moisture(const char *value);
extern const char *get_var_light_intensity();
extern void set_var_light_intensity(const char *value);
extern bool get_var_wifi_disconnected();
extern void set_var_wifi_disconnected(bool value);
extern bool get_var_wifi_connected();
extern void set_var_wifi_connected(bool value);
extern bool get_var_mqtt_disconnected();
extern void set_var_mqtt_disconnected(bool value);
extern bool get_var_mqtt_connected();
extern void set_var_mqtt_connected(bool value);
extern const char *get_var_iot_net_info();
extern void set_var_iot_net_info(const char *value);
extern const char *get_var_sntp_time();
extern void set_var_sntp_time(const char *value);
extern const char *get_var_air_temp_num();
extern void set_var_air_temp_num(const char *value);
extern const char *get_var_soil_mois_num();
extern void set_var_soil_mois_num(const char *value);
#ifdef __cplusplus
}