Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,14 @@ public void ApplyNetworkLan_ReturnsCorrectCommand()
Assert.Equal("SYSTem:COMMunicate:LAN:APPLY", message.Data);
AssertMessageFormat(message);
}

[Fact]
public void SaveNetworkLan_ReturnsCorrectCommand()
{
var message = ScpiMessageProducer.SaveNetworkLan;
Assert.Equal("SYSTem:COMMunicate:LAN:SAVE", message.Data);
AssertMessageFormat(message);
}

[Fact]
public void SetLanFirmwareUpdateMode_ReturnsCorrectCommand()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,14 @@ public static IMessage SetNetworkWifiPassword(string password)
/// Command: SYSTem:COMMunicate:LAN:APPLY
/// </remarks>
public static IMessage ApplyNetworkLan => new ScpiMessage("SYSTem:COMMunicate:LAN:APPLY");

/// <summary>
/// Creates a command message to save the LAN configuration. This will persist settings upon restart
/// </summary>
/// <remarks>
/// Command: SYSTem:COMMunicate:LAN:SAVE
/// </remarks>
public static IMessage SaveNetworkLan => new ScpiMessage("SYSTem:COMMunicate:LAN:SAVE");

/// <summary>
/// Creates a command message to set the LAN firmware update mode.
Expand Down
Loading