From 1e90f1f1b67097cf5933d1193a0568f01fc20a72 Mon Sep 17 00:00:00 2001 From: zekwang Date: Tue, 1 Dec 2020 20:51:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81BLE=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E6=8E=A5=E5=85=A5=E2=80=9C=E8=85=BE=E8=AE=AF=E8=BF=9E=E8=BF=9E?= =?UTF-8?q?=E2=80=9D=E5=B0=8F=E7=A8=8B=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- board/Nordic_NRF52832/BSP/Inc/nrfx_config.h | 2 +- board/Nordic_NRF52832/BSP/Inc/sdk_config.h | 2 +- doc/28.BLE_Device_Quick_Start.md | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/board/Nordic_NRF52832/BSP/Inc/nrfx_config.h b/board/Nordic_NRF52832/BSP/Inc/nrfx_config.h index 9535a8ea..cda86561 100644 --- a/board/Nordic_NRF52832/BSP/Inc/nrfx_config.h +++ b/board/Nordic_NRF52832/BSP/Inc/nrfx_config.h @@ -242,7 +242,7 @@ #endif // NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power input pins #ifndef NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS -#define NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 4 +#define NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 1 #endif // NRFX_GPIOTE_CONFIG_IRQ_PRIORITY - Interrupt priority diff --git a/board/Nordic_NRF52832/BSP/Inc/sdk_config.h b/board/Nordic_NRF52832/BSP/Inc/sdk_config.h index 5ae4da19..64d307a4 100644 --- a/board/Nordic_NRF52832/BSP/Inc/sdk_config.h +++ b/board/Nordic_NRF52832/BSP/Inc/sdk_config.h @@ -1943,7 +1943,7 @@ #endif // NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power input pins #ifndef NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS -#define NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 4 +#define NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 1 #endif // NRFX_GPIOTE_CONFIG_IRQ_PRIORITY - Interrupt priority diff --git a/doc/28.BLE_Device_Quick_Start.md b/doc/28.BLE_Device_Quick_Start.md index 9b22cac9..a476e0e6 100644 --- a/doc/28.BLE_Device_Quick_Start.md +++ b/doc/28.BLE_Device_Quick_Start.md @@ -96,7 +96,8 @@ ![](image/BLE/edit_device_info.png) 3. 在【设备调试】页面中选择【设备信息】子页面,将【设备名称】、【设备密钥】、【产品ID】分别填入`DEVICE_NAME`,`SECRET_KEY`,`PRODUCT_ID`。 ![](image/BLE/device_info.png) -4. 编译下载并运行。 +4. 在`ble_qiot_ret_status_t ble_qiot_explorer_init(void)`中或其他合适的地方修改日志等级`ble_qiot_set_log_level(BLE_QIOT_LOG_LEVEL_DEBUG);`,以便开发调试。 +5. 编译下载并运行。 ## 3.3 腾讯连连小程序调试 1. 微信主页面下拉并搜索【腾讯连连】小程序。 -- GitLab