DA14585中心模式的样本代码

⚠️
大家好. .感谢来到论坛。令人兴奋的消息!我们现在正在转移到新的论坛平台的过程中,它将提供更好的功能,并包含在主对话网站。所有的帖子和账号已经迁移。我们现在只接受新论坛的流量-请发布任何新的帖子在//www.xmece.com/support.我们会在接下来的几天修复bug /优化搜索和标记。
15个帖子/ 0新
最后发表
alex.yu
离线
最后一次露面:9个月1周前
加入:2017-08-29 12:24
DA14585中心模式的样本代码

大家好,

新来BLE,你能不能告诉我就SDK6.0.10.511中心模式BLE应用示例代码?

相信这是最新发布的SDK。

谢谢!

设备:
PM_DIALOG.
离线
最后一次露面:1天22小时前
工作人员
加入:2018年2月8日11:03
嗨alex.yu,

嗨alex.yu,

我想,你的意思是“中央”的模式。能否请你让我知道如果这是正确的?如果是的话,你可以检查示例:BLE中央安全演示项目软件例如作为其基于SDK6.0.10.511的顶部上的参考。此外,要知道,所有的DA14585的软件实例/ 6不包括SDK文件,所以你必须将例如与您的SDK路径,以建立他们联系起来。你应该遵循这个链接描述的过程:SW示例:DA1458x安装示例

谢谢,PM_DIALOG.

alex.yu
离线
最后一次露面:9个月1周前
加入:2017-08-29 12:24
你好,

你好,

感谢您的指导,我下载示例代码,并运行安装python脚本,

但它很快打印出所有的路径后,提示错误的权利。

这里的整个输出,Python版本:2.7.8,操作系统:WIN7

有线索吗?谢谢。

d:\ DA14585 \ Central_Security_Demo \ project_environment>蟒dlg_make_keil5_env_v1.002.py -sdkpath “d:\ DA14585 \ DA14585_SDK \ 6.0.10.511”

