R309 AT Commands
©2015 Telegesis (UK) Ltd - 47 - AT Command Manual (Rev 3.09)
+SCASTB – Transmit Binary Data To A Sink
AT+SCASTB:XX
Where XX is the number (in hexadecimal) of
data bytes to be sent.
Notes
- When bit 8 of S10 is set, if a sink cannot
be reached for three consecutive
transmissions the sink is assumed
unavailable and a new one is sought.
- The ACK and/or NACK prompt can be
disabled in S0E
- When attaching the node’s EUI64 to the
network frame the maximum payload
reduces to 74 bytes
- The maximum payload is 82 bytes. It is
reduced by 8 bytes when appending the
EUI to the network header (default) and
also it is reduced by 2 bytes per hop in
case a source route is known. The latter
event can neither be suppressed nor
foreseen.
- S-casts can travel up to 30 hops
Use on
All Devices
> <data being entered>
SEQ:XX
OK
or ERROR<errorcode>
Parameters
XX ranging from 00 to 52 (hex)
After the ‘>’ prompt a number of characters are
expected to be entered as defined by XX. A
maximum of 82 bytes are sent to the network’s
sink.
When bit 9 of S10 is set a timeout error is
generated if no character is received for 1
second. On successful transmission the user is
given a transmission number followed by “OK”.
After that the user is prompted “ACK” on receipt
of an acknowledgement or “NACK” in case the
message was not acknowledged. A NACK does
not guarantee that the message has not reached
its destination.
If bit B of S10 is set, “SEQ”, “ACK” and “NACK”
are not reported. “OK” means that the message
has been acknowledged by the destination.
Prompt
UCAST:[<EUI64>,]XX=<data>
or
UCAST:[<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.