找回密码
 立即注册

微信扫码登录

查看: 433|回复: 4

Device Binding

[复制链接]

11

主题

31

回帖

219

积分

华贵铂金

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


27

主题

166

回帖

571

积分

版主

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

11

主题

31

回帖

219

积分

华贵铂金

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

27

主题

166

回帖

571

积分

版主

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

11

主题

31

回帖

219

积分

华贵铂金

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

GMT+8, 2024-12-22 12:59 , Processed in 0.089154 second(s), 21 queries .

Powered by Telink 隐私政策

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

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