ZigbeeBasicKnowledgeJuly,2006上海顺舟网络科技有限公司(RFDorFFD)ZigBeeRouter(FFD)ZigBeeCoordinator(FFD)MeshLinkStarLink上海顺舟网络科技有限公司(BestReliability)StarNetwork(Simplest)TreeNetwork(LeastRAM)CoordinatorRouter(FFD)EndDevice(RFD)上海顺舟网络科技有限公司(PANC)FullFunctionDevice(Router)ReducedFunctionDevice(RFD)ClusterTreeMeshStarNetworkTopology上海顺舟网络科技有限公司•Simplicity•LowCost•LongBatteryLife•SinglePointofFailure上海顺舟网络科技有限公司•Pros–UseslittleRAMtostorepathinformation–Routesfollowapredeterminedpath–Allowsmulti-hopcommunication•Cons–Requiresreliabletreelinks–MaximumNWKdiameterisfixed–Topologyislimited(mustchooseatnetworkformationtime)TreeNetwork上海顺舟网络科技有限公司•Pro–Robust,multi-hopcommunicationthatexploitsmultiplepaths.–Networkdiameternotnecessarilyfixed.–Messagelatencyisoptimal.•Con–Pathlatenciesaremoredifficulttocharacterize.–Routersmustbeonallthetime.–Routingstoragerequired.–Routediscoveryrequired.MeshNetwork上海顺舟网络科技有限公司上海顺舟网络科技有限公司上海顺舟网络科技有限公司•Extensionofnetworkcoveragewithoutincreasingtransmitpowerorreceivesensitivity•Enhancedreliabilityviarouteredundancy•Easiernetworkconfiguration•Betterdevicebatterylifeduetofewerretransmissions•ExtendedRange•RoutingComplexity上海顺舟网络科技有限公司–PANCoordinatorPANCoordinator•“owns”thenetwork–Startsit–Allowsotherdevicestojoinit–Providesbindingandaddress-tableservices–Savesmessagesuntiltheycanbedelivered•A“full-functiondevice”–FFD•Mainspowered上海顺舟网络科技有限公司•Routesmessages•Doesnotownorstartnetwork–Scanstofindanetworktojoin–Givenablockofaddressestoassign•A“full-functiondevice”–FFD•Mainspowereddependingontopology上海顺舟网络科技有限公司–EndDeviceEndDevice•Communicateswithasingledevice•Doesnotownorstartnetwork–Scanstofindanetworktojoin•CanbeanFFDorRFD(reducedfunctiondevice)•Usuallybatterypowered上海顺舟网络科技有限公司•EveryPANhasaunique16bitIDandasingleZigBeecoordinator•ForZigBeeV1.0,aPANoccupiesasinglechannel•ForZigBeeV1.0,mergingPANsaftertheyhaveformedisnotpossiblewithoutre-commissioningthetwosystems•TheZigBeecoordinatorhasaspecial16bitnetworkaddressof0x0000上海顺舟网络科技有限公司•Everydevicehasa64bitMACaddress(unique)•Uponassociation,everydevicereceivesa16bitnetworkaddress(unique)•Onlythe16bitnetworkaddressisusedtoroutepacketswithinthenetwork.•Devicesretaintheir16bitaddressiftheydisconnectfromthenetwork,however,ifLEAVEthenetwork,the16bitaddressisre-assigned•NWKbroadcastimplementedabovetheMAC:–NWKaddress0xFFFFisthebroadcastaddress–SpecialalgorithminNWKtopropagatethemessage–“BestEffort”or“GuaranteedDelivery”options上海顺舟网络科技有限公司