27
ProBee-ZS10 User Guide Rev.1.1
4
Data Transmission
The ZS10 supports three different types of data transmissions: unicast, multicast and broadcast. Unicast
is to transmit data to a specific ZigBee device. Multicast is to transmit data to a group of ZigBee devices
that are assigned a specific group ID. Broadcast is to transmit data to all ZigBee devices (or specific type
of ZigBee nodes if specified) in the network.
There are also two different methods to transmit data to other device as below:
Command mode: It sends only one packet up to allowed payload length by a form of command.
Data mode: It is possible to send data consecutively until leave the data mode using “+++”.
4.1
Command Mode
4.1.1
Unicast
Unicast transmissions are sent from a source device to a destination device. The destination device can
be any ZigBee device in the ZigBee network. To specify the destination device, the ZigBee address of the
destination device should be known.
There are two different ZigBee addresses assigned to each ZigBee device. The 64-bit address is a
unique device address assigned during manufacturing. The 64-bit address is also called IEEE address or
extended address. The 16-bit address is assigned to the device when it joins a ZigBee network. The
ZS10 can send unicast messages based on either 16-bit address or 64-bit address. The AT command for
the unicast transmissions is as below:
AT+UNICAST=<node_id>,<MSG><CR>
Where <node_id> = 16-bit or 64-bit address, <MSG> = data to transmit
The maximum payload of the message is 90 bytes (or 72 bytes under security enabled). If the message
length exceeds the maximum payload, the message cannot transmit and the error message will be
presented.
4.1.2
Multicast
Multicast transmissions are sent from a source device to destination devices with the specific group ID.
The group ID is assigned to the devices using the AT+GROUPID command. The AT command for the
multicast transmissions is as below.
AT+MULTICAST=<group_id>,<MSG><CR>
Where <group_id> = group ID, <MSG> = data to transmit
The data transmission range can be set using the AT commands below. Please refer to the
7 S-Registers
for more details.