This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

关于多级父子节点,退网问题(leaving a network)

情景:父节点退网时,同时也让一级子节点退网;一级子节点退网时,也让二级子节点退网。

当父节点退网时,执行以下函数:

leaveReq.removeChildren = true;

..........................

NLME_LeaveReq( &leaveReq );

..................................

按我的理解,他会广播数据包,通知其子节点退网。

问题是:子节点收到该数据包后,相应的处理函数在哪里?因为我们是做照明,希望灯泡退网时(即恢复出厂设置)能够闪烁提示。

不知道TI是不是把这段代码封装了,不对外开放。