找回密码
 立即注册

微信扫码登录

查看: 668|回复: 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.

27

主题

347

回帖

1107

积分

版主

积分
1107
发表于 4 天前 | 显示全部楼层 来自 上海
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 ( 沪ICP备17008231号-1 )

GMT+8, 2026-8-10 13:19 , Processed in 0.095887 second(s), 24 queries .

Powered by Discuz! X3.5

Copyright © 2001-2020, Tencent Cloud.

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