|
查看: 7290|回复: 4

Device Binding

[复制链接]

19

主题

95

回帖

514

积分

超凡大师

积分
514
发表于 2024-10-15 04:32:19 | 显示全部楼层 |阅读模式 来自 澳大利亚
If I have 2 devices. And I bind device #1 with device #2, and bidn device #1 with device #3.
How can I find out what devices is device #1 binded with?
Is it possible to access binding table on device #1?


29

主题

364

回帖

1167

积分

版主

积分
1167
发表于 2024-10-15 13:40:53 | 显示全部楼层 来自 上海
aps_binding_entry_t g_apsBindingTbl[]

19

主题

95

回帖

514

积分

超凡大师

积分
514
 楼主| 发表于 2024-10-17 11:18:50 | 显示全部楼层 来自 澳大利亚
Ok. Thanks.
I can send the message to bind or unbind the device. And I received status 0 if the binding/unbinding was successful.
But there is no specific message that can be send from the Gateway to the device to request information about what devices are in the binding table?
If there isn't then, I would have to create my own message/cmd type and, then on the device add the code to send response to this message.

By the way,
This entering Captcha is annoying. especially if it doesn't work. How many time can you try.
I tried EcC8, EcG8, Ec68 and nothing works. Why do you have it here?
See attached picture.
Untitled.png

29

主题

364

回帖

1167

积分

版主

积分
1167
发表于 2024-10-17 15:51:03 | 显示全部楼层 来自 上海
You can obtain the binding table of the remote device by sending MGMT_bind_request command from the GW.
/***********************************************************************
* @brief       Send the command mgmt_bind_req.
*
* @param[in]        dstNwkAddr        - destination address of the request
* @param[in]   pReq        - parameter of mgmt_bind_req
* param[in]    seqNo                 - the sequence number used by this command
* @param[in]   indCb                - the indicate callback for mgmt_bind_rsp
*
* @return      Status
*
***********************************************************************/
zdo_status_t zb_mgmtBindReq(u16 dstNwkAddr, zdo_mgmt_bind_req_t *pReq, u8 *seqNo, zdo_callback indCb);




Regarding the issue of captcha,i will forward it to the administrator.

I suggest you create a topic in the user feedback section to track this issue.

19

主题

95

回帖

514

积分

超凡大师

积分
514
 楼主| 发表于 2024-10-20 16:29:04 | 显示全部楼层 来自 澳大利亚
TL_YB 发表于 2024-10-17 15:51
You can obtain the binding table of the remote device by sending MGMT_bind_request command from the  ...

Thanks for that. I will try this function.

本版积分规则

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

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

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

在本版发帖返回顶部