DA1458X SDK位置:: d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \发现...
DA1458X KEIL项目名称:: d:\ DA14585 \ Central_Security_Demo \ project_environment \ ble_central_with_security.uvprojx是一个有效的...
DA1458X分散文件被复制?
( 'FROM LOCATION ::', 'd:\\ DA14585 \\ DA14585_SDK \\ 6.0.10.511 \\ SDK \\ common_project_files \\ scatterfiles \\ scatterfile_common.sct')
( 'TO LOCATION ::', '\\ .. \\ SRC \\配置\\ copied_scatter.sct')
d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\包括; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ app_modules \ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \应用程序_modules\src\app_bass;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\app_modules\src\app_diss;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\app_modules\src\app_proxr;D:\DA14585\DA145
85_SDK \ 6.0.10.511 \\ SDK \ app_modules \ SRC \ app_suotar; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ app_modules \ SRC \ app_findme; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ app_modules\ SRC \ app_custs; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \控制器\ EM; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \控制器\ LLC; d:\ DA14585 \d
A14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \控制器\ LLD; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \控制器\ LLM; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack\主机\ ATT; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \主机\ ATT \ ATTC; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \主机\ ATT \ ATTM; d:\ DA14585 \ DA14585_S
dk \ 6.0.10.511 \\ sdk \ ble_stack \ host \ att \ atts; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ ble_stack \ host \ gap; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk\ ble_stack \ host \ gap \ gapc; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ ble_stack \ host \ gap \ gapm; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ ble_stack \ host \ gatt; D:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \
主机\ sdk \ ble_stack \ \关贸总协定\ gattc; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \主机\关贸总协定\ gattm; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \主机\ l2c \ l2cc; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \主机\ l2c \ l2cm; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \主机\ smp \ smpc; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \
SDK \ ble_stack \主机\ SMP \ SMPM; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \主机\ SMP; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \型材; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511\\sdk\ble_stack\profiles\bas\bass\api;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\ble_stack\profiles\dis\diss\api;D:\DA14585\DA14585_SDK\6.0.10.511\
\ SDK \ ble_stack \型材\ PROX \ proxr \ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \型材\ suota \ suotar \ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK\ ble_stack \ rwble; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \ rwble_hl; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \ EA \ API; d:\ DA14585 \ DA14585_SDK \6.0.10.511 \\ SD
ķ\ ble_stack \ EM \ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ common_project_files; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\拱; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\弓\启动\ RVDS; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\弓\编译\ RVDS; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\弓\ LL \ RV
ds; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \拱\主要;D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \拱;D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \ core_modules \ arch_console; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \ core_modules \常见\ api; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ \ core_modules平台
\加密;D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \ core_modules \ dbg \ api; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \ core_modules \ gtl \ src; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \ core_modules \ ke \ api; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \ core_modules \ ke \ src; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk
\平台\ core_modules \ NVDS \ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\ core_modules \ RF \ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\ core_modules \ GTL\ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\ core_modules \ rwip \ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\ core_modules \ h4tl \ API; d:\DA14585 \
DA14585_SDK \ 6.0.10.511 \\ SDK \平台\驱动\ ADC; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\驱动\电池; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\驱动程序\ GPIO; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\驱动程序\ i2c_eeprom; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\驱动程序\ REG; d:\ DA14585 \DA14585_SDK \ 6
.0.10.511 \\ SDK \平台\驱动\ SPI; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\驱动\ spi_flash; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\驱动器\ syscntl; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\驱动\系统定时器; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\驱动\ TRNG; d:\ DA14585 \ DA14585_SDK\ 6.0.10.511 \
\ SDK \平台\驱动程序\ UART; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\驱动程序\ wkupct_quadec; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\驱动程序\ BLE; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\驱动\ hw_otpc; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\驱动\ DMA; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ platf
ORM \驱动\ PDM; \ .. \ SRC \配置; \ .. \ SRC; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\ system_library \包括; .. \ SRC \ custom_profile; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511\\sdk\ble_stack\profiles\lan;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\ble_stack\profiles\cpp;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\ble_stack\profiles\rscp;
D:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ ble_stack \ profiles \ pasp; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ ble_stack \ profiles \ cscp; d:\ da14585 \ da14585_sdk \ 6.0.10.511\\ sdk \ ble_stack \ profiles \ anp; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ ble_stack \ profiles \ hrp; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ ble_stack \ hci \ api;D:\ da14585 \ da
14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \ HCI的\ src; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \型材\发现\ findt \ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \型材\找到; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \型材\发现\ findl \ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \型材\自定义; d:
\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ ble_stack \ profiles \ custom \ custs \ api; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ \ \ oparty \ rand; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \ \第三个\哈希; D:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\包括; D:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ app_modules \ api; d:\ da14585 \ da14585_sdk \ 6.0.10.51
1 \ \ sdk \ app_modules \ src \ app_bass; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ app_modules \ src \ app_diss; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ app_modules \ src \ app_proxr; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ app_modules \ src \ app_suotar; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ app_modules \ src \ app_findme; D: \ DA14585 \ DA14585_SDK \ 6.0。
10.511 \\ SDK \ app_modules \ SRC \ app_custs; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \控制器\ EM; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \控制器\ LLC; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \控制器\ LLD; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \控制器\ LLM; d:\ DA14585 \ DA14585_SDK \ 6.0。
10.511 \\ SDK \ ble_stack \主机\ ATT; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \主机\ ATT \ ATTC; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \主机\ ATT \ ATTM; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \主机\ ATT \的ATT; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \主机\间隙; d:\DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ BLE
_stack \主机\间隙\ GAPC; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \主机\间隙\ gapm; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \主机\复关;D:\ da14585 \ da14585_SDK\6.0.10.511\\sdk\ble_stack\host\gatt\gattc;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\ble_stack\host\gatt\gattm;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\ble_stac
ķ\主机\ L2C \ L2CC; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \主机\ L2C \ L2CM; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \主机\ SMP \SMPC; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \主机\ SMP \ SMPM; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \主机\ SMP; d:\ DA14585 \ DA14585_SDK\ 6.0.10.511 \\ SDK \ ble_stack \型材
; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \型材\ BAS \低音\ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \型材\ DIS \迪斯\ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511\\sdk\ble_stack\profiles\prox\proxr\api;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\ble_stack\profiles\suota\suotar\api;D:\DA14585\DA14585_SDK\6.0.10
0.511 \\ SDK \ ble_stack \ rwble; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \ rwble_hl; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \ EA \ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511\\sdk\ble_stack\em\api;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\common_project_files;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\platform\arch;D:\DA14585\
da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ arch \ boot \ rvds; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platflic \ arch \ compiler \ rvds; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ SDK \平台\拱\ LL \ RVDS; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\拱\主; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\拱; d:\ DA14585 \ DA14585_SDK \ 6.0.10
0.511 \\ SDK \平台\ core_modules \ arch_console; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\ core_modules \共同\ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\core_modules \密码; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\ core_modules \ DBG \ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\ core_modules \ GTL \ S
rc; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \ core_modules \ ke \ api; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \ core_modules \ ke \ src; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \ core_modules \ nvd \ api; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \ core_modules \射频\ api; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \平台
形成\ core_modules \ gtl \ api; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \ core_modules \ rwip \ api; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \ core_modules \ h4tl \ api; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \司机\ adc; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \司机\电池;D: \ DA14585 \ DA14585_SDK \ 6.0.10.51
1 \\ SDK \平台\驱动\ GPIO; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\驱动\ i2c_eeprom; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\驱动\ REG; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\驱动\ SPI; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\驱动\ spi_flash; d:\ DA14585 \ DA14585_SDK \ 6.0。10.511 \\ SDK \高原
形式\驱动\ syscntl; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\驱动\系统定时器; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\驱动\ TRNG; d:\ DA14585\ DA14585_SDK \ 6.0.10.511 \\ SDK \ platform\driver\uart;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\platform\driver\wkupct_quadec;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\platform\
驱动程序\ BLE; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\驱动程序\ hw_otpc; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\驱动\ DMA; d:\ DA14585 \ DA14585_SDK\ 6.0.10.511 \\ SDK \平台\驱动\ PDM; \ .. \ SRC \配置; \ .. \ SRC; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\ system_library \包括;.. \ SRC \ custom_profile; d:\ DA14585
\ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \型材\ LAN; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \型材\ CPP; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \b_stack\profiles\rscp;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\ble_stack\profiles\pasp;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\ble_stack\profiles\cscp;D:\DA14585\DA1458
5_SDK \ 6.0.10.511 \\ SDK \ ble_stack \型材\ ANP; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \型材\ HRP; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack\ HCI \ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \ HCI的\ src; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \型材\发现\ findt \ API; d:\ DA14585 \ DA14585_SDK \ 6.0
.10.511 \\ SDK \ ble_stack \型材\找到; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \型材\发现\ findl \ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \b_stack\profiles\custom;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\ble_stack\profiles\custom\custs\api;D:\DA14585\DA14585_SDK\6.0.10.511\\third_party\rand;D:\DA14585\DA14585
_SDK \ 6.0.10.511 \\ THIRD_PARTY \散列; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\包括; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ app_modules \ API; d:\DA14585 \ DA14585_SDK \ 6.0.10.511\\sdk\app_modules\src\app_bass;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\app_modules\src\app_diss;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\app_modu
les \ src \ app_proxr; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ src \ app_modules \ src \ app_suotar; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ app_modules \ src \ app_findme; d:\ da14585\ da14585_sdk \ 6.0.10.511 \\ sdk \ app_modules \ src \ app_custs; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ ble_stack \ controller \ em; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \b
_stack \控制器\ LLC; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \控制器\ LLD; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \控制器\ LLM; d:\ DA14585\ DA14585_SDK \ 6.0.10.511 \\ SDK \ BLE_STACK \主机\ ATT; D:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \ host \ att \ attc; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \ \sdk \ ble_stack \
主机\ att \ attm; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \主机\ att \ att; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \主机\差距;D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \主机\ \ gapc差距;D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \主机\ \ gapm差距;D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \主机\关贸总协定;
D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \主机\关贸总协定\ gattc; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \主机\关贸总协定\ gattm; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \主机\ l2c \ l2cc; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \主机\ l2c \ l2cm; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \主机\ smp \ smpc; D
:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \主机\ SMP \ SMPM; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \主机\ SMP; d:\ DA14585 \ DA14585_SDK \ 6.0。10.511 \\ SDK \ ble_stack \型材; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \型材\ BAS \低音\ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \型材\ DIS \迪斯\ API;
d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \型材\ PROX \ proxr \ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \型材\ suota \ suotar \ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511\\sdk\ble_stack\rwble;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\ble_stack\rwble_hl;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\ble_stack\ea\api;D:\
DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \ em \ api; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ common_project_files; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \拱;D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \拱\引导\测量系统;D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \拱\编译器\测量系统;D: \ DA14585 \ DA14585_SDK \ 6
.0.10.511 \\ SDK \平台\拱\ LL \ RVDS; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\拱\主; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\拱门; D:\ DA14585 \DA14585_SDK \ 6.0.10.511\\sdk\platform\core_modules\arch_console;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\platform\core_modules\common\api;D:\DA14585\DA14585_SDK\6.0
.10.511 \\ SDK \平台\ core_modules \密码; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\ core_modules \ DBG \ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\core_modules \ GTL \ SRC; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\ core_modules \科\ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\ core_modules \科\ SRC;d:\ d
A14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\ core_modules \ NVDS \ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\ core_modules \ RF \ API; d:\ DA14585 \ DA14585_SDK \ 6.0。10.511 \\ SDK \平台\ core_modules \ GTL \ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\ core_modules \ rwip \ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台
\ core_modules \ h4tl \ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\驱动\ ADC; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\驱动\电池; d:\DA14585 \ DA14585_SDK \ 6.0.10.511\\sdk\platform\driver\gpio;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\platform\driver\i2c_eeprom;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\platform\d
河\ reg; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \司机\ spi; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \司机\ spi_flash; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \司机\ syscntl; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \司机\ systick; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \司机\ trng;
D:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ daver \ uart; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platfort \ dapl \ wkupct_quadec; d:\ da14585 \ da14585_sdk \ 6.0.10.511\\ SDK \平台\驱动程序\ ble; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ driver \ hw_otpc; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ daver \ dma;D:\ DA14585
\ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\驱动程序\ PDM; \ .. \ SRC \ CONFIG; \ .. \ SRC; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\ system_library \包括; .. \ SRC \ custom_profile; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \型材\ LAN; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \型材\ CPP; d:\ DA14585 \ DA14585_SDK \ 6.0.10
0.511 \\ SDK \ ble_stack \型材\ RSCP; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \型材\ PASP; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \型材\CSCP; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \型材\ ANP; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \型材\ HRP; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\小号
DK \ ble_stack \ HCI \ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \ HCI的\ src; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \型材\发现\ findt \美联社i;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\ble_stack\profiles\find;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\ble_stack\profiles\find\findl\api;D:\DA14585\DA14585_SDK\6.0.10.511
\\ SDK \ ble_stack \型材\自定义; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \型材\定制\ custs \ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ THIRD_PARTY \兰特;d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ THIRD_PARTY \散列; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\包括; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ app_modules \美联社
I; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ app_modules \ SRC \ app_bass; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ app_modules \ SRC \ app_diss; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\小号dk\app_modules\src\app_proxr;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\app_modules\src\app_suotar;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\app_modules\src\app_
findme; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ app_modules \ SRC \ app_custs; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \控制器\ EM; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \控制器\ LLC; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \控制器\ LLD; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \控制研究
呃\ LLM; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \主机\ ATT; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \主机\ ATT \ ATTC; d:\ DA14585\ DA14585_SDK \ 6.0.10.511 \\sdk\ble_stack\host\att\attm;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\ble_stack\host\att\atts;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\ble_stack\host\gap;D:\DA145
85 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \主机\间隙\ GAPC; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \主机\间隙\ gapm; d:\ DA14585 \ DA14585_SDK \ 6.0。10.511 \\ SDK \ ble_stack \主机\复关; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \主机\复关\ gattc; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \主机\关贸总协定\ gattm; d:\ DA14585 \ DA
14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \主机\ L2C \ L2CC; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \主机\ L2C \ L2CM; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \主机\ SMP \ SMPC; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \主机\ SMP \ SMPM; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \主机\ SMP; d:\ DA14585 \ DA14585_SDK \
6.0.10.511 \\ SDK \ ble_stack \型材; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \型材\ BAS \低音\ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack\型材\ DIS \迪斯\ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \型材\ PROX \ proxr \ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \型材\ suota \ suotar
\ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \ rwble; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \ rwble_hl; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \ EA \ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \ EM \ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ common_project_files; d:\ DA14585 \DA14585_SDK \ 6.0.10。
511 \\ SDK \平台\拱; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\弓\启动\ RVDS; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\弓\编译\ RVDS; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\拱\ LL \ RVDS; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\拱\主; d:\ DA14585 \DA14585_SDK \ 6.0.10.511 \\ SDK \平台\
拱;D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \ core_modules \ arch_console; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \ core_modules \常见\ api; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \ core_modules \加密;D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \ core_modules \ dbg \ api; D: \ DA14585 \ DA14585_SDK \ 6.0.10.51
1 \\ SDK \平台\ core_modules \ GTL \ SRC; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\ core_modules \科\ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\ core_modules \科\ SRC; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\ core_modules \ NVDS \ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\ core_modules \ RF \ API; d:\ DA1458
5 \ \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ core_modules \ gtl \ api; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \ core_modules \ rwip \ api; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \ core_modules \ h4tl \ api; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \司机\ adc; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \司机\面糊
y; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \司机\ gpio; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \司机\ i2c_eeprom; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \司机\ reg; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \司机\ spi; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \司机\ spi_flash; D: \ DA1458
5 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\驱动\ syscntl; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\驱动\系统定时器; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK\平台\驱动\ TRNG; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\驱动\ UART; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\驱动\ wkupct_quadec; d:\DA14585 \ DA1
4585_SDK \ 6.0.10.511 \\ SDK \平台\驱动程序\ BLE; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\驱动程序\ hw_otpc; \ .. \ SRC \ CONFIG; \ .. \ SRC; D:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ platform\system_library\include;..\src\custom_profile;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\ble_stack\profiles\lan;D:\DA14585\DA14585_SDK\6.0.10.51
1 \ \ sdk \ ble_stack \ profiles \ cpp; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \ profiles \ rscp; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \ profiles \ pasp; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \ profiles \ cscp; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \ profiles \ anp; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \
ble_stack \型材\ HRP; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \ HCI \ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ ble_stack \ HCI \ SRC; d:\ DA14585\ DA14585_SDK \ 6.0.10.511 \\sdk\ble_stack\profiles\find\findt\api;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\ble_stack\profiles\find;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\ble_stac
k \ profiles \ find \ findl \ api; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ ble_stack \ profiles \ custom; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ ble_stack \ profiles \ custom \Custs \ API; D:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ Thib_Party \哈希; D:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ thirt_party \ rand;
回溯(最后最新呼叫):
文件 “dlg_make_keil5_env_v1.002.py”,线路545,在<模块>
run_application(参数[ “sdkpath”])
文件 “dlg_make_keil5_env_v1.002.py”,线路532,在run_application
setup_keil5_project_environment()
文件 “dlg_make_keil5_env_v1.002.py”,线路443,在setup_keil5_project_environment
build_uvprojx_element_ldads_scatterfile (XML_PATTERN_LDADS_SCATTERFILE)
文件 “dlg_make_keil5_env_v1.002.py”,线路274,在build_uvprojx_element_ldads_scatterfile
树= ET.parse(DLG_WORKING_PROJECT_NAME)
文件“c:\ python27 \ lib \ xml \ etree \ follegree.py”,第1182行,在parse中
树。解析器解析(源)
文件 “C:\ Python27 \ LIB \ XML \ etree \ ElementTree.py”,线路656,在解析
parser.feed(数据)
文件"C: Python27\lib\xml\ tree\ElementTree.py",第1642行,换行
self._raiseerror (v)
文件 “C:\ Python27 \ LIB \ XML \ etree \ ElementTree.py”,线1506,在_raiseerror
提高犯错
XML .etree. elementtree . parseerror: XML或文本声明不在实体的开始:第3行,第0列

