DA14585中心模式的样本代码

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

嗨,团队,

刚接触BLE,你能告诉我SDK6.0.10.511上的中心模式BLE应用程序示例代码吗?

相信这是最新发布的SDK。

谢谢!

设备:
PM_Dialog
离线
最后一次露面:11小时59分钟前
职员
加入:2018-02-08 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十二
你好,

你好,

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

但它在很快打印出所有路径后立即提示错误。

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

有线索吗?谢谢。

D:\DA14585\Central\u Security\u Demo\project\u environment>python-dlg\u make\u keil5\u env\u v1.002.py-sdkpath“D:\DA14585\DA14585\u 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平台包括: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_modules \ src \ app_proxr; D: \ DA14585 \ DA145
85_SDK\6.0.10.511\\SDK\app_modules\src\app_suotar;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\app\u modules\src\app\u findme;D:\DA14585\DA14585\u SDK\6.0.10.511\\SDK\app\u modules\src\app\u custs;D:\DA14585\DA14585\u-SDK\6.0.10.511\\SDK\ble\u-stack\controller\em;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\controller\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 \主机\ 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 \型材\ 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平台\ \拱;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平台\ \拱\ \房车
DS; D:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ arch \ main; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platfort \ 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\platform\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 \ src; d:\DA14585 \DA14585_SDK\6.0.10.511\\sdk\platform\core_modules\ke\api;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\platform\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平台\ \司机\祝福;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\driver\pdm;\\src\config;\\src;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\system\U library\include\src\custom\u配置文件;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\profiles\lan;D:\DA14585\DA14585\u-SDK\6.0.10.511\\SDK\ble\u-stack\profiles\cpp;D:\DA14585\DA14585\u-SDK\6.0.10.511\\SDK\ble\u-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 \\ src \ 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 \\ 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\host\l2c\l2cc;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\host\l2c\l2cm;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\host\smp\smpc;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\host\smp\smpm;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\host\smp;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U堆栈\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平台\ \拱;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
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 \ platform \ core_modules \ ke \ api; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platflic \ 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\platform\core_modules\rf\api;D:\DA14585\DA14585_SDK\6.0.10.511\\sdk\plat
形成\ 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 \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\ DA1458
5 _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 \型材\找到; 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 \型材\定制\ custs \ API; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ THIRD_PARTY \兰特; d:\ DA14585\ DA14585
_SDK\6.0.10.511\\third\u party\hash;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\include;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\app\U模块\api;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\app\u modules\src\app\u bass;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\app\u modules\src\app\u diss;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\app\U 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 \ 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 \ 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\u-SDK\6.0.10.511\\SDK\ble\u-stack\profiles\prox\proxr\api;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\profiles\suota\suotar\api;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U堆栈\rBLE;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\rwble\U hl;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U 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平台\ \ 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 \客\ api; D: \ DA14585 \ DA14585_SDK \ 6.0.10.511 \ \ core_modules \ ke \ src \ sdk \平台;D: \ D
A14585 \ 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.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
River \ 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 \ platform \ driver \ syscntl; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ daver \ systick; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \司机\ 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\platform\driver\pdm;\\src\config;\\src;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\system\U library\include\src\custom\u配置文件;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\profiles\lan;D:\DA14585\DA14585\u-SDK\6.0.10.511\\SDK\ble\u-stack\profiles\cpp;D:\DA14585\DA14585\U 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 \美联社
我;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_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_
蹄;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 \控制
呃,嗯,;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\host\att;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\host\att\attc;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\host\att\attm;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\host\att\atts;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U 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\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 \主机\ 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平台\ \拱;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平台
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 \ core_modules \ common \ api; d:\ da14585 \ da14585_sdk\ 6.0.10.511 \\ sdk \ platform \ core_modules \ crypto; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platfort \ 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平台\ \司机\ 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 \ 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 \ pav; 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_环境中
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行,解析
树。解析器解析(源)
文件“C: Python27\lib\xml\ tree\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\u Security\u Demo\project\u environment>python-dlg\u make\u keil5\u env\u v1.002.py-sdkpath“D:\DA14585\DA14585\u SDK\6.0.10.511”

