~vcs-imports/nut:nutdrv-modbus

Last commit made on 2019-06-05
Get this branch:
git clone -b nutdrv-modbus https://git.launchpad.net/~vcs-imports/nut

Branch merges

Branch information

Name:
nutdrv-modbus
Repository:
lp:~vcs-imports/nut

Recent commits

f63bc24... by Arnaud Quette

[nutdrv_modbus] fix extraneous spacing

Signed-off-by: Arnaud Quette <email address hidden>

4a9dcca... by Arnaud Quette

Merge branch 'master' into nutdrv-modbus

Signed-off-by: Arnaud Quette <email address hidden>

241848c... by William Chase <email address hidden>

Fix for Ferrups FE7000 "off" command (#692)

"off" command for FE7000 required at least 5 seconds for the command to be accepted.

Also should match the off with autostart or "o" with "a" to be consistent with the manual: https://www.eaton.com/content/dam/eaton/products/backup-power-ups-surge-it-power-distribution/backup-power-ups/eaton-ferrups-tower-ups/eaton-ferrups-FE-QFE-userguide-.pdf (o [time] a is how the manual references the "short" command)

0a76990... by Ross Williams

snmp-ups: add ability to set TimeTicks correctly (#687)

* snmp-ups: add ability to set TimeTicks correctly

Driver had been setting read/write parameters as
either Integer or String, but OIDs that expect
TimeTicks cannot be set using an Integer.

snmp-ups already supported getting TimeTicks
correctly and had helper functions for setting
TimeTicks, but logic had not been implemented in
su_setOID().

* Missing semicolon ;-(

* snmp-ups: use NUT's str_to_long() in su_setOID()

Safer conversion from provided strings to instant
command or read/write value. Omitted default value
if !SU_MODE_INSTCMD because it is not possible for
read/write variable functions to be called without
a value (unlike instant commands).

3674210... by Jim Klimov

[DNMY] Fix snmp templates (#681)

* eaton-pdu-marlin-mib.c : move "outlet.count" query higher

* snmp-ups.c : anticipate lack of OIDs in templates

1e92163... by Jim Klimov

Introduce shell script syntax checks (#675)

* Introduce shell script syntax checks

* Makefile.am : do not shellcheck/spellcheck by default as it can fail for external circumstances (e.g. missing tools)

* Makefile.am : visibly separate the "check-scripts-syntax" implementation (with current system shells) vs "shellcheck" which may get impemented differently (with external tools) in later iterations

* Makefile.am : update the check-scripts-syntax comment (clarify text, fix typo)

* Makefile.am : clarify the check-scripts-syntax vs shellcheck comment

* .travis.yml and ci_build.sh : leave TBDs for future shellcheck tool integration

* ci_build.sh : call both shellcheck and check-scripts-syntax targets; it does not duplicate the work and reports while one calls another for now - and will do two tests when they become independent

ebd9259... by Jim Klimov

configure.ac : fix mismatched usage of have_cxx11 envvar (#689)

159ea07... by Jim Klimov

Problem: isdigit() receives a char* instead of char (#690)

Solution: as a quick fix, pick the first char of the string we pass.
The proper fix would be to use the str_*() API for safe conversions,
in a later iteration.

See-also: https://github.com/networkupstools/nut/issues/676

Signed-off-by: Jim Klimov <email address hidden>

90ae445... by Jean-Baptiste Boric <email address hidden>

Fix nut-scanner SNMPv3 (#680)

Signed-off-by: Jean-Baptiste Boric <email address hidden>

f745a34... by Arnaud Quette <email address hidden>

Refresh firmware information for Eaton/HPE devices

Despite the static nature of these data, firmware can be updated by various
means, and should thus be refreshed by the driver, without needing a driver
restart. A "semi static" approach should be done in the end, as in usbhid-ups,
but is not part of the present development, though commented in the code.
For the time being, simply remove the STATIC flags to refresh the data
(snmp-ups) and allow to refresh product information (netxml-ups)

Signed-off-by: Arnaud Quette <email address hidden>