d:\ DA14585 \ Central_Security_Demo \ project_environment>蟒dlg_make_keil5_env_v1.002.py -sdkpath “d:\ DA14585 \ DA14585_SDK \ 6.0.10.511”

PM_DIALOG.
离线
最后一次露面:1天22小时前
工作人员
加入:2018年2月8日11:03
嗨alex.yu,

嗨alex.yu,

  1. 创建下C(或d)盘一个“工作区”的文件夹。(C:\工作区)
  2. 再次下载SW例子,并将其保存℃在:\工作区的位置,并提取其
  3. 在工作区中复制一个干净的585 SDK,然后解压DA14585_SDK_6.0.10.511_0.zip
  4. 进入C: Workspace\DA14585_SDK_6.0.10.511_0\DA14585_SDK路径,将6.0.10.511文件夹复制到Workspace文件夹中
  5. 打开的Windows PowerShell
  6. cd C: \ Workspace \ central_security_demo_0 \ Central_Security_Demo \ project_environment
  7. python dlg_make_keil5_env_v1.002.py -sdkpath“c:\ workspace \ 6.0.10.511”
  8. 结果是:“ble_central_with_security.uvprojx更新成功通过适当的SDK PATH ...”
  9. 完成上述过程后,您应该能够将SW示例与SDK链接起来。

