/// <summary> /// Class constructor. Instantiates a new <see cref="RemoteRaw802Device"/> object with the given /// local <see cref="RemoteRaw802Device"/> which contains the connection interface to be used. /// </summary> /// <param name="localXBeeDevice">The local 802.15.4 device that will behave as connection /// interface to communicate with this remote 802.15.4 device.</param> /// <param name="addr16">The 16-bit address to identify this remote 802.15.4 device.</param> /// <exception cref="ArgumentException">If <paramref name="localXBeeDevice"/> is remote /// or if <c><paramref name="localXBeeDevice"/> != <see cref="XBeeProtocol.RAW_802_15_4"/></c>.</exception> /// <exception cref="ArgumentNullException">If <c><paramref name="localXBeeDevice"/> == null</c> /// or if <c><paramref name="addr16"/> == null</c>.</exception> /// <seealso cref="XBeeDevice"/> /// <seealso cref="XBee16BitAddress"/> public RemoteRaw802Device(Raw802Device localXBeeDevice, XBee16BitAddress addr16) : base(localXBeeDevice, XBee64BitAddress.UNKNOWN_ADDRESS) { XBee16BitAddr = addr16; }
/// <summary> /// Initializes a new instance of <see cref="Raw802Network"/> to represents a 802.15.4 network. /// </summary> /// <param name="device">A local 802.15.4 device to get the network from.</param> /// <exception cref="ArgumentNullException">if <paramref name="device"/> is <c>null</c>.</exception> /// <seealso cref="Raw802Device"/> /// <seealso cref="XBeeNetwork(AbstractXBeeDevice)"/> internal Raw802Network(Raw802Device device) : base(device) { }
/// <summary> /// Class constructor. Instantiates a new <see cref="RemoteRaw802Device"/> object with the given /// local <see cref="Raw802Device"/> which contains the connection interface to be used. /// </summary> /// <param name="localXBeeDevice">The local 802.15.4 device that will behave as connection /// interface to communicate with this remote 802.15.4 device.</param> /// <param name="addr64">The 64-bit address to identify this remote 802.15.4 device.</param> /// <exception cref="ArgumentException">If <paramref name="localXBeeDevice"/> is remote.</exception> /// <exception cref="ArgumentNullException">If <c><paramref name="localXBeeDevice"/> == null</c> /// or if <c><paramref name="addr64"/> == null</c>.</exception> /// <seealso cref="Raw802Device"/> /// <seealso cref="XBee64BitAddress"/> public RemoteRaw802Device(Raw802Device localXBeeDevice, XBee64BitAddress addr64) : base(localXBeeDevice, addr64) { }