PM_Dialog
离线
最后一次露面:11小时59分钟前
职员
加入:2018-02-08 11:03
嗨alex.yu,

嗨alex.yu,

  1. 在C(或D)磁盘下创建一个“工作区”文件夹(C:\工作区)
  2. 再次下载SW示例并将其保存在C:\Workspace位置并解压
  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版中使用。请将Bython从版本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工具之后,这就是终端保持扔出去。

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

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

谢谢你的关注。

PM_Dialog
离线
最后一次露面:11小时59分钟前
职员
加入:2018-02-08 11:03
嗨alex.yu,

嗨alex.yu,

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

请确保您的pin配置与自述文件中描述的完全相同(位于central\u security\u demo\u 0\central\u security\u demo\doc文件夹路径下)?跳线必须放置在标准SPI闪存引脚上,加上P04-JL_RxD上UTX打印的额外跳线,以及P02上JL_TxD的跳线。所有跳线应同时放置,因此如果您将它们从SPI切换到UART,这将不起作用。此外,请确保您具有正确的RM设置。我从我这边进行了测试,如果您下载带有安全软件的ble_central_,而不连接其他DA14585(外围设备),则应将“开始扫描…”消息输入RM。

谢谢,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_SUCCED.PNG,

3.在此之后,我将终端与spi_setting.jpg检查,但再次出现噪声输出,UART_DownLoad_terminal.png

所有截图都是附带的拉链,希望我能说清楚。

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

谢谢。

PM_Dialog
离线
最后一次露面:11小时59分钟前
职员
加入:2018-02-08 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
离线
最后一次露面:11小时59分钟前
职员
加入:2018-02-08 11:03
嗨alex.yu,

嗨alex.yu,

很高兴你解决了你的问题,谢谢你接受我的回答。

谢谢,PM_Dialog

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

你好,

后来我去拿密码,

因为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 ();
}
//简单输入卫生检查
其他{
If (uart_input < '0' || uart_input-'0' >= device_count){
arch_printf( “输入无效\ r \ n”);
user_choose_device ();
}
其他{
//根据输入数字连接到设备
uart2_read_in_progress = 0;
uart_输入=uart_输入-'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 / a无要连接的可连接
BD ADDR:6B F4 2A 38 41 83
------------------
——8 --------------
DLG-SECURITY无向接入
BD ADDR: 80 ea ca 7000 04
------------------
--- 9 --------------
n / a无要连接的可连接
BD ADDR:74 92 82 3F F6 5E
------------------
扫描完成!
通过输入数字选择设备,
或按R重新扫描,按A连接所有DLG-安全装置。
输入无效。
输入无效。
输入无效。
接下来连接到DLG-SECURITYInput:

设备连接。

发送GAPC_BOND_REQ

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

配对成功。连接到DLG SECURITYInput下一步:
输入无效。
输入无效。

对不起,我知道这真的是一个粗略的尝试,

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

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

谢谢你的大力帮助。

PM_Dialog
离线
最后一次露面:11小时59分钟前
职员
加入:2018-02-08 11:03
嗨alex.yu,

嗨alex.yu,

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

谢谢,PM_Dialog

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

你好,

是的,两个外设都运行ble_应用程序_security,我可以通过使用_security_585重新启动central ble_central_来分别连接它们。

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

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

在第一阶段,

首先,我无法连接第二个设备,因为我连接第一,终端冻结,我无法输入不再字符。

在第二阶段,

所以我添加

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

user_connect_to_device(scanned_devices [uart_input]);

并附有如下注释的说明:

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

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

设备连接。

发送GAPC_BOND_REQ

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

___ / ******输入'8'在这里,执行连接,但在此处冻结,外围设备B端子上没有输出****************
配对成功。连接到DLG SECURITYInput下一步:
输入无效。
输入无效。

可能应该在进一步改变之前澄清第1阶段,

在第1阶段首次连接后,我应该能够重新扫描或连接第二设备吗?

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

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

结果是一样的,请暂时忽略选项A。

谢谢

PM_Dialog
离线
最后一次露面:11小时59分钟前
职员
加入:2018-02-08 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上做中央控制,

您是否有任何现成的简单函数调用可供共享?