我按照我描述的程序从我的侧面进行测试。请注意,我使用的是Python3.7版本。请将python从2.7.8版本更改为3.7版本。

谢谢,PM_DIALOG.

alex.yu
离线
最后一次露面:9个月1周前
加入:2017-08-29 12:24
你好,

你好,

谢谢,这是很好的使用python 3.7,

思考应在提到Python 2.7的文档上更新此文件是最小的要求。

在gapc_cmp_evt_handler代码更改并成功构建之后,

我加载ble_central_with_security_585.hex到DA14580DEVKT-P_VC与DA14585附着,与UART跳线设置

然后切换回文档引用的SPI跳线设置,并为P04 - JL_RXD,JL_TXD - P02遇到额外的跳线,

这是在文档遵循哪些引脚布局由Central_Security_Demo:

p0_2 - p0_1

P0_4——JL_RxD

P0_5 - JL_TxD

和上AD14580DEVKT-P_VC,其与销布局:

p0_2 - p0_1

P0_4 - J_TxD

P0_5 - J_RxD

把这两根针倒过来行吗?可以只保留P04 - JL_RxD, JL_TxD - P02?

因为下载成功地与足球运动员从SmartSnippets工具之后,这就是终端保持扔出去。

< ? ? < ~ ? ?~ ? ?< w @

