IL PROTOCOLLO ZigBee |
|||
|
|||
INDIRIZZAMENTO
Ogni nodo di un a rete ZigBee potrà
avere due indirizzi: un indirizzo di MAC a 64 bit e un indirizzo di rete
a 16 bit. Ci sono altri due tipi di messaggi di indirizzamento.
IEEE EUI-64: Extended Unique Identifiers
Tutti i dispositivi che comunicano usando il protocollo ZigBee devono avere un indirizzo globale ed unico di MAC a 64 bit. Questo indirizzo e' costituito di 24 bit OUI (Organizationally Unique Identifier)e da 40 bit assegnati dal costruttore. I bit OUI devono essere acquistati dal IEEE per garantire la unicità globale. Si può ottenere il numero OUI al seguente indirizzo web: https://standards.ieee.org/regauth/oui/forms/ OUT-form.shtml Indirizzo di rete
I dispostivi usano il loro indirizzo esteso per
comunicare quando sono nel processo di associazione alla rete. Quando un
dispositivo e' associato con successo ad una rete ZigBee gli viene assegnato un
indirizzo di rete a 16 bit che userà per comunicare con gli altri
dispositivi della rete.
UNICAST
In un messaggio di tipo UNICAST, l'indirizzo del
nodo destinatario e' contenuto nel header MAC del pacchetto Solo il
dispositivo che ha quel indirizzo riceve il messaggio.
Broadcast
In a broadcast packet, the MAC layer destination address is 0xFFFF. Any transceiver
that is RX enabled will receive the message. This form of addressing is used
when joining a network, discovering routes in the network and performing
other ZigBee protocol discovery functions. ZigBee protocol implements a
passiveacknowledge of broadcast packets. What is meant by passive-acknowledge
is that when a device originates or retransmits a broadcast packet, it will
listen for all of its known neighbors to retransmit the packet. If all neighbors
have not replicated the message within nwkPassiveAckTimeout seconds, it will
retransmit the packet until it hears the retransmissions from all of its
known neighbors or the packet times out after nwkNetworkBroadcastDeliveryTime
seconds.
|
|
||
|
|||
|