找回密码
 立即注册

微信扫码登录

查看: 38|回复: 2

How to manually enable the receiving for END_DEVICE

[复制链接]

1

主题

1

回帖

19

积分

英勇黄铜

积分
19
发表于 3 天前 | 显示全部楼层 |阅读模式 来自 新加坡
information
说明:   建议参照本版块置顶帖内容输入必要信息
芯片型号: 8258
SDK及版本: 802.15.4
本帖最后由 cosame 于 2025-12-2 12:32 编辑

Since there is no 802.15.4 forum, I post my question here.

Using 802.15.4 SDK, I need the device to stay online (not sleep) to send some information using mac_send_data_direct and then to receive the confirmation before starting normal polling.

The direct data from device can be received properly by coordinator. However, the confirmation from coordinator cannot received properly by device. After some testing, I find I should start the polling first (at least once) before confirmation from cooridator can be received.

So, my question is: how can I manually trigger the receiving without starting poll for END_DEVICE role.
By the way, COORDINATOR does not have such issue.

Please advise.
Thanks


设置有问题。刚才看到的都是英文。重新问一遍。
现在用的SDK是802.15.4。开发dev时候出现一个问题。
我需要dev先不进入睡眠状态,发送一些信息给coordinator。并且需要以直接direct的方式,从coordinator得到一些确认信息,然后在进入睡眠和poll的情况。由于一些技术要求,不能够用poll得到那些确认信息。
现在的情况是,dev发出的信息coordinator可以收到。但是如果不发poll的请求,那么coordinator发过来的消息就收不到。如果谁便发送一个无用的poll,后面才能够正确的收到coordinator发出的direct信息。
我想知道能通过什么方法,在不先使用poll的情况下,可以手动打开接收模式。我试过用ZB_RADIO_RX_ENABLE;这种方法,不行。
谢谢

1

主题

1

回帖

19

积分

英勇黄铜

积分
19
 楼主| 发表于 3 天前 | 显示全部楼层 来自 新加坡
设置有问题。刚才看到的都是英文。重新问一遍。
现在用的SDK是802.15.4。开发dev时候出现一个问题。
我需要dev先不进入睡眠状态,发送一些信息给coordinator。并且需要以直接direct的方式,从coordinator得到一些确认信息,然后在进入睡眠和poll的情况。由于一些技术要求,不能够用poll得到那些确认信息。
现在的情况是,dev发出的信息coordinator可以收到。但是如果不发poll的请求,那么coordinator发过来的消息就收不到。如果谁便发送一个无用的poll,后面才能够正确的收到coordinator发出的direct信息。
我想知道能通过什么方法,在不先使用poll的情况下,可以手动打开接收模式。我试过用ZB_RADIO_RX_ENABLE;这种方法,不行。
谢谢。

0

主题

1

回帖

16

积分

英勇黄铜

积分
16
发表于 昨天 14:18 | 显示全部楼层 来自 上海
cosame 发表于 2025-12-2 12:20
设置有问题。刚才看到的都是英文。重新问一遍。
现在用的SDK是802.15.4。开发dev时候出现一个问题。
我需要 ...

你好,end device默认处于低功耗状态,可以通过宏PM_ENABLE把end device的PM关闭,RF就处于RX状态了,宏PM_ENABLE在demo\associate_dev\app_cfg.h这个文件中.
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Telink forum ( 沪ICP备17008231号-1 |沪公网安备31011502403548号 )

GMT+8, 2025-12-5 02:34 , Processed in 0.088403 second(s), 21 queries .

Powered by Discuz! 隐私政策

泰凌微电子版权所有 © 。保留所有权利。 2024

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