在上面的步骤中我做错了什么吗?

感谢关注。

PM_DIALOG.
离线
最后一次露面:1天22小时前
工作人员
加入:2018年2月8日11:03
嗨alex.yu,

嗨alex.yu,

我假设你有一个问题与文件夹路径,而不是与Python版本。很高兴您能到SW例如具有SDK链接,你可以编译项目。

能否请确保您有完全相同的引脚配置如自述文件(下central_security_demo_0 \ Central_Security_Demo \ doc文件夹路径)描述?跳线必须放置在标准的SPI闪存针,加上对P04 UTX打印额外跳线 - JL_RxD和跳接线JL_TxD上P02。所有跳线应放置在同一时间,因此,如果您从SPI切换他们UART这是不行的。此外,请确保您有正确的Teraterm设置。我测试形成我的身边,如果你下载ble_central_with_security firware,没有连接其它DA14585(外围),你应该得到的“开始扫描...”消息到Teraterm。

谢谢,PM_DIALOG.

alex.yu
离线
最后一次露面:9个月1周前
加入:2017-08-29 12:24
你好,

你好,

蟒蛇运行过程中出现了好事不改变路径,但只是与Python 3.7来代替。反正。

当下载十六进制时,跳线设置是否重要?我失败的spi设置下载,但成功的uart设置。

