Skip to content
Closed
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
9 changes: 3 additions & 6 deletions src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@
[MemberNotNullWhen(true, nameof(skstackAppVersion))]
[MemberNotNullWhen(true, nameof(linkLocalAddress))]
[MemberNotNullWhen(true, nameof(macAddress))]
[MemberNotNullWhen(true, nameof(rohmUserId))]

Check failure on line 81 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on ubuntu-24.04

The name 'rohmUserId' does not exist in the current context

Check failure on line 81 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on ubuntu-24.04

The name 'rohmUserId' does not exist in the current context

Check failure on line 81 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on ubuntu-24.04

The name 'rohmUserId' does not exist in the current context

Check failure on line 81 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on ubuntu-24.04

The name 'rohmUserId' does not exist in the current context

Check failure on line 81 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on ubuntu-26.04

The name 'rohmUserId' does not exist in the current context

Check failure on line 81 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on ubuntu-26.04

The name 'rohmUserId' does not exist in the current context

Check failure on line 81 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on ubuntu-26.04

The name 'rohmUserId' does not exist in the current context

Check failure on line 81 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on ubuntu-26.04

The name 'rohmUserId' does not exist in the current context

Check failure on line 81 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on macos-latest

The name 'rohmUserId' does not exist in the current context

Check failure on line 81 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on macos-latest

The name 'rohmUserId' does not exist in the current context

Check failure on line 81 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on macos-latest

The name 'rohmUserId' does not exist in the current context

Check failure on line 81 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on macos-latest

The name 'rohmUserId' does not exist in the current context

Check failure on line 81 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on ubuntu-22.04

The name 'rohmUserId' does not exist in the current context

Check failure on line 81 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on ubuntu-22.04

The name 'rohmUserId' does not exist in the current context

Check failure on line 81 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on ubuntu-22.04

The name 'rohmUserId' does not exist in the current context

Check failure on line 81 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on ubuntu-22.04

The name 'rohmUserId' does not exist in the current context

Check failure on line 81 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on windows-latest

The name 'rohmUserId' does not exist in the current context

Check failure on line 81 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on windows-latest

The name 'rohmUserId' does not exist in the current context

Check failure on line 81 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on windows-latest

The name 'rohmUserId' does not exist in the current context

Check failure on line 81 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on windows-latest

The name 'rohmUserId' does not exist in the current context
[MemberNotNullWhen(true, nameof(rohmPassword))]

Check failure on line 82 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on ubuntu-24.04

The name 'rohmPassword' does not exist in the current context

Check failure on line 82 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on ubuntu-24.04

The name 'rohmPassword' does not exist in the current context

Check failure on line 82 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on ubuntu-24.04

The name 'rohmPassword' does not exist in the current context

Check failure on line 82 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on ubuntu-24.04

The name 'rohmPassword' does not exist in the current context

Check failure on line 82 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on ubuntu-26.04

The name 'rohmPassword' does not exist in the current context

Check failure on line 82 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on ubuntu-26.04

The name 'rohmPassword' does not exist in the current context

Check failure on line 82 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on ubuntu-26.04

The name 'rohmPassword' does not exist in the current context

Check failure on line 82 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on ubuntu-26.04

The name 'rohmPassword' does not exist in the current context

Check failure on line 82 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on macos-latest

The name 'rohmPassword' does not exist in the current context

Check failure on line 82 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on macos-latest

The name 'rohmPassword' does not exist in the current context

Check failure on line 82 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on macos-latest

The name 'rohmPassword' does not exist in the current context

Check failure on line 82 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on macos-latest

The name 'rohmPassword' does not exist in the current context

Check failure on line 82 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on ubuntu-22.04

The name 'rohmPassword' does not exist in the current context

Check failure on line 82 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on ubuntu-22.04

The name 'rohmPassword' does not exist in the current context

Check failure on line 82 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on ubuntu-22.04

The name 'rohmPassword' does not exist in the current context

Check failure on line 82 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on ubuntu-22.04

The name 'rohmPassword' does not exist in the current context

Check failure on line 82 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on windows-latest

The name 'rohmPassword' does not exist in the current context

Check failure on line 82 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on windows-latest

The name 'rohmPassword' does not exist in the current context

Check failure on line 82 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on windows-latest

The name 'rohmPassword' does not exist in the current context

Check failure on line 82 in src/Smdn.Devices.BP35XX/Smdn.Devices.BP35XX/BP35Base.cs

View workflow job for this annotation

GitHub Actions / Run .NET tests / Test Smdn.Devices.BP35XX on windows-latest

The name 'rohmPassword' does not exist in the current context
#endif
private protected bool IsInitialized { get; private set; }

Expand All @@ -98,11 +98,8 @@
private PhysicalAddress? macAddress;
public PhysicalAddress MacAddress => IsInitialized ? macAddress : throw CreateNotInitializedException();

private string? rohmUserId;
public string RohmUserId => IsInitialized ? rohmUserId : throw CreateNotInitializedException();

private string? rohmPassword;
public string RohmPassword => IsInitialized ? rohmPassword : throw CreateNotInitializedException();
public string RohmUserId { get => IsInitialized ? field : throw CreateNotInitializedException(); private set; }
public string RohmPassword { get => IsInitialized ? field : throw CreateNotInitializedException(); private set; }
#pragma warning restore CS8603

/// <summary>
Expand Down Expand Up @@ -179,7 +176,7 @@
#pragma warning restore CA1873

// parse ROHM user ID and password
(rohmUserId, rohmPassword) = ParseRohmUserIdAndPassword(linkLocalAddress);
(RohmUserId, RohmPassword) = ParseRohmUserIdAndPassword(linkLocalAddress);

// try load configuration from flash memory
if (tryLoadFlashMemory) {
Expand Down
Loading