public class XBeeTransmitOptions extends Object
The transmit options are usually set as a bitfield meaning that the options can be combined using the '|' operand.
Modifier and Type | Field and Description |
---|---|
static int |
DIGIMESH_MODE
Transmission is performed using DigiMesh mode (value: 192).
|
static int |
DISABLE_ACK
Disables acknowledgments on all unicasts (value: 1).
|
static int |
DISABLE_RETRIES_AND_REPAIR
Disables the retries and router repair in the frame (value: 1).
|
static int |
DONT_ATTEMPT_RD
Doesn't attempt Route Discovery (value: 2).
|
static int |
ENABLE_APS_ENCRYPTION
Enables APS encryption, only if
EE=1 (value: 32). |
static int |
ENABLE_UNICAST_NACK
Enables unicast NACK messages (value: 4).
|
static int |
ENABLE_UNICAST_TRACE_ROUTE
Enables unicast trace route messages (value: 4).
|
static int |
NONE
No special transmit options (value: 0).
|
static int |
POINT_MULTIPOINT_MODE
Transmission is performed using point-to-Multipoint mode
(value: 64).
|
static int |
REPEATER_MODE
Transmission is performed using repeater mode (value: 128).
|
static int |
USE_BROADCAST_PAN_ID
Sends packet with broadcast
PAN ID . |
static int |
USE_EXTENDED_TIMEOUT
Uses the extended transmission timeout (value: 64).
|
Constructor and Description |
---|
XBeeTransmitOptions() |
public static final int DIGIMESH_MODE
Only valid for DigiMesh 868/900 and Point-to-Multipoint 868/900 protocols.
public static final int DISABLE_ACK
Only valid for DigiMesh, 802.15.4 and Point-to-multipoint protocols.
public static final int DISABLE_RETRIES_AND_REPAIR
Only valid for ZigBee protocol.
public static final int DONT_ATTEMPT_RD
Disables Route Discovery on all DigiMesh unicasts.
Only valid for DigiMesh protocol.
public static final int ENABLE_APS_ENCRYPTION
EE=1
(value: 32).
Enabling APS encryption decreases the maximum number of RF payload
bytes by 4 (below the value reported by NP
).
Only valid for ZigBee XBee protocol.
public static final int ENABLE_UNICAST_NACK
NACK message is enabled on the packet.
Only valid for DigiMesh 868/900 protocol.
public static final int ENABLE_UNICAST_TRACE_ROUTE
Trace route is enabled on the packets.
Only valid for DigiMesh 868/900 protocol.
public static final int NONE
public static final int POINT_MULTIPOINT_MODE
Only valid for DigiMesh 868/900 and Point-to-Multipoint 868/900 protocols.
public static final int REPEATER_MODE
Only valid for DigiMesh 868/900 and Point-to-Multipoint 868/900 protocols.
public static final int USE_BROADCAST_PAN_ID
PAN ID
. Packet will be sent to all
devices in the same channel ignoring the PAN ID
(value: 4).
It cannot be combined with other options.
Only valid for 802.15.4 XBee protocol.
public static final int USE_EXTENDED_TIMEOUT
Setting the extended timeout bit causes the stack to set the extended transmission timeout for the destination address.
Only valid for ZigBee XBee protocol.
public XBeeTransmitOptions()
© Copyright 2014–2014 Digi International Inc. All rights reserved.