|
enum | FrameType : uint8_t {
FTYPE_AT_COMMAND = 0x08
, FTYPE_AT_COMMAND_QUEUE = 0x09
, FTYPE_TX_REQUEST = 0x10
, FTYPE_AT_COMMAND_RESPONSE = 0x88
,
FTYPE_MODEM_STATUS = 0x8A
, FTYPE_TX_STATUS = 0x8B
, FTYPE_RX_PACKET_FRAME = 0x90
} |
|
enum | TransmitOptionsBitfield : uint8_t {
TO_DISABLE_ACK = 0x01
, TO_DISABLE_RD = 0x02
, TO_NACK = 0x04
, TO_TRACE_ROUTE = 0x08
,
TO_DM_POINT_MULTIPOINT = 0x40
, TO_DM_REPEATER_MODE = 0x80
, TO_DM_DIGIMESH = 0xC0
} |
|
enum | CommandStatusBitfield : uint8_t {
CS_OK = 0x00
, CS_ERROR = 0x01
, CS_INVALID_COMMAND = 0x02
, CS_INVALID_PARAMETER = 0x03
,
CS_RSSI_INVALID = 0x40
, CS_IS_REMOTE_COMMAND = 0x80
} |
|
enum | ModemStatus : uint8_t { MS_HARDWARE_RESET = 0x00
, MS_WATCHDOG_TIMER_RESET = 0x01
, MS_NETWORK_WOKE_UP = 0x0B
, MS_NETWORK_WENT_SLEEP = 0x0C
} |
|
enum | DeliveryStatus : uint8_t {
DELS_SUCCESS = 0x00
, DELS_MAC_ACK_FAILURE = 0x01
, DELS_COLL_AVOID_FAILURE = 0x02
, DELS_NO_SPECTRUM_AVAILABLE = 0x03
,
DELS_NET_ACK_FAILURE = 0x21
, DELS_ROUTE_NOT_FOUND = 0x25
, DELS_INT_RESOURCE_ERR = 0x31
, DELS_INTERNAL_ERROR = 0x32
,
DELS_PAYLOAD_TOO_LARGE = 0x74
, DELS_INDIRECT_MSG_REQ = 0x75
} |
|
enum | DiscoveryStatus : uint8_t { DISCS_NO_DISC_OVERHEAD = 0x00
, DISCS_ROUTE_DISCOVERY = 0x02
} |
|
enum | ReceiveOptions : uint8_t {
RO_PACKET_ACK = 0x00
, RO_PACKET_IS_BROADCAST = 0x01
, RO_POINT_MULTIPOINT = 0x40
, RO_REPEATER_MODE = 0x80
,
RO_DIGIMESH = 0xC0
} |
|
|
bool | setChannelMask (Xbee &xbee, uint32_t mask, unsigned int timeout=1000) |
| Enables or disable the specified channels. Channel 9 and 24 are always disabled due to regulatory limitations. See datasheet for the list of channel frequencies.
|
|
bool | setChannelMask (Xbee &xbee, bool channels[30], unsigned int timeout=1000) |
| Enables or disable the specified channels. Channel 9 and 24 are always disabled due to regulatory limitations. See datasheet for the list of channel frequencies.
|
|
bool | enableAllChannels (Xbee &xbee, unsigned int timeout=1000) |
| Enable communication on all available channels. Equivalent to calling setChannelMask(xbee, 0x3EFFFDFF).
|
|
bool | disableFrequencyHopping (Xbee &xbee, unsigned int timeout=1000) |
| Disables frequency hopping by allowing communication only on channel #29. Equivalent to calling setChannelMask(xbee, 0x20000000).
|
|
bool | setDataRate (Xbee &xbee, bool dataRate80kbps, unsigned int timeout=1000) |
| Configures the desired xbee data rate.
|
|
bool | writeToMemory (Xbee &xbee, unsigned int timeout=1000) |
| Writes parameter values to non-volatile memory so that parameter modifications persist through subsequent resets.
|
|
bool | energyDetect (Xbee &xbee, int *energyDetectData, uint8_t duration, unsigned int timeout=1000) |
| Performs an energy detect scan on all channels.
|
|
Classes used if you want to log an APIFrame, but do not want to log the base APIFrame class, which is quite heavy on memory