找回密码
 立即注册

微信扫码登录

查看: 97|回复: 3

Zigbee BLE Concurrent - BLE issue

[复制链接]

16

主题

84

回帖

469

积分

璀璨钻石

积分
469
发表于 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.



27

主题

361

回帖

1147

积分

版主

积分
1147
发表于 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

主题

84

回帖

469

积分

璀璨钻石

积分
469
 楼主| 发表于 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?

27

主题

361

回帖

1147

积分

版主

积分
1147
发表于 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 ( 沪ICP备17008231号-1 )

GMT+8, 2026-8-21 07:39 , Processed in 0.090369 second(s), 27 queries .

Powered by Discuz! X3.5

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表