DA14585中央模式的示例代码

⚠️
嗨,...感谢您来论坛。令人兴奋的消息!我们现在正在迁至我们的新论坛平台,将提供更好的功能,并包含在主对话框网站中。所有帖子和帐户都已迁移。我们现在只接受新论坛上的流量 - 请发布任何新线程//www.xmece.com/support.我们会在接下来的几天修复bug /优化搜索和标记。
15个员额/ 0个新员额
最后发表
alex.yu.
离线
最后一次露面:9个月1个星期前
加入:2017-08-29十二
DA14585中央模式的示例代码

嗨,团队,

BLE的新功能,你能把我指示SDK6.0.10.511上的中心模式BLE应用程序示例代码吗?

相信这是最新发布的SDK。

谢谢!

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

嗨alex.yu,

我想你是指“中央”模式。你能告诉我,如果这是正确的吗?如果是,你可以检查示例:BLE中央安全演示项目软件示例作为基于SDK6.0.10.511顶部的引用。此外,请注意DA14585 / 6的所有软件示例都不包含SDK文件,因此您必须将示例与SDK路径链接以构建它们。此链接中描述了您应遵循的程序:示例:DA1458X示例设置

谢谢,PM_DIALOG.

alex.yu.
离线
最后一次露面:9个月1个星期前
加入:2017-08-29十二
你好,

你好,

谢谢你的指导,我下载了样例代码,并运行了安装python脚本,

但是在它很快打印完所有路径后会提示一个错误。

这是完整的输出,python版本:2.7.8,操作系统:win7

任何线索?谢谢。

