## Uses of Class
com.digi.xbee.api.packet.XBeePacket

- Packages that use XBeePacket
  Package | Description
  --- | ---
  com.digi.xbee.api |
  com.digi.xbee.api.listeners |
  com.digi.xbee.api.models |
  com.digi.xbee.api.packet |
  com.digi.xbee.api.packet.common |
  com.digi.xbee.api.packet.raw |

- - ### Uses of XBeePacket in com.digi.xbee.api

    Methods in com.digi.xbee.api that return XBeePacket
    Modifier and Type | Method and Description
    --- | ---
    `XBeePacket` | XBeeDevice.`sendPacket(XBeePacket packet)` Sends the given XBee packet synchronously and blocks until the response is received or the configured receive timeout expires.

    Methods in com.digi.xbee.api with parameters of type XBeePacket
    Modifier and Type | Method and Description
    --- | ---
    `XBeePacket` | XBeeDevice.`sendPacket(XBeePacket packet)` Sends the given XBee packet synchronously and blocks until the response is received or the configured receive timeout expires.
    `void` | XBeeDevice.`sendPacket(XBeePacket packet, IPacketReceiveListener packetReceiveListener)` Sends the given XBee packet and registers the given packet listener (if not `null`) to be notified when the answers is received.
    `void` | XBeeDevice.`sendPacketAsync(XBeePacket packet)` Sends the given XBee packet asynchronously.

  - ### Uses of XBeePacket in com.digi.xbee.api.listeners

    Methods in com.digi.xbee.api.listeners with parameters of type XBeePacket
    Modifier and Type | Method and Description
    --- | ---
    `void` | IPacketReceiveListener.`packetReceived(XBeePacket receivedPacket)` Called when an XBee packet is received through the connection interface.

  - ### Uses of XBeePacket in com.digi.xbee.api.models

    Methods in com.digi.xbee.api.models that return XBeePacket
    Modifier and Type | Method and Description
    --- | ---
    `XBeePacket` | XBeePacketsQueue.`getFirstDataPacket(int timeout)` Returns the first data packet from the queue waiting up to the specified timeout if necessary for an XBee data packet to become available.
    `XBeePacket` | XBeePacketsQueue.`getFirstDataPacketFrom(RemoteXBeeDevice remoteXBeeDevice, int timeout)` Returns the first data packet from the queue whose 64-bit source address matches the address of the provided remote XBee device.
    `XBeePacket` | XBeePacketsQueue.`getFirstPacket(int timeout)` Returns the first packet from the queue waiting up to the specified timeout if necessary for an XBee packet to become available.
    `XBeePacket` | XBeePacketsQueue.`getFirstPacketFrom(RemoteXBeeDevice remoteXBeeDevice, int timeout)` Returns the first packet from the queue whose 64-bit source address matches the address of the provided remote XBee device.

    Methods in com.digi.xbee.api.models with parameters of type XBeePacket
    Modifier and Type | Method and Description
    --- | ---
    `void` | XBeePacketsQueue.`addPacket(XBeePacket xbeePacket)` Adds the provided packet to the list of packets.

  - ### Uses of XBeePacket in com.digi.xbee.api.packet

    Subclasses of XBeePacket in com.digi.xbee.api.packet
    Modifier and Type | Class and Description
    --- | ---
    `class` | `GenericXBeePacket` This class represents a basic and Generic XBee packet where the payload is set as a byte array without a defined structure.
    `class` | `UnknownXBeePacket` This class represents a basic and unknown XBee packet where the payload is set as a byte array without a defined structure.
    `class` | `XBeeAPIPacket` This abstract class provides the basic structure of a ZigBee API frame.

    Methods in com.digi.xbee.api.packet that return XBeePacket
    Modifier and Type | Method and Description
    --- | ---
    `XBeePacket` | XBeePacketParser.`parsePacket(byte[] packetByteArray, OperatingMode mode)` Parses the bytes from the given array depending on the provided operating mode and returns the API packet.
    `static XBeePacket` | XBeePacket.`parsePacket(byte[] packet, OperatingMode mode)` Parses the given byte array and returns a Generic XBee packet.
    `XBeePacket` | XBeePacketParser.`parsePacket(InputStream inputStream, OperatingMode mode)` Parses the bytes from the given input stream depending on the provided operating mode and returns the API packet.
    `static XBeePacket` | XBeePacket.`parsePacket(String packet, OperatingMode mode)` Parses the given hexadecimal string and returns a Generic XBee packet.

  - ### Uses of XBeePacket in com.digi.xbee.api.packet.common

    Subclasses of XBeePacket in com.digi.xbee.api.packet.common
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ATCommandPacket` This class represents an AT Command XBee packet.
    `class` | `ATCommandQueuePacket` This class represents an AT Command Queue XBee packet.
    `class` | `ATCommandResponsePacket` This class represents an AT Command Response packet.
    `class` | `IODataSampleRxIndicatorPacket` This class represents an IO Data Sample RX Indicator packet.
    `class` | `ModemStatusPacket` This class represents a Modem Status packet.
    `class` | `ReceivePacket` This class represents a Receive Packet.
    `class` | `RemoteATCommandPacket` This class represents a Remote AT Command Request packet.
    `class` | `RemoteATCommandResponsePacket` This class represents a Remote AT Command Response packet.
    `class` | `TransmitPacket` This class represents a Transmit Packet.
    `class` | `TransmitStatusPacket` This class represents a Transmit Status Packet.

  - ### Uses of XBeePacket in com.digi.xbee.api.packet.raw

    Subclasses of XBeePacket in com.digi.xbee.api.packet.raw
    Modifier and Type | Class and Description
    --- | ---
    `class` | `RX16IOPacket` This class represents an RX16 Address IO packet.
    `class` | `RX16Packet` This class represents an RX (Receive) 16 Request packet.
    `class` | `RX64IOPacket` This class represents an RX64 Address IO packet.
    `class` | `RX64Packet` This class represents an RX (Receive) 64 Request packet.
    `class` | `TX16Packet` This class represents a TX (Transmit) 16 Request packet.
    `class` | `TX64Packet` This class represents a TX (Transmit) 64 Request packet.
    `class` | `TXStatusPacket` This class represents a TX (Transmit) Status packet.

© Copyright 2014–2014 Digi International Inc. All rights reserved.