17.01.2015 Views

R308 AT Command Manual - wless.ru

R308 AT Command Manual - wless.ru

R308 AT Command Manual - wless.ru

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>R308</strong> <strong>AT</strong> <strong>Command</strong>s<br />

+BCAST – Transmit A Broadcast<br />

Execute <strong>Command</strong><br />

<strong>AT</strong>+BCAST:nn,<br />

Example<br />

<strong>AT</strong>+BCAST:00,Hello world<br />

Use on:<br />

All devices<br />

Response<br />

OK or ERROR<br />

Where represents the error code<br />

explained in section 3.<br />

Parameters<br />

nn ranging from 00 to 30<br />

Note: Use broadcasts sparingly! The ZigBee<br />

specification only allows any node to repeat<br />

or originate up to 8 broadcasts in every 8<br />

second interval. Broadcasts use a lot of<br />

bandwidth.<br />

A maximum of 82 bytes are sent (with attached<br />

EUI only 74 bytes). The response OK shows<br />

successful transmission. Successful transmission<br />

does not guarantee successful reception. To make<br />

sure data has been received by a specific node<br />

use a unicast message. Only neighbours which<br />

are up to nn hops away will receive the broadcast.<br />

If nn = 01 only direct neighbours will receive the<br />

broadcast and if n = 00 the entire network will<br />

(max. 30 hops).<br />

Remote action<br />

Prompt<br />

BCAST:[,]=<br />

Every node in the PAN which has received the<br />

broadcast message will prompt the above<br />

message where is the address of the<br />

sender, is the length of the payload and<br />

is the data which was attached to the<br />

broadcast. The EUI64 is only displayed if it is part<br />

of the network header (set bit 0 of S10 to disable<br />

attaching the EUI64 to outgoing messages).<br />

SW release R300 ●<br />

©2012 Telegesis (UK) Ltd - 35 - <strong>AT</strong> <strong>Command</strong> <strong>Manual</strong> (Rev 3.08)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!