D:\DA14585\Central_Security_Demo\project_environment>python 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 PROJECT NAME:: D:\DA14585\Central_Security_Demo\project_environment\ble_central_with_security。uvprox IS A VALID…
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 \ platform \包括; 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 \ controller \ lld; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ ble_stack \ controller \ 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 \主机\ 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_stack \ host\ l2c \ l2cc; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ ble_stack \ host \ l2c \ l2cm; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ ble_stack \ host \ 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 \ profiles; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \ profiles \ bas \低音\ api; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \ profiles \说\迪斯\ 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
k \ 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 \ platfort \ arch \ compiler \ rvds; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \平台\ arch \ 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
\ platform \ core_modules \ nvds \ api; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platflic \ core_modules \ rf \ api; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ core_modules \ gtl\ API; D:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ core_modules \ rwip \ api; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ 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 \ platform \ driver \ uart; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ daver \ wkupct_quadec; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ SDK \ platform \ driver \ ble; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ SDK \ platform \ driver \ hw_otpc; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ draft \ dma; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platf
orm \司机\ pdm; \ . . \ src \配置;\ . . \ src; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ system_library \ \ \ \ sdk平台包括:. . \ src \ custom_profile; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \ profiles \局域网;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 \合;D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \ hci \ api; D: \ DA14585 \哒
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 \定制\ cust \ 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 \ 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 \祝福
_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_stac
k \主机\ 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 \ profiles
; 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 \ pist \ 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
.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平台\ \拱\噢\测量系统;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 \ corel_modules \ common \ api; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platflic \core_modules \ crypto; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ core_modules \ dbg \ api; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ 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 \平台
form \ core_modules \ gtl \ api; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platflic \ platform \ core_modules \ rwip \ api; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ 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 \平台
form \ driver \ syscntl; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ drive \ systick; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ driver \ trng; d:\ da14585\ da14585_sdk \ 6.0.10.511 \\小号dk\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 \ 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 \ platform \ driver \ pdm;。\ .. \ 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.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\ da1458.
5_sdk \ 6.0.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 \ 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_stack \ 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 \\ thed_pa​​rty \ 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 \ \ 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 \祝福
_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 \主机\关贸总协定\ 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 \ profiles; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \ profiles \ bas \低音\ api; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \ profiles \说\迪斯\ 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.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 \ platform \ arch \ compiler \ rvds; d:\ da14585 \da14585_sdk \ 6.
.0.10.511 \\ sdk \ platform \ arch \ ll \ rvds; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ arch \ main; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \平台\arch;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 \ \ core_modules \ ke \ src \ sdk \平台;D: \ D
A14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ platform \ core_modules \ nvds \ api; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ core_modules \ rf \ api; d:\ da14585 \ da14585_sdk \ 6.0。10.511 \\ sdk \ platform \ core_modules \ gtl \ api; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ plation \ core_modules \ rwip \ api; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform
\ 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平台\ \司机\ uart; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \司机\ wkupct_quadec; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \司机\祝福;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 \ config \ . . \ src; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ system_library \ \ \ \ sdk平台包括:. . \ src \ custom_profile; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \ profiles \局域网;D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \ profiles \ 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 \ ble_stack \ hci \ src \ \ sdk; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \ profiles \ \ findt \ api; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \ profiles \找到;D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \ profiles \ \ findl \ api; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511
\ \ sdk \ ble_stack \ profiles \定制;D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \ profiles \定制\ cust \ 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 \ controller \ em; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ ble_stack \ controller \ llc; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ ble_stack \ controller \ lld; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ ble_stack \ control
er \ 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: \ DA145
85 \ 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 \ host \ gatt \ gattc; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ ble_stack \ host\ gatt \ gattm; d:\ da14585 \ da
14585_sdk \ 6.0.10.511 \\ sdk \ ble_stack \ host \ l2c \ l2cc; d:\ da1a585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ ble_stack \ host \ 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 \ profiles; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \ profiles \ bas \低音\ api; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \ profiles \说\迪斯\ 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.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_projectile_files; d:\ da14585 \da14585_sdk \ 6.0.10。
511 \\ sdk \ platform \ arch; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ blatform \ batch \ boot \ rvds; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ arch \ compiler\ rvds; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ arch \ ll \ rvds; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ arch \ main; d:\ da14585 \da14585_sdk \ 6.0.10.511 \\ sdk \ platform \
拱;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 \ platform \ core_modules \ gtl \ src; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platflic \ 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 \ platflicules \ core_modules \ nvds \ api; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ core_modules \ rf \ api; D:\ DA1458
5 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ core_modules \ gtl \ api; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platfort \ core_modules \ rwip \ api; d:\ da14585 \ da14585_sdk \ 6.0。10.511 \\ sdk \ platform \ core_modules \ h4tl \ api; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ driver \ adc; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ daver\面糊
Y; D:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \平台\驱动程序\ GPIO; D:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ platfort \ driver \ i2c_eeprom; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ driver \ reg; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ driver \ spi; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ dapl \spi_flash; d:\ da1458
5 \ da14585_sdk \ 6.0.10.511 \\ SDK \ platform \ driver \ syscntl; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ daver \ systick; 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 \ platfort \ driver \ wkupct_quadec; d:\da14585 \ da1.
4585年_sdk \ 6.0.10.511 \ \ sdk平台\ \司机\祝福;D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk平台\ \司机\ hw_otpc; \ . . \ src \配置;\ . . \ src; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ system_library \ \ \ \ sdk平台包括:. . \ src \ custom_profile; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \ profiles \局域网;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 \ profiles \合;D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \ hci \ api; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ ble_stack \ hci \ src \ \ sdk; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \ profiles \ \ findt \ api; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \ profiles \找到;D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stac
k \ profiles \ \ findl \ api; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \ profiles \定制;D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ sdk \ ble_stack \ profiles \定制\ cust \ api; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ third_party \散列;D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ third_party \兰德;
Traceback(最近的调用):
文件"dlg_make_keil5_env_v1.002.py",第545行,在<模块>
run_application (args(“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\ tree\ElementTree.py",第1182行,解析
树.parse(Source,Parser)
文件“c:\ python27 \ lib \ xml \ etree \ folluttree.py”,第656行,在parse中
parser.feed(数据)
文件“C:\ Python27 \ lib \ xml \ etree \ follettree.py”,第1642行,在feed中
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>python dlg_make_keil5_env_v1.002.py -sdkpath "D:\DA14585\DA14585_SDK\6.0.10.511"

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

嗨alex.yu,

  1. 在C(或D)磁盘下创建一个“Workspace”文件夹。(C: \ Workspace)
  2. 再次下载SW示例并将其保存在C:\Workspace位置并解压
  3. 在工作区中复制一个干净的585 SDK,然后解压DA14585_SDK_6.0.10.511_0.zip
  4. 进入C:\ workspace \ da1d14585_sdk_6.0.10.511_0 \ da1a585_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路径成功更新......”
  9. 在上面的过程之后,您应该能够将SW示例与SDK链接。

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

谢谢,PM_DIALOG.

alex.yu.
离线
最后一次露面:9个月1个星期前
加入:2017-08-29十二
你好,

你好,

谢谢,这是很好的使用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,

这就是大头针布局在doc后面跟着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工具与Booter一起下载后,这是终端继续抛出的终端。

什么我对上面的步骤做错了什么?

谢谢你的注意力。

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

嗨alex.yu,

我猜想您是对文件夹路径有问题,而不是python版本有问题。很高兴您能够将SW示例与SDK链接起来,并且可以编译该项目。

请确保您有与Readme文件(在central_security_demo_0\Central_Security_Demo\doc文件夹路径下)中描述的完全相同的pin配置?跳线必须放置在标准SPI flash引脚,加上额外的跳线用于P04 - JL_RxD上的UTX打印,以及P02上的JL_TxD的跳线。所有跳线应该同时放置,所以如果您将它们从SPI切换到UART,这将不起作用。另外,确保您有正确的terterm设置。我从我的侧测试,如果你下载ble_central_with_security固件,没有连接其他DA14585(外设),你应该得到“开始扫描…"给terterm的信息。

谢谢,PM_DIALOG.

alex.yu.
离线
最后一次露面:9个月1个星期前
加入:2017-08-29十二
你好,

你好,

蟒蛇运行过程中出现了好事不改变路径,但只是与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.
离线
最后一次露面:23小时53分钟前
工作人员
加入: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十二
你好,

你好,

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

顺便说一下,DA14580DEVKT-P_VC J5上的跳线设置应该是

P0_4-J_TxD和P0_2-J_RxD,从文档来看有点奇怪,但最终还是弄清楚了。

感谢帮助。

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

嗨alex.yu,

很高兴你识上你的问题,谢谢你接受我的答案。

谢谢,PM_DIALOG.

alex.yu.
离线
最后一次露面:9个月1个星期前
加入:2017-08-29十二
你好,

你好,

之后我去查密码,

因为CFG_MAX_CONNECTIONS被设置为4,

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

静态void UART_READ_CB(UINT8_T状态)
{
//重新扫描扫描如果输入是字母r
如果(uart_input == 'R' || uart_input == 'R'){
wdg_resume();
user_clear_devices ();
user_scan_start();
}
/ /输入sanitycheck简单
别的{
If (uart_input < '0' || 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();
}
}
}

首次连接后,我按下第二个设备,但它似乎没有措施,第二个,

------------------
——6 --------------
DLG-Security无向连接
BD ADDR:D0 C5 D3 C6 E9 79
------------------
——7 --------------
N /无向接入
BD ADDR:6B F4 2A 38 41 83
------------------
--- 8 --------------
DLG-Security无向连接
BD ADDR:80EA CA 70 00 04
------------------
--- 9 --------------
N /无向接入
BD ADDR:74 92 82 3F F6 5E
------------------
扫描完成!
通过输入数字选择设备,
或按R重新扫描,按A连接所有DLG-Security设备。
输入无效。
输入无效。
输入无效。
接下来连接到DLG-SECURITYInput:

设备连接。

发送GAPC_BOND_REQ.

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

配对成功了。接下来连接到DLG-SECURITYInput:
输入无效。
输入无效。

抱歉,我知道这很难,

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

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

谢谢你的帮助。

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

嗨alex.yu,

您可以澄清一下这两个行为都作为外设的DA14585正在运行SDK的BLE_APP_SECURY示例吗?此外,一旦您与第一个设备连接,您是否通过按“R”重新启动扫描。您也可以按A连接所有DLG-Security设备。

谢谢,PM_DIALOG.

alex.yu.
离线
最后一次露面:9个月1个星期前
加入:2017-08-29十二
你好,

你好,

是的,两个外设都在运行ble_app_security,我可以通过重启中央ble_central_with_security_585分别连接它们。

(扫描A&B DLG-Security Devices - > Connect Device A-> Reboot Central->扫描A&B设备 - > Connect Device B)

(是的,我用3 da14580devkt-p_vc测试)

在第一阶段,

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

在第二阶段,

所以我补充说

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

user_connect_to_device(scanned_devices [uart_input]);

和评论的指示如下:

扫描完成!
通过输入数字选择设备,
或按R重新扫描,按A连接所有DLG-Security设备。
输入无效。____/ ************ 按下“输入”,请忽略 ************
输入无效。
输入无效。

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

设备连接。

发送GAPC_BOND_REQ.

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

___/ ****** input '8' here, doing connect, but freeze here, no output on peripheral b terminal ****************
配对成功了。接下来连接到DLG-SECURITYInput:
输入无效。
输入无效。

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

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

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

顺便说一下,“A”选项也由我添加,只是另一个粗略的代码循环user_connect_to_device()为每个设备名“DLG****”,

多数民众赞成结果,请忽略选项“A”。

谢谢

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

嗨alex.yu,

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

谢谢,PM_DIALOG.

alex.yu.
离线
最后一次露面:9个月1个星期前
加入:2017-08-29十二
你好,

你好,

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

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

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

这是很好的与我的iphone ble应用程序,我可以点亮/关闭led和读/写长值通过应用程序。

对于使用DA作为中央结束而不是iPhone应用程序,我缺乏对Central_Securiy_Demo的中央控制,

你有任何现成的简单函数调用来共享吗?