exbee v0.0.3 Exbee.ExplicitTxFrame View Source
Similar to the Exbee.TxFrame
, but requires specific addressing fields.
- For broadcast transmissions, set
:mac_addr
to0x000000000000FFFF
. - Address the coordinator by either setting the
mac_addr
to0x00
and:network_addr
to0xFFFE
, or by setting:mac_addr
to the coordinator’s mac address and:network_addr
to0x0000
. - For all other transmissions, setting
:network_addr
to 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
attributes 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.
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t() :: %Exbee.ExplicitTxFrame{cluster_id: integer, endpoint: integer, id: integer, mac_addr: integer, network_addr: integer, options: integer, payload: binary, profile_id: integer, radius: integer, source: integer}