
R305 AT Commands
©2011 Telegesis (UK) Ltd
- 36 -
AT Command Manual (Rev 3.05)
+BCASTB
– Transmit A Broadcast Of Binary Data
Execute Command
AT+BCASTB:XX,nn
Where nn is the number of hops the
message will travel and XX is the number (in
hexadecimal) of data bytes to be sent.
Use on
All Devices
Note
This command is particularly useful if the
data may contain <CR> and <Backspace>
characters.
Response
> <data being entered>
OK
or
ERROR:<errorcode>
After the „>‟ prompt a number of XX characters are
expected to be entered. <errorcode> represents
the error code explained in section 3.
(In case bit 9 of S10 is set a timeout error is
generated if no character is received for 1 second.)
Parameters
XX ranging from 00 to 52 (hexadecimal)
nn ranging from 00 to 30 (decimal)
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 and <length> is the length of the message
in hexadecimal. 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