Other Parts Discussed in Thread: Z-STACK
hi,
in order to achieve the "auto bind" function based on SerailApp of Z-Stack 2.5.0, which means do not need any KEY_PRESS, I modified the "SerialApp_Send()" funtion, modified SerailApp_TxAddr.addrMode = (afAddrMode_t)AddrBroadcast; SerialApp_TxAddr.addr.shortAddr = NWK_BROADCAST_SHORTADDR; hope to achieve the broadcast from Coord to Router/ED, and ED/Router to Coord,as follow:

I also modified "SerialApp_Resp()"
SerialApp_RxAddr.addrMode = (afAddrMode_t)Addr16Bit;
SerialApp_RxAddr.addr.shortAddr = 0x0000;
