|
查看: 843|回复: 1

using fragmentation

[复制链接]

3

主题

3

回帖

117

积分

荣耀黄金

积分
117
发表于 2026-6-14 15:40:18 | 显示全部楼层 |阅读模式 来自 美国
information
说明:   建议参照本版块置顶帖内容输入必要信息
芯片型号: TLSR8258
SDK及版本: telink zigbee sdk
Hello, everyone.

I am trying to send a 120-byte message to my coordinator.

At first, I only set the flags: dstEpInfo.txOptions |= (APS_TX_OPT_ACK_TX | APS_TX_OPT_FRAG_PERMITTED); but the transmission still failed.

I finally got it working, but only after I changed my APS_MAX_WINDOW_SIZE setting to 2+.

Does anyone know why modifying the window size was the magic fix for this? I want to make sure I understand the underlying APS logic so I don't run into memory or routing issues down the road.

29

主题

364

回帖

1167

积分

版主

积分
1167
发表于 2026-8-6 21:11:47 | 显示全部楼层 来自 上海
Hi,
This parameter APS_MAX_WINDOW_SIZE controls how many data blocks are sent before an ACK is needed, otherwise the fragment sending will fail.
From what you're describing, it seems like the coordinator only sends an ACK after receiving 2 blocks. You can check if the APS_MAX_WINDOW_SIZE on the coordinator side is 2.

本版积分规则

关注公众号
隐私政策|Telink forum

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

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

在本版发帖返回顶部