我现在的想法:
场景1:
1、1个路由设备,通过无线的方式分别配置10个协调器的参数。
我目前的做法是:每个探空仪均使用EPANID=1;路由设备每次进入一个局域网配置完成后,让这个网络不允许入网。
然后打开第二个协调器,进行形同的步骤。可以实现。
2、如果我想用2个路由设备,通过无线的方式分别配置10个协调器的参数。这样速度会快一倍。
有一个问题:如果两个路由设备同时上电,两个协调器也同时上电。就会造成两个设备同时进入了一个网络中。
请问有没有好的办法可以解决这个问题?
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.
我现在的想法:
场景1:
1、1个路由设备,通过无线的方式分别配置10个协调器的参数。
我目前的做法是:每个探空仪均使用EPANID=1;路由设备每次进入一个局域网配置完成后,让这个网络不允许入网。
然后打开第二个协调器,进行形同的步骤。可以实现。
2、如果我想用2个路由设备,通过无线的方式分别配置10个协调器的参数。这样速度会快一倍。
有一个问题:如果两个路由设备同时上电,两个协调器也同时上电。就会造成两个设备同时进入了一个网络中。
请问有没有好的办法可以解决这个问题?
当你咋不知道一个函数或者变量是什么意思的时候, 右键 go declaration
typedef struct { byte SequenceNum; byte PassiveAckTimeout; byte MaxBroadcastRetries; byte MaxChildren; byte MaxDepth; byte MaxRouters; byte dummyNeighborTable; // to make everything a byte!! byte BroadcastDeliveryTime; byte ReportConstantCost; byte RouteDiscRetries; byte dummyRoutingTable; // to make everything a byte!! byte SecureAllFrames; byte SecurityLevel; #if defined ( COMPATIBILITY_221 ) // Obsolete - do not use byte nwkAllFresh; #endif byte SymLink; byte CapabilityFlags; uint16 TransactionPersistenceTime; byte nwkProtocolVersion; // non-standard attributes byte RouteDiscoveryTime; byte RouteExpiryTime; // set to 0 to turn off expiration of routes // non-settable uint16 nwkDevAddress; byte nwkLogicalChannel; uint16 nwkCoordAddress; byte nwkCoordExtAddress[Z_EXTADDR_LEN]; uint16 nwkPanId; // Other global items - non-settable nwk_states_t nwkState; uint32 channelList; byte beaconOrder; byte superFrameOrder; byte scanDuration; byte battLifeExt; uint32 allocatedRouterAddresses; uint32 allocatedEndDeviceAddresses; byte nodeDepth; // Version 1.1 - extended PAN ID uint8 extendedPANID[Z_EXTADDR_LEN]; // Network key flag uint8 nwkKeyLoaded; // Key information - Moved out of the NIB structure after ZStack 2.3.0 // If these elements are going to be reused make sure to consider the size // of the structures and padding specific to the target where the stack is // going to be running. nwkKeyDesc spare1; // Not used nwkKeyDesc spare2; // Not used // Zigbee Pro extensions uint8 spare3; // nwkAddrAlloc deprecated - not used anymore uint8 spare4; // nwkUniqueAddr deprecated - not used anymore uint8 nwkLinkStatusPeriod; // The time in seconds betwee link status // command frames uint8 nwkRouterAgeLimit; // The number of missed link status // command frames before resetting the // link cost to zero uint8 nwkUseMultiCast; // ZigBee Pro extentions: MTO routing uint8 nwkIsConcentrator; // If set, then the device is concentrator uint8 nwkConcentratorDiscoveryTime; // Time period between two consecutive MTO route discovery uint8 nwkConcentratorRadius; // Broadcast radius of the MTO route discovery #if defined ( COMPATIBILITY_221 ) // Obsolete - do not use uint8 nwkMaxSourceRoute; uint8 nwkSrcRtgExpiryTime; #else uint8 nwkAllFresh; #endif uint16 nwkManagerAddr; // Network Manager Address uint16 nwkTotalTransmissions; uint8 nwkUpdateId; } nwkIB_t;