beautypg.com

SENA ProBee-ZS10 User Manual

Page 40

background image

40

ProBee-ZS10 User Guide Rev.1.5


Broadcast data mode can be entered using either ATB or AT+TRANSMITMODE=3. If ATB command is
used, the device will enter the broadcast data mode immediately and keep it until escaped using “+++” or
reset by ATZ. If the device is reset, it will not enter the broadcast data mode but command mode in this
case.

On the other hand, if AT+TRANSMITMODE=3 is used to enter the broadcast data mode, the device
enters the broadcast data mode again whenever the device is reset. To disable the broadcast data mode,
escape the data mode first by using “+++” string and use AT+TRANSMITMODE=0 and reset the device to
apply the setting permanently.

AT commands used for the broadcast data mode are as below.

ATB

Set broadcast data mode.

AT+TRANSMITMODE=3 or AT+TM=3

Set the transmission mode to broadcast. It should be reset to apply the mode.

ATS35=n, where n is the broadcast range.

ATS36=n, where n is the radius.

Set data transmission range. Please refer to the chapter 7 S-Registers for more details.

Note: ZigBee compliance rules prevents flooding of the network by limiting the network to a maximum of 9

broadcasts over 8 seconds. Attempts to submit additional broadcasts beyond this should result in the

transmission error. This is approximately one broadcast per second. It is, however, recommended to

broadcast one packet over 2 seconds for safe transmission. Broadcast transmission failure also causes

retransmission which is affected by transmission timeout(S33) and transmission retries(S32). Because

frequent retransmissions may cause to break the broadcast limitation, it is recommended to set more than

1000 for transmission timeout(S33) and set as small as possible for transmission retries(S32).

Multicast data transmission is implemented on top of the network broadcast mechanism, so it is subject to

the same rules.


Example)

ATS35=2

# Set broadcast range to all nodes in the network

OK

#

Response

ATB

# Enter the broadcast mode

OK

#

Response

Send broadcast msg

# Put the broadcast message