/** * Class constructor. Instantiates a new {@code RemoteRaw802Device} object * with the given local {@code Raw802Device} which contains the connection * interface to be used. * * @param localXBeeDevice The local 802.15.4 device that will behave as * connection interface to communicate with this * remote 802.15.4 device. * @param addr16 The 16-bit address to identify this remote 802.15.4 * device. * * @throws ArgumentNullException if {@code localXBeeDevice == null} or * if {@code addr16 == null}. * * @see com.digi.xbee.api.models.XBee16BitAddress */ public RemoteRaw802Device(Raw802Device localXBeeDevice, XBee16BitAddress addr16) : base(localXBeeDevice, XBee64BitAddress.UNKNOWN_ADDRESS) { this.xbee16BitAddress = addr16; }
/** * Class constructor. Instantiates a new {@code RemoteRaw802Device} object * with the given local {@code Raw802Device} which contains the connection * interface to be used. * * @param localXBeeDevice The local 802.15.4 device that will behave as * connection interface to communicate with this * remote 802.15.4 device. * @param addr64 The 64-bit address to identify this remote 802.15.4 device. * * @throws ArgumentException if {@code localXBeeDevice.isRemote() == true}. * @throws ArgumentNullException if {@code localXBeeDevice == null} or * if {@code addr64 == null}. * * @see com.digi.xbee.api.models.XBee64BitAddress */ public RemoteRaw802Device(Raw802Device localXBeeDevice, XBee64BitAddress addr64) : base(localXBeeDevice, addr64) { }