IL PROTOCOLLO ZigBee |
|||
|
|||
Message Types and Binding I dispositivi possono comunicare con gli altri dispositivi nella rete se essi conoscono l'inidirizzo di rete di questi disposistivi.
Devices can communicate with other devices on the network if they know the
network addresses of those devices. These messages are called direct messages.
However, there is a great deal of overhead involved in discovering and maintaining
these destination addresses. ZigBee protocol offers a feature called
binding to simplify messaging. The ZigBee protocol coordinator can
create a table of matches at the cluster/endpoint level between the services
and the needs of the devices in the network. Each of these pairs is called
a binding . A binding can be requested by the devices themselves, or
it can be created by the coordinator or another device. Once a binding is
created, two devices can communicate through the coordinator. The source
device sends its message to the coordinator, which then relays the message
to one or more destination devices. These messages are called indirect messages.
Formato dei Messaggi del Protocollo
ZigBee
Un messaggio del protocollo ZigBee e' costituito
di fino a 127 bytes nei seguenti campi"
MAC Header Questo header
contiene, assieme ad altre informazioni, l'indirizzo di origine e di
destinazione quando sta per essere trasmesso. Notare che questo header non
riporta la sorgente attuale o il destinatario finale del messaggio se il
messaggio e' passato mediante router. La generazione e l'uso di questo header
non e' compito del codice dell'applicazione. |
|
||
|
|||
|