the struct "nlme_nwkStatus_ind_t" is used by SDK, user can not use it.
if your device is orphan node now,u can invoke the rejoin function(zb_rejoinReq(NLME_REJOIN_METHOD_REJOIN, zb_apsChannelMaskGet())) periodically,when u rejoined the Coordinator,the "zbdemo_bdbCommissioningCb(u8 status, void *arg)" function will be invoked by SDK,the status is "BDB_COMMISSION_STA_SUCCESS" as follow
Hi ,
the struct "nlme_nwkStatus_ind_t" is used by SDK, user can not use it.
if your device is orphan node now,u can invoke the rejoin function(zb_rejoinReq(NLME_REJOIN_METHOD_REJOIN, zb_apsChannelMaskGet())) periodically,when u rejoined the Coordinator,the "zbdemo_bdbCommissioningCb(u8 status, void *arg)" function will be invoked by SDK,the status is "BDB_COMMISSION_STA_SUCCESS" as follow
Thank Soyo.
Can DEVICE_TYPE_ROUTER know its parent node is online?
Hi sirius,
U can send ZCL msg to his parent node periodically,
Router is belong to Full Function Device ,So router node has not orphan status,and it can work as usual while his parent is offline
Thank Soyo.
I use a callback function when sending data and it work.
But I hope I can know the data callback struct NLME-NWK-STATUS.indication.