exbee v0.0.5 Exbee.TxFrame View Source
Transmits a payload to a remote node.
- For broadcast transmissions, set
:mac_addrto0x000000000000FFFF. - Address the coordinator by either setting the
mac_addrto0x00and:network_addrto0xFFFE, or by setting:mac_addrto the coordinator’s mac address and:network_addrto0x0000. - For all other transmissions, setting
:network_addrto the correct 16-bit address helps improve performance when transmitting to multiple endpoints. If you do not know a the endpoint’s network address, set it to0xFFFE(unknown).
The :radius attribute sets the maximum number of hops a broadcast transmission can occur. It can
be set from 0 to 0xFF. If set to 0, the value of the Maximum Unicast Hops(NH) command
specifies the broadcast radius (recommended). This parameter is only used for broadcast
transmissions.
Possible :option values:
0x01- Disable retries0x20- Enable APS encryption (if EE=1)0x40- Use the extended transmission timeout for this destination
An Exbee.TxResultFrame will be returned indicating the status of the transmission.