public NodeAddress(ShortAddress shortAddress) : this(LongAddress.Broadcast, shortAddress) { }
/// <summary> /// Queries the short network address of this node. /// </summary> /// <param name="address">The short network address</param> /// <returns></returns> public virtual Task SetSourceAddressAsync(ShortAddress address) { return(ExecuteAtCommandAsync(new SourceAddressCommand(address))); }
public NodeAddress(LongAddress longAddress, ShortAddress shortAddress) { LongAddress = longAddress; ShortAddress = shortAddress; }
public NodeAddress(ShortAddress shortAddress) : this(LongAddress.Disabled, shortAddress) { }
public async Task SetNetworkAddress(ShortAddress address) { await SetNetworkAddressAsync(address); }
/// <summary> /// Queries the short network address of this node. /// </summary> /// <param name="address">The short network address</param> /// <returns></returns> public async Task SetNetworkAddressAsync(ShortAddress address) { await ExecuteAtCommandAsync(new SourceAddressCommand(address)); }
/// <summary> /// Queries the short network address of this node. /// </summary> /// <param name="address">The short network address</param> /// <returns></returns> public virtual async Task SetSourceAddressAsync(ShortAddress address) { await ExecuteAtCommandAsync(new SourceAddressCommand(address)); }