fix(gml670x4): 补充 BLE 广播与扫描响应名称配置

This commit is contained in:
2026-05-14 21:11:37 +08:00
parent ffafbc4c6a
commit 16683e40d8
2 changed files with 13 additions and 0 deletions
+3
View File
@@ -8,6 +8,7 @@
#include <zephyr/bluetooth/uuid.h>
#include <zephyr/kernel.h>
#include <zephyr/logging/log.h>
#include <zephyr/settings/settings.h>
LOG_MODULE_REGISTER(ble_transport, LOG_LEVEL_INF);
@@ -138,6 +139,8 @@ int ble_transport_init(void) {
return err;
}
settings_load();
err = bt_nus_init(&nus_cb);
if (err) {
LOG_ERR("NUS init failed (err %d)", err);