fix(gml670x4): 补充 BLE 广播与扫描响应名称配置
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user