why need bAgeChildren?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

why need bAgeChildren?

745 Views
leoxie
Contributor I

Hi Everyone,

   There are some question with bAgeChildren.

   1、why need  bAgeChildren?

   2、why need to send ZPS_eAplZdpNwkAddrRequest?

   3、How to remove device that broken child Automatically? that is for purge child table and permit new device joined.

  Thanks very muc.

Labels (2)
Tags (2)
0 Kudos
1 Reply

614 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Leo Xie,

   1、why need bAgeChildren?

 Child aging code to remove stale child entries

   2、why need to send ZPS_eAplZdpNwkAddrRequest?

The network address of a remote node can be obtained in either of two ways.

ZPS_u16AplZdoLookupAddr or ZPS_eAplZdpNwkAddrRequest

   3、How to remove a device that broken child Automatically? that is for purge child table and permit new device joined.

   1.ZPS_eAplZdoLeaveNetwork: This function can be used to request a node to leave the network.

   2.ZPS_eAplZdoRemoveDeviceReq: This function can be used (normally by the Co-ordinator/Trust Centre) to request another node (such as a Router) to remove one of its children from the network (for example, if the child node does not satisfy security requirements).

   3. ZPS_bAplZdoTrustCenterRemoveDevice: This function can be used by the Trust Centre to delete a node in its information base. Here the coordinator will simply remove the data w.r.t its child from its information base and can be used in condition when the node is dead or in some unknown state.

For a better reference look at the  ZigBee PRO Stack User Guide

Mario

0 Kudos