Skip to content

Conversation

@vvangwenkun
Copy link

What changed

  • Fix GetParam to return the actual parameter value instead of a boolean result.
  • Correct handling of uint16_t parameters (port / ref related).

Why

GetParam was incorrectly treated as a success flag, so the real value was never returned.
While fixing this, incorrect uint16_t usage was also discovered and corrected.

Compatibility

No breaking change.
On success: returns a number.
On failure: returns the Snap7 error code (same as before).

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.

1 participant