Skip to content

Conversation

@MarcOhlf
Copy link
Contributor

@MarcOhlf MarcOhlf commented Sep 2, 2025

It's not ensured that the device name is always at string index 1. To get the correct device name look up the string index (NameIdx) in the general information structure of the SII.
Fall back to generated name if one ore more of these cases are true:

  • no SII general section is provided
  • NameIdx is zero
  • no SII strings section is provided

It's not ensured that the device name is always at string index 1.
To get the correct device name look up the string index (NameIdx) in the
general information structure of the SII.
Fall back to generated name if one ore more of these cases are true:
  * no SII general section is provided
  * NameIdx is zero
  * no SII strings section is provided
@CLAassistant
Copy link

CLAassistant commented Sep 23, 2025

CLA assistant check
All committers have signed the CLA.

@MarcOhlf
Copy link
Contributor Author

MarcOhlf commented Dec 5, 2025

Hello @ArthurKetels @hefloryd @nakarlsson
could you please let me know if this PR addresses the issue, that the devicename is not always at index 1, in the way you prefer?
If not don't hesitate to ask for changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants