支持BLE设备接入“腾讯连连”小程序

This commit is contained in:
zekwang
2020-12-01 20:51:01 +08:00
parent a6ff5bb42b
commit 1e90f1f1b6
3 changed files with 4 additions and 3 deletions

View File

@@ -242,7 +242,7 @@
#endif #endif
// <o> NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power input pins // <o> NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power input pins
#ifndef NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS #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 #endif
// <o> NRFX_GPIOTE_CONFIG_IRQ_PRIORITY - Interrupt priority // <o> NRFX_GPIOTE_CONFIG_IRQ_PRIORITY - Interrupt priority

View File

@@ -1943,7 +1943,7 @@
#endif #endif
// <o> NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power input pins // <o> NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power input pins
#ifndef NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS #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 #endif
// <o> NRFX_GPIOTE_CONFIG_IRQ_PRIORITY - Interrupt priority // <o> NRFX_GPIOTE_CONFIG_IRQ_PRIORITY - Interrupt priority

View File

@@ -96,7 +96,8 @@
![](image/BLE/edit_device_info.png) ![](image/BLE/edit_device_info.png)
3. 在【设备调试】页面中选择【设备信息】子页面将【设备名称】、【设备密钥】、【产品ID】分别填入`DEVICE_NAME`,`SECRET_KEY`,`PRODUCT_ID` 3. 在【设备调试】页面中选择【设备信息】子页面将【设备名称】、【设备密钥】、【产品ID】分别填入`DEVICE_NAME`,`SECRET_KEY`,`PRODUCT_ID`
![](image/BLE/device_info.png) ![](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 腾讯连连小程序调试 ## 3.3 腾讯连连小程序调试
1. 微信主页面下拉并搜索【腾讯连连】小程序。 1. 微信主页面下拉并搜索【腾讯连连】小程序。