这里是我的脚步。

1.根据UM-B-049 DA14585DA14586入门Guide_v2.1_0.pdf,捕捉为j5_layout.PNG,

我的脚连接为spi_setting.JPG,下载十六进制,并拿出数为spi_download_failed.PNG,

2.然后我改变uart设置为uart_setting.JPG,它成功了uart_download_succeed . png,

3.在那之后,我用spi_setting.JPG检查终端,但是再次出现类似噪声的输出,uart_download_terminal.PNG

全攻略作为附加的zip,希望我做了这个明确。

我把号上的步骤,这样你就可以清楚地指出我的错误。

谢谢。

PM_DIALOG.
离线
最后一次露面:1天22小时前
工作人员
加入:2018年2月8日11:03
嗨alex.yu,

嗨alex.yu,

如在HW和SW配置部分中描述请具有相同的硬件配置。后烧毁SPI闪存和预设的复位按钮,你应该把这些成绩进入万亿项。请尽量使用Teraterm串行监视器。你会发现连接,以便将SPI闪存程序应遵循的步骤。我使用SmartSnippets工具箱5.0.7版本测试他们从我的身边,它工作正常。对于SmartSnippets工具箱的更多信息,请阅读用户手册。您可以从帮助菜单(?),它是图形用户界面的顶部下载。如果你发现任何有用的上述回答,请注明其中之一为“接受”。

