请问:协调器Association Permit怎么就自动关闭!!!
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
你是在使用steering对吧。
void bdb_nwkSteeringDeviceOnNwk(void) { zAddrType_t dstAddr; dstAddr.addr.shortAddr = NWK_BROADCAST_SHORTADDR_DEVZCZR; dstAddr.addrMode = AddrBroadcast; // Trust Center significance is always true ZDP_MgmtPermitJoinReq( &dstAddr, BDBC_MIN_COMMISSIONING_TIME, TRUE, FALSE ); } #define BDBC_MIN_COMMISSIONING_TIME 180 // 180 seconds
你可以选择用ZDO_StartDevice配合NLME_PermitJoinReq