嗨,团队,
新来BLE,你能不能告诉我就SDK6.0.10.511中心模式BLE应用示例代码?
相信这是最新发布的SDK。
谢谢!
嗨alex.yu,
我想你是指“中央”模式。你能告诉我,如果这是正确的吗?如果是,你可以检查示例:BLE中央安全演示项目软件示例作为基于SDK6.0.10.511顶部的引用。此外,请注意DA14585 / 6的所有软件示例都不包含SDK文件,因此您必须将示例与SDK路径链接以构建它们。此链接中描述了您应遵循的程序:SW示例:DA1458x安装示例
谢谢,PM_DIALOG.
你好,
谢谢你的指导,我下载了样例代码,并运行了安装python脚本,
但是在它很快打印完所有路径后会提示一个错误。
以下是整个输出,Python版本:2.7.8,OS: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\U 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\U SDK\\6.0.10.511\\SDK\\common\U project\U files\\scatterfiles\\scatterfile\U common.sct')('TO LOCATION::','.\..\\src\\config\\copied\u 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\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 \ 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\ host \ 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 \ host \ 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 \ host \ smp \ smpm; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ ble_stack \ host \ smp; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ ble_stack \ compules; 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\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\U 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 \ RVds;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\arch\main;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\arch;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\core\u modules\arch\u控制台;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\core\U modules\common\api;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\core\U模块\加密;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\core\U modules\dbg\api;D:\DA14585\DA14585_-SDK\6.0.10.511\\SDK\platform\core_-modules\gtl\src;D:\DA14585\DA14585\u-SDK\6.0.10.511\\SDK\platform\core\u-modules\ke\api;D:\DA14585\DA14585\u-SDK\6.0.10.511\\SDK\platform\core\u-modules\ke\src;D:\DA14585\DA14585\U 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\platform\driver\adc;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\battery;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\gpio;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\i2c\U eeprom;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\reg;D:\DA14585\DA14585\U SDK\6.0.10.511\\sdk\platform\driver\spi;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\spi\U flash;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\syscntl;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\systick;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\trng;D:\DA14585\DA14585\U 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 \ platform \司机\ 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\u-SDK\6.0.10.511\\SDK\ble\u-stack\profiles\find\findt\api;D:\DA14585\DA14585\u-SDK\6.0.10.511\\SDK\ble\u-stack\profiles\find;D:\DA14585\DA14585\u-SDK\6.0.10.511\\SDK\ble\u-stack\profiles\find\findl\api;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\profiles\custom;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.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 modules\src\app\u proxr;D:\DA14585\DA14585\u SDK\6.0.10.511\\SDK\app\u modules\src\app\u 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模块\src\app\u客户;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\DA14585\u-SDK\6.0.10.511\\SDK\ble\u-stack\controller\lld;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\controller\llm;D:\DA14585\DA14585\U SDK\6.0。10.511 \\ sdk \ ble_stack \ host \ 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 \ host\ ATT \ ATTM; D:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ BLE_STACK \主机\ 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 \主机\ 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 \型材\ 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.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 \ src;D:\DA14585\DA14585\u-SDK\6.0.10.511\\SDK\platform\core\u-modules\ke\api;D:\DA14585\DA14585\u-SDK\6.0.10.511\\SDK\platform\core\u-modules\ke\src;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\core\U modules\nvds\api;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\core\U modules\rf\api;D:\DA14585\DA14585\U 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.511 \\ sdk \ platform \ driver \ gpio; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ daver \ i2c_eeprom; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ driver \ reg; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ daver \ spi; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platflic \ daver \ spi_flash; d:\ da14585 \ da14585_sdk \ 6.0。10.511 \\ sdk \ platform \ 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 \\ 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 \ 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.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 \ 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_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_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 \祝福_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\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:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\host\gap\gapc;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\host\gap\gapm;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\host\gatt;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\host\gatt\gattc;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\host\gatt\gattm;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\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_sdk \ 6.0.10.511 \\ sdk \ ble_stack \ host \ smp \ smpm; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ ble_stack \ host \ smp; d:\ da14585 \ da14585_sdk \ 6.0。10.511 \\ sdk \ ble_stack \ comperile; 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 \ compiles\ dis \ play \ 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 \平台\拱\ LL \ RVDS; 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\api;D:\DA14585\DA14585_SDK\6.0.10.511 \\ sdk \ platform \ core_modules \ crypto; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platflic \ 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 \ platfort \ 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 \平台\核心模块\h4tl\api;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\adc;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\battery;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\gpio;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\i2c\U eeprom;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\Driver\reg;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\spi;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\spi\U flash;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\syscntl;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\systick;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\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.511\\sdk\ble\u stack\profiles\rscp;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\profiles\pasp;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\profiles\cscp;D:\DA14585\DA14585\u-SDK\6.0.10.511\\SDK\ble\u-stack\profiles\anp;D:\DA14585\DA14585\u-SDK\6.0.10.511\\SDK\ble\u-stack\profiles\hrp;D:\DA14585\DA14585\U 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_party \ rand;D:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ thed_party \哈希; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ crinseve; 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 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ app_modules \ SRC \ app_suotar; d:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ app_modules \ SRC \应用程序_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 \控制研究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: \ 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:\ da1a585 \ 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 \ host \ smp \ smpm; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ ble_stack \ host\ SMP; D:\ da14585 \ da14585_sdk \6.0.10.511 \\ sdk \ ble_stack \ comperiles; 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\型材\ 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\U SDK\6.0.10.511\\SDK\platform\core\u modules\arch\u控制台;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\core\U modules\common\api;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\core\U modules\crypto;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\core\U modules\dbg\api;D:\DA14585\DA14585\U SDK\6.0.10.511 \\ 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:\ 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平台\ \司机\面糊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: \ 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; \ .. \ 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\u stack\profiles\cpp;D:\DA14585\DA14585\u-SDK\6.0.10.511\\SDK\ble\u-stack\profiles\rscp;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\profiles\pasp;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\profiles\cscp;D:\DA14585\DA14585\u-SDK\6.0.10.511\\SDK\ble\u-stack\profiles\anp;D:\DA14585\DA14585\U 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 \ \ 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 \兰德;回溯(最后最新呼叫):文件"dlg_make_keil5_env_v1.002.py",第545行,在<模块>run_application(args [sdkpath“])文件“dlg_make_keil5_env_v1.002.py”,第532行,在运行应用程序中设置\u keil5\u项目\u环境()文件"dlg_make_keil5_env_v1.002.py",第443行,在setup_keil5_project_environmentbuild_uvprojx_element_ldads_scatterfile (XML_PATTERN_LDADS_SCATTERFILE)文件“dlg_make_keil5_env_v1.002.py”,第274行,在build_uvprojx_element_ldads_scatterfile中tree=ET.parse(DLG\u WORKING\u PROJECT\u NAME)文件"C: Python27\lib\xml\ tree\ElementTree.py",第1182行,解析树。解析器解析(源)文件 “C:\ Python27 \ LIB \ XML \ etree \ ElementTree.py”,线路656,在解析提要(数据)文件"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列
我按照我描述的程序从我这边进行测试。请注意,我使用的是Python3.7版本。请将python从版本2.7.8更改为版本3.7。
谢谢,python 3.7很好用,
我认为应该在文档中更新这一点,其中提到python 2.7是最低要求。
在gapc_cmp_evt_处理程序代码更改并成功构建之后,
我将BLE_Central_with_security_585.hex加载到DA14580DEVKT-P_VC上,使用DA14585附加,具有UART跳线设置,
然后切换回SPI跳线设置,这是参考文档,并陷入困惑的额外跳线P04 - JL_RxD, JL_TxD - P02,
这是Doc on Central_Security_Demo的PIN布局:
P0_2——P0_1
P0_4——JL_RxD
p0_5 - jl_txd.
在AD14580DEVKT-P_VC上,具有引脚布局:
p0_4 - j_txd.
P0_5 - J_RxD
把这两个针倒过来好吗?可以只保留P04-JL_RxD,JL_TxD-P02吗?
自从SmartSnippets工具与Booter一起下载后,这是终端继续抛出的终端。
< ? ? < ~ ? ?~ ? ?< w @ ?<~???~ ~ ? ?< ? ? ~ ? ?< ?< ~ ?@ ~ ? ?< w < ? ? ~ ? ?< ? ? w ? < ? ?<w ?< @ ~ ? ~ ? ?~ ? ?< ~?? 在上面的步骤中我做错了什么吗? 感谢关注。
在上面的步骤中我做错了什么吗?
感谢关注。
我想你有一个文件夹路径,而不是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的信息。
python在不改变路径的情况下运行良好,但只需使用python 3.7即可。无论如何
当下载十六进制时,跳线设置是否重要?我失败的spi设置下载,但成功的uart设置。
这是我的台阶。
1.根据UM-B-049 DA14585DA14586入门指南_v2.1_0.pdf,捕获为j5_layout.PNG,
我将pin连接为spi_setting.JPG,下载hex并将日志设置为spi_download_failed.PNG,
2.然后我将uart设置更改为uart_setting.JPG,它成功下载了uart_success.PNG,
3.在那之后,我用spi_setting.JPG检查终端,但再次出现类似噪声的输出,uart_download_terminal.PNG
所有的捕获作为附件zip,希望我说清楚了。
我把数字写在台阶上,所以你们可以清楚地指出我的错误。
谢谢。
请使用硬件和软件配置部分中描述的相同硬件配置。烧掉SPI闪光灯并预设重置按钮后,应将这些结果纳入tera术语。请尝试将RM用作串行监视器。您可以在附件中找到编程SPI闪存应遵循的步骤。我使用SmartSnippets工具箱5.0.7版从我的角度对它们进行了测试,它工作正常。有关SmartSnippets工具箱的更多信息,请阅读用户手册。您可以从“帮助”菜单下载它(?)这是GUI的顶部。如果您发现上述任何答案有用,请将其中一个标记为“已接受”。
谢谢似乎是下载的方式。我现在可以看到正确的扫描输出。
顺便说一下,DA14580DEVKT-P_VC J5上的跳线设置应该是
P0_4-J_TxD和P0_2-J_RxD,从文档来看有点奇怪,但最终还是弄清楚了。
谢谢你的帮助。
高兴的是,你想通您的问题并感谢您接受我的答案。
之后我去查密码,
由于已将CFG_MAX_CONNECTION设置为4,因此
所以我尝试连接两块板,然后在代码上做了这些更改,用户在连接后再次选择设备(),
静态void UART_READ_CB(UINT8_T状态){// [重新启动扫描如果输入是字母R如果(uart_输入=='r'| | uart_输入=='r'){wdg_resume();用户清除设备();user_scan_start ();}/ /输入sanitycheck简单别的{If (uart_input < '0' || uart_input-'0' >= device_count){ARCH_PRINTF(“输入无效。\ r \ n”);user_choose_device ();}别的{//根据输入数字连接到设备uart2_读取_进行中=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--------------不适用无向可连接BD ADDR:6B F4 2A 38 41 83--------------------- 8 --------------DLG-SECURITY无向接入BD ADDR: 80 ea ca 7000 04---------------------9--------------不适用无向可连接屋宇署地址:7492823F65E------------------扫描完成!通过输入数字选择设备,或按R重新扫描,按A连接所有DLG-Security设备。输入无效。输入无效。输入无效。连接到DLG-SecurityInput下一步:
设备连接。
发送GAPC_BOND_REQ
确认值:722986LTK: 0 x12b3d3ca55a5aa3191ab54a7918c1aa5建立加密链接。
配对成功了。连接到DLG-SecurityInput下一步:输入无效。输入无效。
对不起,我知道这真是一次艰难的尝试,
但是你能告诉我正确的地方吗,那里必须改变才能工作,
或任何用于并发连接的文档或示例?
您可以澄清一下这两个行为都作为外设的DA14585正在运行SDK的BLE_APP_SECURY示例吗?此外,一旦您与第一个设备连接,您是否通过按“R”重新启动扫描。您也可以按A连接所有DLG-Security设备。
是的,两个外设都在运行ble_app_security,我可以通过重启中央ble_central_with_security_585分别连接它们。
(扫描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-Security设备。输入无效。____/ ************ 按下“输入”,请忽略 ************输入无效。输入无效。
___/******在此处输入“6”,进行连接,在外设a端子上具有相同的确认值和LTK*****连接到DLG-SecurityInput下一步:
___/******此处输入'8',进行连接,但此处冻结,外设b端子上无输出****************配对成功了。连接到DLG-SecurityInput下一步:输入无效。输入无效。
也许应该在进一步改变之前澄清第一阶段,
第一次连接到第1阶段后,我是否应该立即重新扫描或连接第二个设备?
连接到第1相后,端子立即冻结是否正常?
BTW,我的“a”选项也由我添加,只是另一个循环vers_connect_to_device(),每个设备名称都有“dlg ****”,
这就是转出同样的结果,请忽略选项“A”的时刻。
谢谢
我会通过你的注册电子邮件地址与你联系。
经过一些工作后,它能够同时连接两个设备,感谢您的大力帮助。
还有一件事要做,验证中央和外围设备之间的读写功能,
在外设端,我在user\u catch\u rest\u hndl中添加了CUSTS1\u VAL\u WRITE\u IND和CUSTS1\u ATT\u INFO\u REQ案例,
我的iPhone BLE应用程序很好,我可以通过应用程序点亮/关闭LED并通过应用程序读/写长值。
对于使用DA作为中心端而不是iphone应用程序,我缺乏参考在central_securiy_demo上做中央控制,
你有任何现成的简单函数调用来共享吗?
嗨alex.yu,
我想你是指“中央”模式。你能告诉我,如果这是正确的吗?如果是,你可以检查示例:BLE中央安全演示项目软件示例作为基于SDK6.0.10.511顶部的引用。此外,请注意DA14585 / 6的所有软件示例都不包含SDK文件,因此您必须将示例与SDK路径链接以构建它们。此链接中描述了您应遵循的程序:SW示例:DA1458x安装示例
谢谢,PM_DIALOG.
你好,
谢谢你的指导,我下载了样例代码,并运行了安装python脚本,
但是在它很快打印完所有路径后会提示一个错误。
以下是整个输出,Python版本:2.7.8,OS: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\U 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\U SDK\\6.0.10.511\\SDK\\common\U project\U files\\scatterfiles\\scatterfile\U common.sct')
('TO LOCATION::','.\..\\src\\config\\copied\u 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 \ 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\ host \ 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 \ host \ 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 \ host \ smp \ smpm; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ ble_stack \ host \ smp; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ ble_stack \ compules; 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\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\U 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\U SDK\6.0.10.511\\SDK\platform\arch\main;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\arch;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\core\u modules\arch\u控制台;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\core\U modules\common\api;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\core\U模块
\加密;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\core\U modules\dbg\api;D:\DA14585\DA14585_-SDK\6.0.10.511\\SDK\platform\core_-modules\gtl\src;D:\DA14585\DA14585\u-SDK\6.0.10.511\\SDK\platform\core\u-modules\ke\api;D:\DA14585\DA14585\u-SDK\6.0.10.511\\SDK\platform\core\u-modules\ke\src;D:\DA14585\DA14585\U 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\platform\driver\adc;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\battery;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\gpio;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\i2c\U eeprom;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\reg;D:\DA14585\DA14585\U SDK\6
.0.10.511\\sdk\platform\driver\spi;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\spi\U flash;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\syscntl;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\systick;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\trng;D:\DA14585\DA14585\U 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 \ 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\u-SDK\6.0.10.511\\SDK\ble\u-stack\profiles\find\findt\api;D:\DA14585\DA14585\u-SDK\6.0.10.511\\SDK\ble\u-stack\profiles\find;D:\DA14585\DA14585\u-SDK\6.0.10.511\\SDK\ble\u-stack\profiles\find\findl\api;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\profiles\custom;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\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 modules\src\app\u proxr;D:\DA14585\DA14585\u SDK\6.0.10.511\\SDK\app\u modules\src\app\u 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模块\src\app\u客户;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\DA14585\u-SDK\6.0.10.511\\SDK\ble\u-stack\controller\lld;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\controller\llm;D:\DA14585\DA14585\U SDK\6.0。
10.511 \\ sdk \ ble_stack \ host \ 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 \ host\ ATT \ ATTM; D:\ DA14585 \ DA14585_SDK \ 6.0.10.511 \\ SDK \ BLE_STACK \主机\ 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_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 \型材\ 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
.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\u-SDK\6.0.10.511\\SDK\platform\core\u-modules\ke\api;D:\DA14585\DA14585\u-SDK\6.0.10.511\\SDK\platform\core\u-modules\ke\src;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\core\U modules\nvds\api;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\core\U modules\rf\api;D:\DA14585\DA14585\U 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 \ platform \ driver \ gpio; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ daver \ i2c_eeprom; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ driver \ reg; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ daver \ spi; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platflic \ daver \ spi_flash; d:\ da14585 \ da14585_sdk \ 6.0。10.511 \\ sdk \ plat
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 \\ 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 \ 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.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 \ 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_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 \ \ 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\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:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\host\gap\gapc;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\host\gap\gapm;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\host\gatt;
D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\host\gatt\gattc;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\host\gatt\gattm;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\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_sdk \ 6.0.10.511 \\ sdk \ ble_stack \ host \ smp \ smpm; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ ble_stack \ host \ smp; d:\ da14585 \ da14585_sdk \ 6.0。10.511 \\ sdk \ ble_stack \ comperile; 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 \ compiles\ dis \ play \ 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 \平台\拱\ LL \ RVDS; 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\api;D:\DA14585\DA14585_SDK\6.0
.10.511 \\ sdk \ platform \ core_modules \ crypto; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platflic \ 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 \ platfort \ core_modules \ ke \ 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 \平台
\核心模块\h4tl\api;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\adc;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\battery;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\gpio;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\i2c\U eeprom;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\D
river\reg;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\spi;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\spi\U flash;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\syscntl;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\systick;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\driver\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
.511\\sdk\ble\u stack\profiles\rscp;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\profiles\pasp;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\profiles\cscp;D:\DA14585\DA14585\u-SDK\6.0.10.511\\SDK\ble\u-stack\profiles\anp;D:\DA14585\DA14585\u-SDK\6.0.10.511\\SDK\ble\u-stack\profiles\hrp;D:\DA14585\DA14585\U SDK\6.0.10.511\\s
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 \ 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_party \ rand;D:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ thed_party \哈希; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ platform \ crinseve; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ app_modules \AP
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 \\ 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 \应用程序_
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 \控制研究
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 \ host \ smp \ smpc; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ ble_stack \ host \ smp \ smpm; d:\ da14585 \ da14585_sdk \ 6.0.10.511 \\ sdk \ ble_stack \ host\ SMP; D:\ da14585 \ da14585_sdk \
6.0.10.511 \\ sdk \ ble_stack \ comperiles; 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\型材\ 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\U SDK\6.0.10.511\\SDK\platform\core\u modules\arch\u控制台;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\core\U modules\common\api;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\core\U modules\crypto;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\platform\core\U modules\dbg\api;D:\DA14585\DA14585\U 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平台\ 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\u stack\profiles\cpp;D:\DA14585\DA14585\u-SDK\6.0.10.511\\SDK\ble\u-stack\profiles\rscp;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\profiles\pasp;D:\DA14585\DA14585\U SDK\6.0.10.511\\SDK\ble\U stack\profiles\cscp;D:\DA14585\DA14585\u-SDK\6.0.10.511\\SDK\ble\u-stack\profiles\anp;D:\DA14585\DA14585\U 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_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 \兰德;
回溯(最后最新呼叫):
文件"dlg_make_keil5_env_v1.002.py",第545行,在<模块>
run_application(args [sdkpath“])
文件“dlg_make_keil5_env_v1.002.py”,第532行,在运行应用程序中
设置\u keil5\u项目\u环境()
文件"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中
tree=ET.parse(DLG\u WORKING\u PROJECT\u NAME)
文件"C: Python27\lib\xml\ tree\ElementTree.py",第1182行,解析
树。解析器解析(源)
文件 “C:\ Python27 \ LIB \ XML \ etree \ ElementTree.py”,线路656,在解析
提要(数据)
文件"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>python dlg_make_keil5_env_v1.002.py -sdkpath "D:\DA14585\DA14585_SDK\6.0.10.511"
嗨alex.yu,
我按照我描述的程序从我这边进行测试。请注意,我使用的是Python3.7版本。请将python从版本2.7.8更改为版本3.7。
谢谢,PM_DIALOG.
你好,
谢谢,python 3.7很好用,
我认为应该在文档中更新这一点,其中提到python 2.7是最低要求。
在gapc_cmp_evt_处理程序代码更改并成功构建之后,
我将BLE_Central_with_security_585.hex加载到DA14580DEVKT-P_VC上,使用DA14585附加,具有UART跳线设置,
然后切换回SPI跳线设置,这是参考文档,并陷入困惑的额外跳线P04 - JL_RxD, JL_TxD - P02,
这是Doc on Central_Security_Demo的PIN布局:
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一起下载后,这是终端继续抛出的终端。
< ? ? < ~ ? ?~ ? ?< w @ ?<~???~ ~ ? ?< ? ? ~ ? ?< ?< ~ ?@ ~ ? ?< w < ? ? ~ ? ?< ? ? w ? < ? ?<w ?< @ ~ ? ~ ? ?~ ? ?< ~??
在上面的步骤中我做错了什么吗?
感谢关注。
嗨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.
你好,
python在不改变路径的情况下运行良好,但只需使用python 3.7即可。无论如何
当下载十六进制时,跳线设置是否重要?我失败的spi设置下载,但成功的uart设置。
这是我的台阶。
1.根据UM-B-049 DA14585DA14586入门指南_v2.1_0.pdf,捕获为j5_layout.PNG,
我将pin连接为spi_setting.JPG,下载hex并将日志设置为spi_download_failed.PNG,
2.然后我将uart设置更改为uart_setting.JPG,它成功下载了uart_success.PNG,
3.在那之后,我用spi_setting.JPG检查终端,但再次出现类似噪声的输出,uart_download_terminal.PNG
所有的捕获作为附件zip,希望我说清楚了。
我把数字写在台阶上,所以你们可以清楚地指出我的错误。
谢谢。
嗨alex.yu,
请使用硬件和软件配置部分中描述的相同硬件配置。烧掉SPI闪光灯并预设重置按钮后,应将这些结果纳入tera术语。请尝试将RM用作串行监视器。您可以在附件中找到编程SPI闪存应遵循的步骤。我使用SmartSnippets工具箱5.0.7版从我的角度对它们进行了测试,它工作正常。有关SmartSnippets工具箱的更多信息,请阅读用户手册。您可以从“帮助”菜单下载它(?)这是GUI的顶部。如果您发现上述任何答案有用,请将其中一个标记为“已接受”。
谢谢,PM_DIALOG.
你好,
谢谢似乎是下载的方式。我现在可以看到正确的扫描输出。
顺便说一下,DA14580DEVKT-P_VC J5上的跳线设置应该是
P0_4-J_TxD和P0_2-J_RxD,从文档来看有点奇怪,但最终还是弄清楚了。
谢谢你的帮助。
嗨alex.yu,
高兴的是,你想通您的问题并感谢您接受我的答案。
谢谢,PM_DIALOG.
你好,
之后我去查密码,
由于已将CFG_MAX_CONNECTION设置为4,因此
所以我尝试连接两块板,然后在代码上做了这些更改,用户在连接后再次选择设备(),
静态void UART_READ_CB(UINT8_T状态)
{
// [重新启动扫描如果输入是字母R
如果(uart_输入=='r'| | uart_输入=='r'){
wdg_resume();
用户清除设备();
user_scan_start ();
}
/ /输入sanitycheck简单
别的{
If (uart_input < '0' || uart_input-'0' >= device_count){
ARCH_PRINTF(“输入无效。\ r \ n”);
user_choose_device ();
}
别的{
//根据输入数字连接到设备
uart2_读取_进行中=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--------------
不适用无向可连接
BD ADDR:6B F4 2A 38 41 83
------------------
--- 8 --------------
DLG-SECURITY无向接入
BD ADDR: 80 ea ca 7000 04
------------------
---9--------------
不适用无向可连接
屋宇署地址:7492823F65E
------------------
扫描完成!
通过输入数字选择设备,
或按R重新扫描,按A连接所有DLG-Security设备。
输入无效。
输入无效。
输入无效。
连接到DLG-SecurityInput下一步:
设备连接。
发送GAPC_BOND_REQ
确认值:722986
LTK: 0 x12b3d3ca55a5aa3191ab54a7918c1aa5
建立加密链接。
配对成功了。连接到DLG-SecurityInput下一步:
输入无效。
输入无效。
对不起,我知道这真是一次艰难的尝试,
但是你能告诉我正确的地方吗,那里必须改变才能工作,
或任何用于并发连接的文档或示例?
谢谢你的帮助。
嗨alex.yu,
您可以澄清一下这两个行为都作为外设的DA14585正在运行SDK的BLE_APP_SECURY示例吗?此外,一旦您与第一个设备连接,您是否通过按“R”重新启动扫描。您也可以按A连接所有DLG-Security设备。
谢谢,PM_DIALOG.
你好,
是的,两个外设都在运行ble_app_security,我可以通过重启中央ble_central_with_security_585分别连接它们。
(扫描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-Security设备。
输入无效。____/ ************ 按下“输入”,请忽略 ************
输入无效。
输入无效。
___/******在此处输入“6”,进行连接,在外设a端子上具有相同的确认值和LTK*****
连接到DLG-SecurityInput下一步:
设备连接。
发送GAPC_BOND_REQ
确认值:722986
LTK: 0 x12b3d3ca55a5aa3191ab54a7918c1aa5
建立加密链接。
___/******此处输入'8',进行连接,但此处冻结,外设b端子上无输出****************
配对成功了。连接到DLG-SecurityInput下一步:
输入无效。
输入无效。
也许应该在进一步改变之前澄清第一阶段,
第一次连接到第1阶段后,我是否应该立即重新扫描或连接第二个设备?
连接到第1相后,端子立即冻结是否正常?
BTW,我的“a”选项也由我添加,只是另一个循环vers_connect_to_device(),每个设备名称都有“dlg ****”,
这就是转出同样的结果,请忽略选项“A”的时刻。
谢谢
嗨alex.yu,
我会通过你的注册电子邮件地址与你联系。
谢谢,PM_DIALOG.
你好,
经过一些工作后,它能够同时连接两个设备,感谢您的大力帮助。
还有一件事要做,验证中央和外围设备之间的读写功能,
在外设端,我在user\u catch\u rest\u hndl中添加了CUSTS1\u VAL\u WRITE\u IND和CUSTS1\u ATT\u INFO\u REQ案例,
我的iPhone BLE应用程序很好,我可以通过应用程序点亮/关闭LED并通过应用程序读/写长值。
对于使用DA作为中心端而不是iphone应用程序,我缺乏参考在central_securiy_demo上做中央控制,
你有任何现成的简单函数调用来共享吗?