谢谢,PM_DIALOG.

附件:
alex.yu
离线
最后一次露面:9个月1周前
加入:2017-08-29 12:24
你好,

你好,

谢谢!似乎下载方式问题。我现在可以看到正确的扫描输出。

BTW,DA14580DEVKT-P_VC J5上的跳线设置应为

P0_4-J_TxD和P0_2-J_RxD,这是从文件有点怪异,但想通了,毕竟。

谢谢你的帮助。

PM_DIALOG.
离线
最后一次露面:1天22小时前
工作人员
加入:2018年2月8日11:03
嗨alex.yu,

嗨alex.yu,

高兴的是,你想通您的问题并感谢您接受我的答案。

谢谢,PM_DIALOG.

alex.yu
离线
最后一次露面:9个月1周前
加入:2017-08-29 12:24
你好,

你好,

我走下来的代码之后,

因为有CFG_MAX_CONNECTIONS被设定为4,

所以我尝试连接2块板然后用代码上的这些变化,user_choose_device()在连接之后,

静态无效uart_read_cb(uint8_t状态)
{
// [重新启动扫描如果输入是字母R
如果(uart_input == 'R' || uart_input == 'R'){
wdg_resume();
user_clear_devices ();
user_scan_start ();
}
//简单的输入sanitycheck
别的{
if(uart_input <'|| uart_input-'0'> = device_count){
arch_printf( “输入无效\ r \ n”);
user_choose_device ();
}
别的{
//根据输入数字连接到设备
uart2_read_in_progress = 0;
uart_input = uart_input - '0';
user_connect_to_device(scanned_devices [uart_input]);

arch_printf(“输入下一个:\ r \ n”);
user_choose_device ();
}
}
}

我按8之后首先连接在第二装置,但似乎不采取行动的第二,

------------------
--- 6 --------------
DLG-SECURITY无向接入
ADDR: d0 c5 d3 c6 e9 79
------------------
——7 --------------
N /无向接入
BD ADDR:6B F4 2A 38 41 83
------------------
--- 8 --------------
DLG-SECURITY无向接入
BD ADDR: 80 ea ca 7000 04
------------------
--- 9 --------------
N /无向接入
BD ADDR:74 92 82 3F F6 5E
------------------
扫描完成!
通过输入数字选择设备,
或按R重新扫描,按A连接所有DLG-安全装置。
输入无效。
输入无效。
输入无效。
连接到DLG-SECURITYInput未来:

