-
-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New method to automatically detect phoenixcontact_modbus UPS model #2716
New method to automatically detect phoenixcontact_modbus UPS model #2716
Conversation
…ion and managed in switch statemets Signed-off-by: RikyPlaza <[email protected]>
Signed-off-by: RikyPlaza <[email protected]>
…c to establish UPS model. Signed-off-by: RikyPlaza <[email protected]>
…essage when it's not recognized. Signed-off-by: RikyPlaza <[email protected]>
Signed-off-by: RikyPlaza <[email protected]>
… and QUINT4 UPS models. Signed-off-by: RikyPlaza <[email protected]>
…or QUINT4 UPS. Signed-off-by: RikyPlaza <[email protected]>
…updated version. Signed-off-by: RikyPlaza <[email protected]>
Signed-off-by: RikyPlaza <[email protected]>
Signed-off-by: RikyPlaza <[email protected]>
Signed-off-by: RikyPlaza <[email protected]>
Signed-off-by: RikyPlaza <[email protected]>
Signed-off-by: RikyPlaza <[email protected]>
No idea on this error, the CodeQL is failing with the following error:
The ci-nut-org build is failing with:
|
Signed-off-by: RikyPlaza <[email protected]>
Signed-off-by: RikyPlaza <[email protected]>
This comment was marked as outdated.
This comment was marked as outdated.
… recent author [networkupstools#2716] Signed-off-by: Jim Klimov <[email protected]>
…ions [networkupstools#2716] Signed-off-by: Jim Klimov <[email protected]>
…ata types [networkupstools#2716] Signed-off-by: Jim Klimov <[email protected]>
] Signed-off-by: Jim Klimov <[email protected]>
…2716] Signed-off-by: Jim Klimov <[email protected]>
@RikyPlaza : Cheers, I've updated this PR with a few typo fixes. Hopefully can merge after CI is done with it. |
✅ Build nut 2.8.2.2526-master completed (commit 124accff17 by @jimklimov) |
Signed-off-by: RikyPlaza <[email protected]>
@jimklimov Hi, thanks for the tips. Just a quick question: was the issue related to different machine-architecture of the CodeQL and CI builds? As i was telling i'm not a very C/C++ developer but i guess the issue was related to the fact that format specifiers "%ld" - "%lld" are not expecting same bit-long variables on the two builds. Regards |
Yes, there are many different int-like types that are macro'ed/typedef'ed as size_t on different platforms, and then different format string tokens to name them (e.g. |
Implemented a new method to detect the UPS model connected since firmware version register is not consistent.
2 fixes of probelms mentioned in #2710.