AnsweredAssumed Answered

How to send Coordinator data to SED

Question asked by Loganathan A on Sep 12, 2019
Latest reply on Sep 25, 2019 by Mario Ignacio Castaneda Lopez

Hello Sir,

             I am using NXP JN5168-001-M00 module, application Note-JN-AN-1229-ZBPro-Application-Template-v1002.


I can send SED data to Coordinator. but i need to send coordinator data also to sed when sed's wakeup. Coordinator data received in SED some time only, that i mentioned below details. 
1. power on SED device ( Initial time) - Data received success 
PRIVATE void vHandleStackEvent(ZPS_tsAfEvent sStackEvent) ----------- app_coordinator.c

            DBG_vPrintf(TRACE_APP, "APP: vCheckStackEvent: ZPS_EVENT_AF_DATA_INDICATION\n"); 


                APP_vSendPayload_Ucast(tempbuf,6,Clust_ID, Des_Address);     ------- >  coordinator data to sed  function

2. After received  SED's data, every time I am sending coordinator data to SED, i got success ack in coordinator but i never received that data in SED. 
void APP_vtaskMyEndPoint (void)   ----- app_endpoint.c

    u16bytesread = PDUM_u16APduInstanceReadNBO(sStackEvent.uEvent.sApsDataIndEvent.hAPduInst, 0, "bbbbbbbbbbbbbbbbbbbbbbbbbbb",&payload);

                  DBG_vPrintf(TRACE_TRUE, "Read: %d, DATA : %x \r\n", u16bytesread,u8TempPayload);


                APP_vSendPayload_Ucast(tempbuf,6,Clust_ID, Des_Address);     ------- >  after received my sed data, i am sending coordinator data to sed function
Thanks & regards,