Hi everyone
there were three device , one is ZC building the network at first,
devices 1 is ZED which is samplelight , endpiont is 10
devices 2 is also ZED which is samplesw, endpiont is 15
when those two devices were success joining in the same network。
i was put a print function in EZMODECB on the samplesw side ;
// finished, either show DstAddr/EP, or nothing (depending on success or not)
if( state == EZMODE_STATE_FINISH )
{
HalUARTWrite(0,&pData->sFinish.ep, sizeof pData->sFinish.ep);
}
and testing like below:
1 =====》 samplesw invoked EZMODE first , then samplelight press the key to start EZMODE ======= > print result “0F” samplesw endpoint
2 =====》 samplelight invoked EZMODE first , then samplesw press the key to start EZMODE ======= > print result “0B” samplelight endpoint
as i think that ,nomatter who invoked the EZMODE first , there should be print the endpoint which came from the remote one ,
but the step1 show me that ,it print itself endpoint in the EZMODECB
could anybody tell me why?