From 9e2630a8f3887df3d8f11ee6a27d0d34b331ef28 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Tue, 18 Nov 2025 11:21:53 +0800
Subject: [PATCH] update thingsboard defconfig file
---
project/lightd/config.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/project/lightd/config.c b/project/lightd/config.c
index a763d2e..cb5aae8 100644
--- a/project/lightd/config.c
+++ b/project/lightd/config.c
@@ -160,6 +160,7 @@
str=iniparser_getstring(ini, "broker:token", NULL);
strncpy(mqtt->token, str, sizeof(mqtt->uid) );
+ log_info("Parser broker token [%s]\n", mqtt->token);
str=iniparser_getstring(ini, "broker:username", NULL);
strncpy(mqtt->uid, str, sizeof(mqtt->uid) );
@@ -168,7 +169,7 @@
strncpy(mqtt->pwd, str, sizeof(mqtt->pwd) );
if( mqtt->uid && mqtt->pwd )
- log_info("Parser broker author by [%s:%s]\n", mqtt->uid, mqtt->pwd);
+ log_info("Parser broker account [%s:%s]\n", mqtt->uid, mqtt->pwd);
mqtt->keepalive = iniparser_getint(ini, "broker:keepalive", DEF_KEEPALIVE);
log_info("Parser broker keepalive timeout [%d] seconds\n", mqtt->keepalive);
--
Gitblit v1.9.1