R309 AT Commands
©2015 Telegesis (UK) Ltd - 49 - AT Command Manual (Rev 3.09)
+MCASTB – Transmit A Multicast Of Binary Data
AT+MCASTB:XX,nn,<ID>
Where XX is the number (in hexadecimal) of
data bytes to be sent and nn is the number of
hops the message will travel.
Notes
When attaching the node’s EUI64 to the network
frame the maximum payload reduces to 74
bytes
This command is particularly useful if the data
may contain <CR> and <Backspace>
characters.
Use multicasts sparingly! They are a form of
broadcast so any node may only repeat or
originate up to 8 multicasts in every 8 second
interval.
SEDs and MEDs cannot receive multicast
messages
Use on
All Devices
> <data being entered>
OK
or ERROR<errorcode>
After the ‘>’ prompt a number of characters are
expected to be entered as defined by XX.
<errorcode> represents the error code explained
in section 3.
When 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 (hex)
nn ranging from 00 to 30
Up to 82 bytes are sent to devices up to nn hops
away. 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.
MCAST:[<EUI64>,]<length>=<data>
or
MCAST:[<EUI64>,]<length>=<data>,
<RSSI>,<LQI>
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). RSSI and LQI are shown if bit 6 of
S0F is set.