|
查看: 148|回复: 3

Zigbee BLE Concurrent - BLE issue

[复制链接]

16

主题

86

回帖

477

积分

璀璨钻石

积分
477
发表于 2026-8-12 06:21:14 | 显示全部楼层 |阅读模式 来自 澳大利亚
information
说明:   建议参照本版块置顶帖内容输入必要信息
芯片型号: TL7218
SDK及版本: telink_zigbee_ble_concurrent_sdk-2.4.1.0
I am trying to build SampleGW app with added BLE security.
I added the following in user_ble_init(void){}

blc_smp_setSecurityLevel(LE_Security_Mode_1_Level_4);
            blc_smp_setSecurityParameters(Bondable_Mode, 1, LE_Secure_Connection, 0, 0, IO_CAPABILITY_DISPLAY_ONLY);
            blc_smp_setDefaultPinCode(123456);

After trying to build I get the following error:
<artificial>.text.blt_smp_sc_handler+0xaec): undefined reference to `eccp_pointVerify'
/cygdrive/c/TelinkIoTStudio/RDS/V5.3.x/toolchains/nds32le-elf-mculib-v5f/bin/../lib/gcc/riscv32-elf/12.2.0/../../../../riscv32-elf/bin/ld.bfd: //cygdrive/c/Users/Wieslaw/AppData/Local/Temp/cc8tFlku.ltrans5.ltrans.o: in function `.L1438':
<artificial>.text.blt_smp_sc_handler+0xb0c): undefined reference to `eccp_pointMul'
/cygdrive/c/TelinkIoTStudio/RDS/V5.3.x/toolchains/nds32le-elf-mculib-v5f/bin/../lib/gcc/riscv32-elf/12.2.0/../../../../riscv32-elf/bin/ld.bfd: /cygdrive/c/Users/Wieslaw/AppData/Local/Temp/cc8tFlku.ltrans6.ltrans.o: in function `.L569':
<artificial>.text.blt_ecc_gen_key_pair.constprop.0+0xd8): undefined reference to `eccp_pointMul'
collect2: error: ld returned 1 exit status
Compilation fails on this function: blc_smp_setSecurityParameters(Bondable_Mode, 1, LE_Secure_Connection, 0, 0, IO_CAPABILITY_DISPLAY_ONLY);

What is wrong? When I try to compile BLE part in just BLE SDK there is no problem.



28

主题

363

回帖

1158

积分

版主

积分
1158
发表于 2026-8-12 11:41:12 | 显示全部楼层 来自 上海
libdrivers_tl721x.a (1.28 MB, 下载次数: 1)
The tl721x driver library is missing some files, please try and use this new driver library file.

16

主题

86

回帖

477

积分

璀璨钻石

积分
477
 楼主| 发表于 2026-8-13 05:52:50 | 显示全部楼层 来自 澳大利亚
本帖最后由 wes58 于 2026-8-13 06:38 编辑
TL_YB 发表于 2026-8-12 11:41
The tl721x driver library is missing some files, please try and use this new driver library file.

Thank you very much for your help. It worked.

By the way, I noticed that your website misses English translation. For example It has 回复 instead of REPLY... etc.

The other thing I noticed on your Github https://github.com/telink-semi/telink_zigbee_sdk/tree/master Zigbee SDK shows as upgraded to version 4.0.1.0 but it is not Zigbee SDK. If you look in PLATFORM folder it doesn't have all the chips that Zigbee SDK supported. In the STACK folder there are folders like ble, ieee802154, zigbee, zigbee_direct. TL7218 supports Zigbee Direct so why isn't it in the platform folder?
Is there a Zigbee Direct SDK on the GitHub that supports TL7218?

28

主题

363

回帖

1158

积分

版主

积分
1158
发表于 2026-8-13 11:00:15 | 显示全部楼层 来自 上海
Thanks for your feedback. The v4.x is an all-in-one SDK, and tl721x might be added in the next version.

本版积分规则

关注公众号
Telink forum

相关侵权、举报、投诉及建议等,请发 E-mail:forum@telink-semi.com

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.|沪ICP备17008231号-1 |沪公网安备31011502403548号

在本版发帖返回顶部