
R305 AT Commands
©2011 Telegesis (UK) Ltd
- 35 -
AT Command Manual (Rev 3.05)
+BCAST
– Transmit A Broadcast
Execute Command
AT+BCAST:nn,<data>
Example
AT+BCAST:00,Hello world
Use on:
All devices
Note: Use broadcasts sparingly! The ZigBee
specification only allows any node to repeat
or originate up to 8 broadcasts in every 8
second interval. Broadcasts use a lot of
bandwidth.
Response
OK
or
ERROR<errorcode>
Where <errorcode> represents the error code
explained in section 3.
Parameters
nn ranging from 00 to 30
A maximum of 82 bytes are sent (with attached
EUI only 74 bytes). The response OK shows
successful transmission. Successful transmission
does not guarantee successful reception. To make
sure data has been received by a specific node
use a unicast message.
Only neighbours which
are up to nn hops away will receive the broadcast.
If nn = 01 only direct neighbours will receive the
broadcast and if n = 00 the entire network will
(max. 30 hops).
Remote action
Prompt
BCAST:[<EUI64>,]<length>=<data>
Every node in the PAN which has received the
broadcast message will prompt the above
message where <EUI64> is the address of the
sender, <length> is the length of the payload and
<data> is the data which was attached to the
broadcast. The EUI64 is only displayed if it is part
of the network header (set bit 0 of S10 to disable
attaching the EUI64 to outgoing messages).
SW release
R300