连接设备。

发送GAPC_BOND_REQ

确认值:722986
LTK:0x12b3d3ca55a5aa3191ab54a7918c1aa5
加密连接建立。

配对succeeded.Connecting到DLG-SECURITYInput未来:
输入无效。
输入无效。

抱歉,我知道这很难,

但你能告诉我到了必须改变,使其工作权的一部分,

或并行连接的任何文件或样品?

感谢您的帮助很大。

PM_DIALOG.
离线
最后一次露面:1天22小时前
工作人员
加入:2018年2月8日11:03
嗨alex.yu,

嗨alex.yu,

能否请您澄清,这两者作为外设DA14585的,正在运行的SDK ble_app_security例子吗?此外,一旦你与第一设备连接,你有没有重新启动,按“R”的扫描。您也可以按A键来连接所有DLG-安全设备。

谢谢,PM_DIALOG.

alex.yu
离线
最后一次露面:9个月1周前
加入:2017-08-29 12:24
你好,

你好,

是,这两个周正在运行ble_app_security,我可以分别由重启中央ble_central_with_security_585连接它们。

(扫描a和b DLG-SECURITY设备->连接设备a->重启中央->扫描a和b设备->连接设备b)

(是的,我用3 DA14580DEVKT-P_VC测试)

在1阶段,

我不能同时连接第二个设备,因为一旦我连接了第一个,终端就冻结了,我不能再输入字符了。

在第2阶段,

所以我添加

arch_printf(“输入下一个:\ r \ n”);
user_choose_device ();

user_connect_to_device(scanned_devices [uart_input]);

与意见如下说明:

扫描完成!
通过输入数字选择设备,
或按R重新扫描,按A连接所有DLG-安全装置。
输入无效。____ / ************按下 'Enter' 键,请忽略************
输入无效。
输入无效。

___ / *******输入“6”这里,做连接,具有相同的确认值与LTK在外围终端*****
连接到DLG-SECURITYInput未来:

连接设备。

发送GAPC_BOND_REQ

确认值:722986
LTK:0x12b3d3ca55a5aa3191ab54a7918c1aa5
加密连接建立。

___/ ****** input '8' here, doing connect, but freeze here, no output on peripheral b terminal ****************
配对succeeded.Connecting到DLG-SECURITYInput未来:
输入无效。
输入无效。

也许在进一步改变之前应该澄清第一阶段,

我是否可以在第一阶段连接第一个设备后立即重新扫描或连接第二个设备?

是它正常该终端连接冻结相1上后正确?

顺便说一句,在“A”的选项也由我添加的,只是一个rought代码循环user_connect_to_device()为每一个设备名称以“DLG ****”,

这就是转出同样的结果,请忽略选项“A”的时刻。

谢谢

PM_DIALOG.
离线
最后一次露面:1天22小时前
工作人员
加入:2018年2月8日11:03
嗨alex.yu,

嗨alex.yu,

我会通过您的注册邮箱与您联系。

谢谢,PM_DIALOG.

alex.yu
离线
最后一次露面:9个月1周前
加入:2017-08-29 12:24
你好,

你好,

经过一些工作,它可以同时连接两个设备,谢谢你的巨大帮助。

还有一件事要做,验证中央和外围设备之间的读写功能,

上的周缘端,我添加CUSTS1_VAL_WRITE_IND,和CUSTS1_ATT_INFO_REQ例user_catch_rest_hndl,

这是很好的与我的iPhone应用程序均衡器,我可以点亮/关闭LED和读/写应用程序通过长期价值。

对于使用DA作为中心端而不是iphone应用程序,我缺乏参考在central_securiy_demo上做中央控制,

你有没有准备好简单的函数调用份额?